Unable to get APM working -- help!

Daniel O'Connor doconnor at gsoft.com.au
Sat Dec 25 16:13:47 PST 2004


On Sun, 26 Dec 2004 05:20, security at revolutionsp.com wrote:
> Still, /dev/apm*'s never show up. Except if I actually disable APM and
> enable ACPI instead, /dev/apm will show.. but no /dev/apmctl.
>
> I'm new to the laptop world and I really would like to enable power saving
> features on this laptop.. I managed to get est/estctrl running, and it was
> changing my CPU from 600 to 1600 ghz according to the load, but when I
> disabled APM and enabled ACPI this ceases to work and the CPU will always
> run at  1600ghz. Also, acpiconf -i0 says device not configured..

Use ACPI.
It will provide an APM like interface (/dev/apm) for userland apps to use to 
get info.

It's possible your laptop doesn't even _do_ APM :)

> As far as I was able to see, most battery monitoring stuff (integrated on
> KDE and all) will depend on APM.. So I'd really like to enable it!

ACPI will allow you to do this plus a lot more.

If you want to do things based on power related state changes (eg lid close, 
power button press, AC unplugged etc..) you can use devd which can respond to 
ACPI events.

-- 
Daniel O'Connor software and network engineer
for Genesis Software - http://www.gsoft.com.au
"The nice thing about standards is that there
are so many of them to choose from."
  -- Andrew Tanenbaum
GPG Fingerprint - 5596 B766 97C0 0E94 4347 295E E593 DC20 7B3F CE8C
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 187 bytes
Desc: not available
Url : http://lists.freebsd.org/pipermail/freebsd-hackers/attachments/20041226/343beea6/attachment.bin


More information about the freebsd-hackers mailing list