Thread (1 message) 1 message, 1 author, 2001-05-02
  • (off-list ancestor, not in this archive)
  • pmevent patch and PM · John Fremlin <hidden> · 2001-05-02

pmevent patch and PM

From: John Fremlin <hidden>
Date: 2001-05-02 17:59:32

Hi PM maintainers! ARM and PPC ppl, who is your PM maintainer?

"Grover, Andrew" [off-list ref] writes:
ACPI has by far the richest set of capabilities. It is a superset of
APM.  Therefore a combined APM/ACPI interface is going to look a lot
like an ACPI interface.

IMHO an abstracted interface at this point is overengineering. Maybe
later it will make sense, though.
A simple event interface is presented with the pmevent patch. It is
very extensible. The individual PM system driver suggests an action to
be taken and identifies the event exactly. Any number of userspace
readers can therefore apply fine grained policy to specific events and
simultaneously handle unknown events reasonably well.

The pmevent patch is available here

        http://john.snoop.dk/programs/linux/offbutton

There are some badly done example bindings for APM (that part of the
patch needs to be cleaned up).  Will your PM driver be able to map
events well onto it? I hope it should remove the need for an PM driver
specific event interfaces.

Please take a look and comment.

[...]

--

	http://ape.n3.net

** Sent via the linuxppc-dev mail list. See http://lists.linuxppc.org/
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help