Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 26 Dec 2004 10:43:16 +1030
From:      "Daniel O'Connor" <doconnor@gsoft.com.au>
To:        freebsd-hackers@freebsd.org
Cc:        security@revolutionsp.com
Subject:   Re: Unable to get APM working -- help!
Message-ID:  <200412261043.30020.doconnor@gsoft.com.au>
In-Reply-To: <62903.81.84.175.77.1104000639.squirrel@81.84.175.77>
References:  <62903.81.84.175.77.1104000639.squirrel@81.84.175.77>

index | next in thread | previous in thread | raw e-mail

[-- Attachment #1 --]
On Sun, 26 Dec 2004 05:20, security@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

[-- Attachment #2 --]
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.2.6 (FreeBSD)

iD8DBQBBzgIp5ZPcIHs/zowRAk3vAJ48FMJoT8UqEIvVUvBwe3fsCjs1YACgk0PI
Ge2dRde0Dd0e2mLLyr7gkqU=
=F+Y7
-----END PGP SIGNATURE-----
help

Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200412261043.30020.doconnor>