[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [STUMP] /proc/acpi/thermal_zone/ has gone in Linux kernel 2.6.37
From: |
Desmond O. Chang |
Subject: |
Re: [STUMP] /proc/acpi/thermal_zone/ has gone in Linux kernel 2.6.37 |
Date: |
Fri, 11 Mar 2011 22:27:01 +0800 |
Hi Vitaly,
On Mon, Feb 14, 2011 at 03:11, Vitaly Mayatskikh <address@hidden> wrote:
> Hi!
>
> After upgrade of my Archlinux to kernel 2.6.37 I noticed that
> /proc/acpi/thermal_zone/ is no longer exist. This patch hopefully
> fixes it, but I don't have old kernel with /proc/acpi/thermal_zone/
> enabled. StumpWM fellows, who still have this directory, please, test
> the patch.
Your patch doesn't work in clisp on my laptop.
In SBCL, *ACPI-THERMAL-ZONE* is
(:SYSFS . #P"/sys/devices/virtual/thermal/thermal_zone4/temp")
It's ok.
But in clisp, *ACPI-THERMAL-ZONE* is
(:SYSFS . #P"/sys/devices/virtual/thermal/cooling_device0/temp")
This file doesn't exist.
Here is the filelist in /sys/class/thermal:
/sys/class/thermal:
total 0
lrwxrwxrwx 1 root root 0 Mar 6 21:57 cooling_device0 ->
../../devices/virtual/thermal/cooling_device0
lrwxrwxrwx 1 root root 0 Mar 6 21:57 cooling_device1 ->
../../devices/virtual/thermal/cooling_device1
lrwxrwxrwx 1 root root 0 Mar 6 21:57 cooling_device2 ->
../../devices/virtual/thermal/cooling_device2
lrwxrwxrwx 1 root root 0 Mar 6 21:57 cooling_device3 ->
../../devices/virtual/thermal/cooling_device3
lrwxrwxrwx 1 root root 0 Mar 6 21:57 cooling_device4 ->
../../devices/virtual/thermal/cooling_device4
lrwxrwxrwx 1 root root 0 Mar 6 21:57 cooling_device5 ->
../../devices/virtual/thermal/cooling_device5
lrwxrwxrwx 1 root root 0 Mar 6 21:57 cooling_device6 ->
../../devices/virtual/thermal/cooling_device6
lrwxrwxrwx 1 root root 0 Mar 6 21:57 thermal_zone0 ->
../../devices/virtual/thermal/thermal_zone0
lrwxrwxrwx 1 root root 0 Mar 6 21:57 thermal_zone1 ->
../../devices/virtual/thermal/thermal_zone1
lrwxrwxrwx 1 root root 0 Mar 6 21:57 thermal_zone2 ->
../../devices/virtual/thermal/thermal_zone2
lrwxrwxrwx 1 root root 0 Mar 6 21:57 thermal_zone3 ->
../../devices/virtual/thermal/thermal_zone3
lrwxrwxrwx 1 root root 0 Mar 6 21:57 thermal_zone4 ->
../../devices/virtual/thermal/thermal_zone4
Thanks,
Des
- Re: [STUMP] /proc/acpi/thermal_zone/ has gone in Linux kernel 2.6.37,
Desmond O. Chang <=