Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > linux.kernel > #1515657

Re: v4.8-rc1: thinkpad x60: running at low frequency even during kernel build

From Henrique de Moraes Holschuh <hmh@hmh.eng.br>
Newsgroups linux.kernel
Subject Re: v4.8-rc1: thinkpad x60: running at low frequency even during kernel build
Date 2016-11-06 04:50 +0100
Message-ID <sAmD0-8Y-9@gated-at.bofh.it> (permalink)
References (3 earlier) <szTAZ-6Ct-13@gated-at.bofh.it> <szU42-71A-57@gated-at.bofh.it> <sA4PL-5CQ-3@gated-at.bofh.it> <sAdgm-2qi-15@gated-at.bofh.it> <sAeYN-3yw-5@gated-at.bofh.it>
Organization linux.* mail to news gateway

Show all headers | View raw


On Sat, 05 Nov 2016, Pavel Machek wrote:
> On Sat 2016-11-05 15:46:12, Henrique de Moraes Holschuh wrote:
> > On Sat, 05 Nov 2016, Pavel Machek wrote:
> > > Hmm, thanks for the pointer. But it seems like I'll have to build my
> > > own, as /proc/acpi/ibm does not follow the usual infrastructure...
> > 
> > /proc/acpi/ibm has been deprecated for years.  99% of the functionality
> > is available through more modern, standard interfaces.
> 
> Right, I see sensors can do it these days. Would it be good to expose
> them as /sys/class/thermal/thermal_zone*, too?

I don't like the idea of touching vendor-screwup-land like thermal
zones, especially when thinkpads *already* have thermal zones and they
must come from the very same sensors...

This would need a lot of careful studying and planning.

> Is it known what various fields in /proc/acpi/ibm/thermal measure?

It varies with each model.  You can map it out with better precision by
using a cold spray while doing an "open-heart" surgery on the thinkpad.
I kid you not, that's how they were mapped for some models.

Look for information about this in thinkwiki:
http://www.thinkwiki.org/wiki/Thermal_Sensors#ThinkPad_X60

The battery-pack-related sensor that is stuck at 50°C is something the
Lenovo Yamato labs guys wouldn't be clear about.  They told me to look
at what the Windows drivers do, but that would require (1) Windows in
the first place, and (2) clean room reverse engineering protocols.

> Basically... 100C is okay for semiconductors, but I'd prefer not to
> kill the hard drive....

Well, that first sensor getting to 100°C is your CPU for sure.

> > thinkpad-acpi is supposed to export standard hwmon temperature sensors
> > as well.  Try them instead, please.
> 
> Heh, I just finished python to work with /proc/acpi/ibm. Oh well.

Hey, I *did* properly document that driver, and the documentation is
even mostly up-to-date...  Please refer to
Documentation/laptops/thinkpad-acpi.txt in the kernel tree.

-- 
  Henrique Holschuh

Back to linux.kernel | Previous | NextPrevious in thread | Next in thread | Find similar | Unroll thread


Thread

v4.8-rc1: thinkpad x60: running at low frequency even during kernel  build Pavel Machek <pavel@ucw.cz> - 2016-11-04 09:40 +0100
  Re: v4.8-rc1: thinkpad x60: running at low frequency even during  kernel build Pavel Machek <pavel@ucw.cz> - 2016-11-04 10:00 +0100
    Re: v4.8-rc1: thinkpad x60: running at low frequency even during  kernel build Viresh Kumar <viresh.kumar@linaro.org> - 2016-11-04 10:20 +0100
      Re: v4.8-rc1: thinkpad x60: running at low frequency even during  kernel build Pavel Machek <pavel@ucw.cz> - 2016-11-04 10:30 +0100
        Re: v4.8-rc1: thinkpad x60: running at low frequency even during  kernel build Viresh Kumar <viresh.kumar@linaro.org> - 2016-11-04 10:40 +0100
          Re: v4.8-rc1: thinkpad x60: running at low frequency even during  kernel build Henrique de Moraes Holschuh <hmh@hmh.eng.br> - 2016-11-05 19:30 +0100
            Thinkpad power management (was Re: v4.8-rc1: thinkpad x60: running  at low frequency even during kernel build) Pavel Machek <pavel@ucw.cz> - 2016-11-05 20:30 +0100
    Re: v4.8-rc1: thinkpad x60: running at low frequency even during  kernel build "Pandruvada, Srinivas" <srinivas.pandruvada@intel.com> - 2016-11-04 15:10 +0100
      Re: v4.8-rc1: thinkpad x60: running at low frequency even during  kernel build Pavel Machek <pavel@ucw.cz> - 2016-11-04 21:50 +0100
        Re: v4.8-rc1: thinkpad x60: running at low frequency even during  kernel build "Pandruvada, Srinivas" <srinivas.pandruvada@intel.com> - 2016-11-04 22:20 +0100
          Re: v4.8-rc1: thinkpad x60: running at low frequency even during  kernel build Pavel Machek <pavel@ucw.cz> - 2016-11-05 09:50 +0100
            Re: v4.8-rc1: thinkpad x60: running at low frequency even during  kernel build Henrique de Moraes Holschuh <hmh@hmh.eng.br> - 2016-11-05 18:50 +0100
              Re: v4.8-rc1: thinkpad x60: running at low frequency even during  kernel build Pavel Machek <pavel@ucw.cz> - 2016-11-05 20:40 +0100
                Re: v4.8-rc1: thinkpad x60: running at low frequency even during  kernel build Henrique de Moraes Holschuh <hmh@hmh.eng.br> - 2016-11-06 04:50 +0100
        Re: v4.8-rc1: thinkpad x60: running at low frequency even during  kernel build Pavel Machek <pavel@ucw.cz> - 2016-11-04 23:20 +0100
          Re: v4.8-rc1: thinkpad x60: running at low frequency even during  kernel build "Pandruvada, Srinivas" <srinivas.pandruvada@intel.com> - 2016-11-05 00:30 +0100
            Re: v4.8-rc1: thinkpad x60: running at low frequency even during  kernel build Pavel Machek <pavel@ucw.cz> - 2016-11-05 14:30 +0100
              Re: v4.8-rc1: thinkpad x60: running at low frequency even during  kernel build "Pandruvada, Srinivas" <srinivas.pandruvada@intel.com> - 2016-11-05 14:40 +0100
                Re: v4.8-rc1: thinkpad x60: running at low frequency even during  kernel build Pavel Machek <pavel@ucw.cz> - 2016-11-05 15:00 +0100
                Re: v4.8-rc1: thinkpad x60: running at low frequency even during  kernel build Pavel Machek <pavel@ucw.cz> - 2016-11-05 15:10 +0100
                Re: v4.8-rc1: thinkpad x60: running at low frequency even during  kernel build "Pandruvada, Srinivas" <srinivas.pandruvada@intel.com> - 2016-11-05 15:20 +0100
                Re: v4.8-rc1: thinkpad x60: running at low frequency even during  kernel build Pavel Machek <pavel@ucw.cz> - 2016-11-05 16:40 +0100
            Re: v4.8-rc1: thinkpad x60: running at low frequency even during  kernel build "Pandruvada, Srinivas" <srinivas.pandruvada@intel.com> - 2016-11-05 15:00 +0100
              Re: v4.8-rc1: thinkpad x60: running at low frequency even during  kernel build Pavel Machek <pavel@ucw.cz> - 2016-11-05 21:40 +0100
              thinkpad x60, T40p: overheat with v4.9-rc4 (was Re: v4.8-rc1:  thinkpad x60: running at low frequency even during kernel build) Pavel Machek <pavel@ucw.cz> - 2016-11-09 12:40 +0100
            Re: v4.8-rc1: thinkpad x60: running at low frequency even during  kernel build Henrique de Moraes Holschuh <hmh@hmh.eng.br> - 2016-11-05 19:10 +0100
              Re: v4.8-rc1: thinkpad x60: running at low frequency even during  kernel build Pavel Machek <pavel@ucw.cz> - 2016-11-05 21:00 +0100
          Re: v4.8-rc1: thinkpad x60: running at low frequency even during  kernel build Zhang Rui <rui.zhang@intel.com> - 2016-11-05 12:30 +0100
            Re: v4.8-rc1: thinkpad x60: running at low frequency even during  kernel build Pavel Machek <pavel@ucw.cz> - 2016-11-05 14:20 +0100
          Re: v4.8-rc1: thinkpad x60: running at low frequency even during  kernel build Pavel Machek <pavel@ucw.cz> - 2016-11-05 13:30 +0100

csiph-web