[RFC] Patch to enable temperature ceiling in powerd
Hajimu UMEMOTO
ume at freebsd.org
Tue Feb 19 18:32:32 UTC 2008
Hi,
>>>>> On Tue, 19 Feb 2008 00:19:36 +0100
>>>>> Johannes Dieterich <dieterich.joh at googlemail.com> said:
dieterich.joh> # sysctl hw.acpi.thermal.tz1
dieterich.joh> hw.acpi.thermal.tz1.temperature: 66.0C
dieterich.joh> hw.acpi.thermal.tz1.active: -1
dieterich.joh> hw.acpi.thermal.tz1.passive_cooling: 0
dieterich.joh> hw.acpi.thermal.tz1.thermal_flags: 0
dieterich.joh> hw.acpi.thermal.tz1._PSV: 92.5C
dieterich.joh> hw.acpi.thermal.tz1._HOT: -1
dieterich.joh> hw.acpi.thermal.tz1._CRT: 97.0C
dieterich.joh> hw.acpi.thermal.tz1._ACx: -1 -1 -1 -1 -1 -1 -1 -1 -1 -1
dieterich.joh> hw.acpi.thermal.tz1._TC1: 5
dieterich.joh> hw.acpi.thermal.tz1._TC2: 4
dieterich.joh> hw.acpi.thermal.tz1._TSP: 600
dieterich.joh> is the wanted output without Sunny's patch compiled in.
Thank you. It seems good to me. I've tried following setting on my
laptop, and it's working well:
sysctl hw.acpi.verbose=1
sysctl hw.acpi.thermal.user_override=1
sysctl hw.acpi.thermal.tz0._TC1=5
sysctl hw.acpi.thermal.tz0._TC2=4
sysctl hw.acpi.thermal.tz0._TSP=600
The following was logged into /var/log/messages:
Feb 19 11:08:26 kasuga kernel: acpi_tz0: temperature 85.8C: decreasing clock speed from 1200 MHz to 1000 MHz
Feb 19 11:09:26 kasuga kernel: acpi_tz0: temperature 82.8C: resuming previous clock speed (1200 MHz)
Feb 19 11:10:26 kasuga kernel: acpi_tz0: temperature 86.8C: decreasing clock speed from 1200 MHz to 900 MHz
Feb 19 11:11:26 kasuga kernel: acpi_tz0: temperature 79.8C: resuming previous clock speed (1200 MHz)
So, I think the value of _TC1, _TC2 and _TSP is valid.
Still, I'm not sure why the above message is not logged on your
laptop. But, it would be worth to try increasing _TC2 and/or
decreasing _TSP.
Sincerely,
--
Hajimu UMEMOTO @ Internet Mutual Aid Society Yokohama, Japan
ume at mahoroba.org ume@{,jp.}FreeBSD.org
http://www.imasy.org/~ume/
More information about the freebsd-acpi
mailing list