Re: Power Mangement Interfaces

Johannes Berg
2007-04-04T21:49:59Z

[-- Attachment #1.1: Type: text/plain, Size: 660 bytes --]

On Wed, 2007-04-04 at 11:44 -0700, David Brownell wrote:

> I'm not sure I understand the question. ACPI has a special "acpi_device"
> node (not backed by any "real" device, PNPACPI etc) with a driver that
> hooks up to the input subsystem. Same is true for a couple other fixed
> function buttons. I'd expect non-ACPI platforms would do something very
> similar, except using platform_device and looking less cryptic.

No, the thing is more: how would we represent the lid as a device in
sysfs? Currently, our PMU only has a sysdev because it doesn't need
more. Would you suggest doing a PMU-bus and than hanging "lid" off of
that?

johannes

[-- Attachment #1.2: This is a digitally signed message part --]
[-- Type: application/pgp-signature, Size: 190 bytes --]

[-- Attachment #2: Type: text/plain, Size: 0 bytes --]