Date: Thu, 13 Dec 2007 23:21:52 +0000 From: Hugo Silva <hugo@barafranca.com> To: freebsd-stable@freebsd.org Subject: BETA4 and powerd (not doing anything) Message-ID: <4761BE90.3040001@barafranca.com>
next in thread | raw e-mail | index | archive | help
Hi,
Reporting another issue on BETA4, powerd isn't adapting the cpu
frequency at all on my system - running it with -v shows that it selects
APM, and then sits doing nothing.
If if would check AC status via hw.acpi.battery.state (2=AC power
1=battery), (at least on) this system it would work:::
From powerd.c:
#define ACPIAC "hw.acpi.acline"
(...)
if (sysctlnametomib(ACPIAC, acline_mib, &len) == 0) {
hw.acpi.acline does not exist (on this system, at least) but
hw.acpi.battery.state does, and is immediatly changed as soon as I
plug/unplug ac power.
Best regards,
Hugo
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?4761BE90.3040001>
