Re: Power Mangement Interfaces

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Wednesday 04 April 2007 9:15 am, Johannes Berg wrote:
> 
> How would I go about representing the lid as a device?  It's an honest
> question, I'd actually like to do and replace the /proc/pmu/options file
> it but don't know where I should put it etc.

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.

As for hooking things up to the driver model wakeup event stuff, ACPI
doesn't do that yet.  I've got some patches in the works; it turns out
to be easier than I'd expected (but then I'm just at the periphery of
ACPI, and get to ignore AML etc).

- Dave

_______________________________________________
linux-pm mailing list
linux-pm@xxxxxxxxxxxxxxxxxxxxxxxxxx
https://lists.linux-foundation.org/mailman/listinfo/linux-pm


[Index of Archives]     [Linux ACPI]     [Netdev]     [Ethernet Bridging]     [Linux Wireless]     [CPU Freq]     [Kernel Newbies]     [Fedora Kernel]     [Security]     [Linux for Hams]     [Netfilter]     [Bugtraq]     [Yosemite News]     [MIPS Linux]     [ARM Linux]     [Linux RAID]     [Linux Admin]     [Samba]

  Powered by Linux