On Wed, Aug 09, 2006 at 04:40:50PM -1000, Mitch Bradley wrote:

> Mechanism for reporting switch status such as cover-closed switch?  ACPI?
> Mono/color key can be reported as a keyboard scan code.
> Answer: Report lid switch as an ACPI event, mono/color as a keyboard event.

Can we just use the input layer instead? The SW_foo codes in the event 
interface were defined with precisely this sort of thing in mind. 
Reporting events as an acpi event would require either including the 
ACPI stack or faking up the acpi event layer, and neither of those seems 
appealing.

-- 
Matthew Garrett | [EMAIL PROTECTED]
_______________________________________________
Devel mailing list
[email protected]
http://mailman.laptop.org/mailman/listinfo/devel

Reply via email to