http://bugzilla.kernel.org/show_bug.cgi?id=8495





------- Additional Comments From [EMAIL PROTECTED]  2007-05-19 10:37 -------
kernel 2.6.21, config, dmesg:
http://www.unixy.pl/maciek/download/kernel/2.6.21/


daemon acpid disabled[1], defaults trip points

-----
scenario: CPU: idle

rutek:/home/maciek/kernel.org/2.6.21# cat //proc/acpi/thermal_zone/TZ0/*
<setting not supported>
cooling mode:   active
<polling disabled>
state:                   ok
temperature:             45 C
critical (S5):           256 C
active[0]:               78 C: devices=0xdf790a40
active[1]:               70 C: devices=0xdf7909dc
active[2]:               60 C: devices=0xdf79098c
active[3]:               50 C: devices=0xdf79093c

rutek:/home/maciek/kernel.org/2.6.21# cat //proc/acpi/fan/*/state
status:                  off
status:                  off
status:                  off
status:                  off

-----
scenario: run command: "openssl speed"

rutek:/home/maciek/kernel.org/2.6.21# cat //proc/acpi/thermal_zone/TZ0/*
<setting not supported>
cooling mode:   active
<polling disabled>
state:                   active[3]
temperature:             50 C
critical (S5):           256 C
active[0]:               78 C: devices=0xdf790a40
active[1]:               70 C: devices=0xdf7909dc
active[2]:               60 C: devices=0xdf79098c
active[3]:               45 C: devices=0xdf79093c

rutek:/home/maciek/kernel.org/2.6.21# cat //proc/acpi/fan/*/state
status:                  off
status:                  off
status:                  off
status:                  on

-> NOTE: active[3] change from 50*C to 45*C

rutek:/home/maciek# cat /proc/acpi/event
thermal_zone TZ0 00000081 00000000
thermal_zone TZ0 00000081 00000000

-----
scenario: run command "openssl speed" longer

rutek:/home/maciek/kernel.org/2.6.21# cat //proc/acpi/thermal_zone/TZ0/*
<setting not supported>
cooling mode:   active
<polling disabled>
state:                   active[2]
temperature:             60 C
critical (S5):           256 C
active[0]:               78 C: devices=0xdf790a40
active[1]:               70 C: devices=0xdf7909dc
active[2]:               55 C: devices=0xdf79098c
active[3]:               45 C: devices=0xdf79093c

rutek:/home/maciek/kernel.org/2.6.21# cat //proc/acpi/fan/*/state
status:                  off
status:                  off
status:                  on
status:                  on

->Note: active[3] change from 50 to 45
active[2] from 60 to 55

rutek:/home/maciek# cat /proc/acpi/event
thermal_zone TZ0 00000081 00000000
thermal_zone TZ0 00000081 00000000
thermal_zone TZ0 00000081 00000000

-----
Scenario: return to CPU idle:
rutek:/home/maciek/kernel.org/2.6.21# cat //proc/acpi/thermal_zone/TZ0/*
<setting not supported>
cooling mode:   active
<polling disabled>
state:                   ok
temperature:             45 C
critical (S5):           256 C
active[0]:               78 C: devices=0xdf790a40
active[1]:               70 C: devices=0xdf7909dc
active[2]:               60 C: devices=0xdf79098c
active[3]:               50 C: devices=0xdf79093c

rutek:/home/maciek/kernel.org/2.6.21# cat //proc/acpi/fan/*/state
status:                  off
status:                  off
status:                  off
status:                  off

===========================
Comments:
[1] When acpid is enabled and I change trip points, any events from
/proc/acpi/events change trip points to defaults (depends on actual temperature
- like above). So I must add this files:

file: /etc/acpi/events/thermal_zone
#called when acpid receives thermal_zone event
event=thermal_zone
action=/etc/acpi/thermal_zone.sh

-----
file: /etc/acpi/thermal_zone.sh
#!/bin/sh
echo "105:100:100:78:70:60:50" > /proc/acpi/thermal_zone/TZ0/trip_points
echo 10  > /proc/acpi/thermal_zone/TZ0/polling_frequency

Scenario: run acpid and "openssl speed":

rutek:/home/maciek/kernel.org/2.6.21# cat //proc/acpi/thermal_zone/TZ0/*
<setting not supported>
cooling mode:   active
polling frequency:       10 seconds
state:                   active[3]
temperature:             50 C
critical (S5):           105 C
active[0]:               78 C: devices=0xdf790a40
active[1]:               70 C: devices=0xdf7909dc
active[2]:               60 C: devices=0xdf79098c
active[3]:               50 C: devices=0xdf79093c

rutek:/home/maciek/kernel.org/2.6.21# cat //proc/acpi/fan/*/state
status:                  off
status:                  off
status:                  off
status:                  on


------- You are receiving this mail because: -------
You are on the CC list for the bug, or are watching someone who is.

-------------------------------------------------------------------------
This SF.net email is sponsored by DB2 Express
Download DB2 Express C - the FREE version of DB2 express and take
control of your XML. No limits. Just data. Click to get it now.
http://sourceforge.net/powerbar/db2/
_______________________________________________
acpi-bugzilla mailing list
acpi-bugzilla@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/acpi-bugzilla

Reply via email to