Maciej Rutecki wrote:
> 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?
> 

Committed to mainline May 10:

Gitweb:     
http://git.kernel.org/git/?p=linux/kernel/git/torvalds/linux-2.6.git;a=commit;h=11ccc0f249cb01a129f54760b8ff087f242935d4
Commit:     11ccc0f249cb01a129f54760b8ff087f242935d4
Parent:     de46c33745f5e2ad594c72f2cf5f490861b16ce1
Author:     Len Brown <[EMAIL PROTECTED]>
AuthorDate: Mon Apr 30 22:36:01 2007 -0400
Committer:  Len Brown <[EMAIL PROTECTED]>
CommitDate: Mon Apr 30 22:36:01 2007 -0400

    ACPI: thermal trip points are read-only
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to [EMAIL PROTECTED]
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Please read the FAQ at  http://www.tux.org/lkml/

Reply via email to