[RFC] Patch to enable temperature ceiling in powerd
Hajimu UMEMOTO
ume at freebsd.org
Sat Feb 16 15:49:08 UTC 2008
Hi,
>>>>> On Sat, 16 Feb 2008 12:47:32 +0100
>>>>> Johannes Dieterich <dieterich.joh at googlemail.com> said:
dieterich.joh> # sysctl hw.acpi
dieterich.joh> hw.acpi.supported_sleep_state: S3 S4 S5
dieterich.joh> hw.acpi.power_button_state: S5
dieterich.joh> hw.acpi.sleep_button_state: S3
dieterich.joh> hw.acpi.lid_switch_state: NONE
dieterich.joh> hw.acpi.standby_state: S1
dieterich.joh> hw.acpi.suspend_state: S3
dieterich.joh> hw.acpi.sleep_delay: 1
dieterich.joh> hw.acpi.s4bios: 0
dieterich.joh> hw.acpi.verbose: 0
dieterich.joh> hw.acpi.disable_on_reboot: 0
dieterich.joh> hw.acpi.handle_reboot: 0
dieterich.joh> hw.acpi.reset_video: 0
dieterich.joh> hw.acpi.cpu.cx_lowest: C2
dieterich.joh> hw.acpi.thermal.min_runtime: 0
dieterich.joh> hw.acpi.thermal.polling_rate: 10
dieterich.joh> hw.acpi.thermal.user_override: 0
dieterich.joh> hw.acpi.thermal.tz0.temperature: 62.0C
dieterich.joh> hw.acpi.thermal.tz0.active: -1
dieterich.joh> hw.acpi.thermal.tz0.passive_cooling: 0
dieterich.joh> hw.acpi.thermal.tz0.thermal_flags: 0
dieterich.joh> hw.acpi.thermal.tz0._PSV: -1
dieterich.joh> hw.acpi.thermal.tz0._HOT: -1
dieterich.joh> hw.acpi.thermal.tz0._CRT: 127.0C
dieterich.joh> hw.acpi.thermal.tz0._ACx: -1 -1 -1 -1 -1 -1 -1 -1 -1 -1
dieterich.joh> hw.acpi.thermal.tz1.temperature: 63.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.battery.life: 96
dieterich.joh> hw.acpi.battery.time: -1
dieterich.joh> hw.acpi.battery.state: 0
dieterich.joh> hw.acpi.battery.units: 1
dieterich.joh> hw.acpi.battery.info_expire: 5
dieterich.joh> hw.acpi.acline: 1
dieterich.joh> # sysctl dev.cpu
dieterich.joh> dev.cpu.0.%desc: ACPI CPU
dieterich.joh> dev.cpu.0.%driver: cpu
dieterich.joh> dev.cpu.0.%location: handle=\_PR_.CPU0
dieterich.joh> dev.cpu.0.%pnpinfo: _HID=none _UID=0
dieterich.joh> dev.cpu.0.%parent: acpi0
dieterich.joh> dev.cpu.0.temperature: 60
dieterich.joh> dev.cpu.0.freq: 125
dieterich.joh> dev.cpu.0.freq_levels: 1667/31000 1458/27125 1333/22000 1166/19250
dieterich.joh> 1000/13000 875/11375 750/9750 625/8125 500/6500 375/4875 250/3250 125/1625
dieterich.joh> dev.cpu.0.cx_supported: C1/1 C2/1 C3/17
dieterich.joh> dev.cpu.0.cx_lowest: C2
dieterich.joh> dev.cpu.0.cx_usage: 0.00% 100.00% 0.00%
dieterich.joh> dev.cpu.1.%desc: ACPI CPU
dieterich.joh> dev.cpu.1.%driver: cpu
dieterich.joh> dev.cpu.1.%location: handle=\_PR_.CPU1
dieterich.joh> dev.cpu.1.%pnpinfo: _HID=none _UID=0
dieterich.joh> dev.cpu.1.%parent: acpi0
dieterich.joh> dev.cpu.1.temperature: 62
dieterich.joh> dev.cpu.1.cx_supported: C1/1 C2/1 C3/17
dieterich.joh> dev.cpu.1.cx_lowest: C2
dieterich.joh> dev.cpu.1.cx_usage: 0.00% 100.00% 0.00%
dieterich.joh> that is now the output without enabling Alexandre's patch.
dieterich.joh> Hope it tells you something.
It seems nothing wrong to me.
Can you set hw.acpi.thermal.tz1.passive_cooling to 1? If you cannot
set, _TC1, _TC2 and/or _TSP for tz1 might be not correct.
BTW, doesn't your laptop have a fan? Unless your laptop is fanless,
your fan should work for you in usual in the first place.
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