Subject: APM ioctl APM_IOC_DEV_CTL
To: None <port-i386@netbsd.org>
From: Matthias Drochner <drochner@zel459.zel.kfa-juelich.de>
List: port-i386
Date: 08/17/1999 21:44:34
I've just upodated the apm driver to identify itself as v1.2
driver, which is the actual (and probably the last) revision
of the spec. Up to now, it reported v1.1.
There are no functional differences at the moment. While v1.2
defines some extensions like multiple batteries and timer-
controlled wakeup, the API doesn't support it yet.
There was an ioctl command "APM_IOC_DEV_CTL" in the driver
which can control the power state of individual devices.
It uses magic APM constants, so it is only usable for client
programs which know well about APM, and I haven't found one.
So I've commented out the command, hoping that nobody
will complain. If you know a program which uses this ioctl,
tell me, and I'll reinstate it (perhaps as COMPAT_xxx option).
best regards
Matthias