[OLPC-devel] BIOS Meeting minutes - 2006-08-09

Matthew Garrett mjg59 at srcf.ucam.org
Thu Aug 10 10:38:12 EDT 2006


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 | mjg59 at srcf.ucam.org



More information about the Devel mailing list