[RFC] Patch to enable temperature ceiling in powerd

Johannes Dieterich dieterich.joh at googlemail.com
Sat Feb 16 11:47:38 UTC 2008


Hajimu UMEMOTO wrote:
> Hi,
>
>>>>>> On Sat, 16 Feb 2008 11:21:07 +0100
>>>>>> Johannes Dieterich <dieterich.joh at googlemail.com> said:
> dieterich.joh> Alexandre "Sunny" Kovalenko wrote:
>> Johannes,
>>
>> since you were the only one who actually needed that patch to get
>> through the buildworld, could you, please, set 
>>
>> sysctl hw.acpi.thermal.tz1.passive_cooling=1
>> sysctl hw.acpi.thermal.user_override=1
>> sysctl hw.acpi.thermal.tz1._PSV=85C
>>
>> disable my patch by removing '-T and -z' from powerd_flags
>> in /etc/rc.conf
>>
>> restart powerd, by doing
>>
>> /etc/rc.d/powerd restart
>>
>> and try to do the buildworld. If it works for you, I will kindly ask
>> someone to close that PR and apologize for wasting everybody's time.
>
> dieterich.joh> Did that. Doesn't work. Again it is overheating. I have not tried the
> dieterich.joh> patch from Hajimu Umemoto yet though. But I guess it will not change
> dieterich.joh> much for me.
>
> I didn't see your report.  Could you show me the output of
> `sysctl hw.acpi' and `sysctl dev.cpu'?
# sysctl hw.acpi
hw.acpi.supported_sleep_state: S3 S4 S5
hw.acpi.power_button_state: S5
hw.acpi.sleep_button_state: S3
hw.acpi.lid_switch_state: NONE
hw.acpi.standby_state: S1
hw.acpi.suspend_state: S3
hw.acpi.sleep_delay: 1
hw.acpi.s4bios: 0
hw.acpi.verbose: 0
hw.acpi.disable_on_reboot: 0
hw.acpi.handle_reboot: 0
hw.acpi.reset_video: 0
hw.acpi.cpu.cx_lowest: C2
hw.acpi.thermal.min_runtime: 0
hw.acpi.thermal.polling_rate: 10
hw.acpi.thermal.user_override: 0
hw.acpi.thermal.tz0.temperature: 62.0C
hw.acpi.thermal.tz0.active: -1
hw.acpi.thermal.tz0.passive_cooling: 0
hw.acpi.thermal.tz0.thermal_flags: 0
hw.acpi.thermal.tz0._PSV: -1
hw.acpi.thermal.tz0._HOT: -1
hw.acpi.thermal.tz0._CRT: 127.0C
hw.acpi.thermal.tz0._ACx: -1 -1 -1 -1 -1 -1 -1 -1 -1 -1
hw.acpi.thermal.tz1.temperature: 63.0C
hw.acpi.thermal.tz1.active: -1
hw.acpi.thermal.tz1.passive_cooling: 0
hw.acpi.thermal.tz1.thermal_flags: 0
hw.acpi.thermal.tz1._PSV: 92.5C
hw.acpi.thermal.tz1._HOT: -1
hw.acpi.thermal.tz1._CRT: 97.0C
hw.acpi.thermal.tz1._ACx: -1 -1 -1 -1 -1 -1 -1 -1 -1 -1
hw.acpi.battery.life: 96
hw.acpi.battery.time: -1
hw.acpi.battery.state: 0
hw.acpi.battery.units: 1
hw.acpi.battery.info_expire: 5
hw.acpi.acline: 1

# sysctl dev.cpu
dev.cpu.0.%desc: ACPI CPU
dev.cpu.0.%driver: cpu
dev.cpu.0.%location: handle=\_PR_.CPU0
dev.cpu.0.%pnpinfo: _HID=none _UID=0
dev.cpu.0.%parent: acpi0
dev.cpu.0.temperature: 60
dev.cpu.0.freq: 125
dev.cpu.0.freq_levels: 1667/31000 1458/27125 1333/22000 1166/19250
1000/13000 875/11375 750/9750 625/8125 500/6500 375/4875 250/3250 125/1625
dev.cpu.0.cx_supported: C1/1 C2/1 C3/17
dev.cpu.0.cx_lowest: C2
dev.cpu.0.cx_usage: 0.00% 100.00% 0.00%
dev.cpu.1.%desc: ACPI CPU
dev.cpu.1.%driver: cpu
dev.cpu.1.%location: handle=\_PR_.CPU1
dev.cpu.1.%pnpinfo: _HID=none _UID=0
dev.cpu.1.%parent: acpi0
dev.cpu.1.temperature: 62
dev.cpu.1.cx_supported: C1/1 C2/1 C3/17
dev.cpu.1.cx_lowest: C2
dev.cpu.1.cx_usage: 0.00% 100.00% 0.00%

that is now the output without enabling Alexandre's patch.

Hope it tells you something.

Best regards,


Johannes



More information about the freebsd-acpi mailing list