Bug 8496

Summary: Cannot change thermal trip points
Product: ACPI Reporter: Maciej Rutecki (maciej.rutecki)
Component: Power-ThermalAssignee: Len Brown (lenb)
Status: REJECTED DUPLICATE    
Severity: normal CC: acpi-bugzilla
Priority: P2    
Hardware: i386   
OS: Linux   
Kernel Version: 2.6.22-rc1-mm1 Subsystem:
Regression: --- Bisected commit-id:
Attachments: acpidump
config-2.6.22-rc1-mm1
dmesg

Description Maciej Rutecki 2007-05-17 13:28:42 UTC
In 2.6.20.9 I can change trippoints (example):
 
 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&#313;&#130;
Comment 1 Maciej Rutecki 2007-05-17 13:32:48 UTC
Created attachment 11529 [details]
acpidump
Comment 2 Maciej Rutecki 2007-05-17 13:35:23 UTC
Created attachment 11530 [details]
config-2.6.22-rc1-mm1
Comment 3 Maciej Rutecki 2007-05-17 13:37:45 UTC
Created attachment 11531 [details]
dmesg
Comment 4 Maciej Rutecki 2007-05-17 13:57:43 UTC
*** Bug 8495 has been marked as a duplicate of this bug. ***
Comment 5 Dave Jones 2007-05-17 13:59:39 UTC

*** This bug has been marked as a duplicate of 8495 ***
Comment 6 Len Brown 2007-05-17 15:03:43 UTC
original:
 active[2]:               60 C: devices=0xc182798c
 active[3]:               50 C: devices=0xc182793c

modified:
 active[2]:               40 C: devices=0xdf41598c
 active[3]:               30 C: devices=0xdf41593c

So at 45C, you want your fan to be running at 2nd speed rather
than off as the OEM designed the platform?

You enable polling mode as a workaround for the fact
that the first trip point is not actually going to fire until 50*C?

What happens if you purposely heat up the system
past the actual 50*C trip point?
Do you find that your manual trip-points
are still intact, or does the contents of trip_points change?

Can you turn on the fan this way?
echo 0 > /proc/acpi/fan/.../state
where "..." corresponds to the file for the lowest speed,
and when that is on, you can then try the file corresponding
to the 2nd speed.
Comment 7 Len Brown 2007-05-17 15:08:54 UTC

*** This bug has been marked as a duplicate of 8495 ***