Kernel Fans
Stefan Bader
stefan.bader at canonical.com
Thu Mar 3 19:15:02 UTC 2011
On 03/03/2011 08:05 PM, Sean McNamara wrote:
> Hi,
>
> On Thu, Mar 3, 2011 at 1:40 PM, Brian Murray <brian at ubuntu.com> wrote:
>> Hopefully that subject got some readers! The DebuggingACPI page makes
>> reference to:
>>
>> /proc/acpi/fan
>> /proc/acpi/thermal_zone/*/trip_points
>
> No such file or directory on a ThinkPad X61T running latest natty.
>
It could be that /proc/acpi got deprecated. But it also depends whether there
actually _is_ information reported through acpi at all. Sometimes you need to
install the lm-sensors package and run sensors-detect and then later sensors.
Sometimes there is nothing exported at all.
> However, look at /proc/acpi/ibm/fan and /proc/acpi/ibm/thermal ! Could
> be the same thing renamed?
>
Anything under /proc/acpi/ibm was stuff put there by the thinkpad-acpi driver.
Similar things, different layout. Fan for fanspeed and optionally control and
thermal with temperature readings. Though not the trip points afair.
> Though not quite, because 'thermal' is one file, and thermal_zone is a
> whole directory structure.
>
> Searched patchwork for the relevant patches, and here are some maybes:
>
> https://patchwork.kernel.org/patch/467411/ -- Getting warm...
>
> http://cateee.net/lkddb/web-lkddb/ACPI_PROCFS.html (shows
> CONFIG_ACPI_PROCFS as deprecated)
>
> Natty kernel has CONFIG_ACPI_PROCFS and CONFIG_ACPI_PROCFS_POWER set to "y"
>
> https://patchwork.kernel.org/patch/240641/ seems to be the actual
> patch that removed the /proc/acpi/fan interface
>
> https://patchwork.kernel.org/patch/224912/ seems to be the actual
> patch that removed the /proc/acpi/thermal_zone interface.
>
> IMHO (disclaimer: I'm not on the kernel team), I think anything in
> Natty userspace should rely on the new /sys based interfaces for this
> stuff, knowing that we are shipping 2.6.38.
>
> /sys/class/thermal/thermal_zoneX/
> /sys/class/thermal/cooling_devicecX/
>
> HTH,
>
> Sean
>
>>
>> Is that correct for Natty? I don't have anything on my Thinkpad running
>> Natty but do on an HP running Maverick.
>>
>> --
>> Brian Murray
>> Ubuntu Bug Master
>>
>> -----BEGIN PGP SIGNATURE-----
>> Version: GnuPG v1.4.10 (GNU/Linux)
>>
>> iEYEARECAAYFAk1v4IsACgkQDTAwc5ER+zWyDQCg3e0074uKfHtoSMq3BSULqZLM
>> b5cAn3TPggb56Dl1ZxL9H61W7e+FZaEn
>> =VHNJ
>> -----END PGP SIGNATURE-----
>>
>> --
>> kernel-team mailing list
>> kernel-team at lists.ubuntu.com
>> https://lists.ubuntu.com/mailman/listinfo/kernel-team
>>
>>
>
More information about the kernel-team
mailing list