Kernel Fans

Sean McNamara smcnam at gmail.com
Thu Mar 3 19:05:22 UTC 2011


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.

However, look at /proc/acpi/ibm/fan and /proc/acpi/ibm/thermal ! Could
be the same thing renamed?

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