Hi!

On Fri, Jun 13, 2008 at 6:59 AM, Michael Meskes <[EMAIL PROTECTED]> wrote:
> Could you please run "acpi -pV" instead, so acpi also uses the /proc
> interface? Also what happens if you run "acpi -V" together a cat on the
> corresponding /sys file?

With acpi -V:
$ acpi -V
     Battery 0: Full, 100%
  AC Adapter 0: on-line
     Thermal 0: ok, 39.5 degrees C
     Cooling 0: Processor 0 of 10
     Cooling 1: Processor 0 of 10

With acpi -pV it works:
$ acpi -pV
     Battery 0: charged, 100%, rate information unavailable.
  AC Adapter 0: on-line
     Thermal 0: ok, 65.0 degrees C

Back to -V (so even with the new version it's only updating after
reading /proc/acpi/thermal_zone/THM/temperature):
$ acpi -V
     Battery 0: Full, 100%
  AC Adapter 0: on-line
     Thermal 0: ok, 64.5 degrees C
     Cooling 0: Processor 0 of 10
     Cooling 1: Processor 0 of 10

$ cat /sys/class/thermal/thermal_zone0/temp
64500

After cooling:
$ acpi -V; echo '-----'; cat /sys/class/thermal/thermal_zone0/temp;
echo '-----'; acpi -V; echo '-----'; acpi -pV; echo '-----'; cat
/sys/class/thermal/thermal_zone0/temp
     Battery 0: Full, 100%
  AC Adapter 0: on-line
     Thermal 0: ok, 64.5 degrees C
     Cooling 0: Processor 0 of 10
     Cooling 1: Processor 0 of 10
-----
64500
-----
     Battery 0: Full, 100%
  AC Adapter 0: on-line
     Thermal 0: ok, 64.5 degrees C
     Cooling 0: Processor 0 of 10
     Cooling 1: Processor 0 of 10
-----
     Battery 0: charged, 100%, rate information unavailable.
  AC Adapter 0: on-line
     Thermal 0: ok, 41.0 degrees C
-----
40500

So /sys/class/thermal/thermal_zone0/temp is only updated if I read
/proc/acpi/thermal_zone/THM/temperature

Some kind of kernel bug?

Thank you!

Best regards,
Nelson



-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]

Reply via email to