Re: powerd to use sysctl to import temps to drop freq to avoid heat crash
Hajimu UMEMOTO <[email protected]>
| Newsgroups | gmane.os.freebsd.devel.mobile |
|---|---|
| Organization | Internet Mutual Aid Society, YOKOHAMA |
| Message-ID | <ygek45abvp0.wl%[email protected]> |
Hi, >>>>> On Mon, 02 Jan 2012 04:13:38 +0100 >>>>> "Julian H. Stacey" <[email protected]> said: jhs> I propose to hack src/usr.sbin/powerd/powerd.c jhs> To import temperatures via sysctl, & if too high, to forcibly jhs> reduce CPU frequency, even if CPU load is high, jhs> because my new HP Pavillion notebook keeps over heating & crashing. jhs> dmesg & sysctl etc diagnostics at jhs> http://berklix.com/~jhs/hardware/hp/pavilion/dm3-1155ea/ jhs> CPU: AMD Athlon(tm) Neo X2 Dual Core Processor L335 (1595.96-MHz K8-class CPU) jhs> Origin = "AuthenticAMD" Id = 0x60fb2 Family = f Model = 6b Stepping = 2 jhs> Is this re-inventing the wheel ? jhs> Anyone else out there working on or know of similar code ? Yes, it is implemented already in the kernel, and it should be done by the ACPI passive cooling. It seems to me that your ACPI BIOS has it, and when the temperature of your CPU become over 90.0C, it will effect. hw.acpi.thermal.tz0.temperature: 67.0C hw.acpi.thermal.tz0.active: -1 hw.acpi.thermal.tz0.passive_cooling: 1 hw.acpi.thermal.tz0.thermal_flags: 0 hw.acpi.thermal.tz0._PSV: 90.0C hw.acpi.thermal.tz0._HOT: 95.0C hw.acpi.thermal.tz0._CRT: 100.0C hw.acpi.thermal.tz0._ACx: -1 -1 -1 -1 -1 -1 -1 -1 -1 -1 hw.acpi.thermal.tz0._TC1: 2 hw.acpi.thermal.tz0._TC2: 3 hw.acpi.thermal.tz0._TSP: 40 However, I'm not sure why your notebook keeps over heating & crashing. Sincerely, -- Hajimu UMEMOTO @ Internet Mutual Aid Society Yokohama, Japan [email protected] ume@{,jp.}FreeBSD.org http://www.imasy.org/~ume/ _______________________________________________ [email protected] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-mobile To unsubscribe, send any mail to "[email protected]"