lkml.org 
[lkml]   [2007]   [May]   [16]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
From
SubjectRe: 2.6.22-rc1-mm1 [cannot change thermal trip points]
In 2.6.20.9 I can change trippoints:

echo "105:100:100:78:70:40:30" > /proc/acpi/thermal_zone/TZ0/trip_points
echo 10 > /proc/acpi/thermal_zone/TZ0/polling_frequency

Then I got:
cat /proc/acpi/thermal_zone/TZ0/*
<setting not supported>
cooling mode: active
polling frequency: 10 seconds
state: active[2]
temperature: 45 C
critical (S5): 105 C
active[0]: 78 C: devices=0xdf415a40
active[1]: 70 C: devices=0xdf4159dc
active[2]: 40 C: devices=0xdf41598c
active[3]: 30 C: devices=0xdf41593c

cat /proc/acpi/fan/*/*
status: off
status: off
status: on
status: on

And fan turns on.

In 2.6.22-rc1-mm1:
echo "105:100:100:78:70:40:30" > /proc/acpi/thermal_zone/TZ0/trip_points
bash: echo: write error: Błąd wejścia/wyjścia (input/output error)

rutek:/home/maciek# cat /proc/acpi/thermal_zone/TZ0/*
<setting not supported>
polling frequency: 10 seconds
state: ok
temperature: 45 C
critical (S5): 256 C
active[0]: 78 C: devices=0xc1827a40
active[1]: 70 C: devices=0xc18279dc
active[2]: 60 C: devices=0xc182798c
active[3]: 50 C: devices=0xc182793c
rutek:/home/maciek# cat /proc/acpi/fan/*/*
status: off
status: off
status: off
status: off

Fan turns on when temperature is over 50*C. (want: 30)

A read this:
http://article.gmane.org/gmane.linux.acpi.devel/22750

But I don't have colling_policy, but only colling_mode:
ls /proc/acpi/thermal_zone/TZ0/
cooling_mode polling_frequency state temperature trip_points

Its bug or feature?

Config, acpidump, dmesg:
http://www.unixy.pl/maciek/download/kernel/2.6.22-rc1-mm1/

--
Maciej Rutecki
www.unixy.pl
Kernel Monkeys
(http://kernel.wikidot.com/)


[unhandled content-type:application/x-pkcs7-signature]
\
 
 \ /
  Last update: 2007-05-16 19:41    [W:0.328 / U:0.516 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site