Re: generic hotkey driver

Karol Kozimor
2004-09-07T08:49:10Z

Thus wrote Yu, Luming:
> We don't need to care about the format of event. Since it is
> configurable,
> we just need to understand the internal meaning. So maybe we
> need to define the internal event number, which stands for a
> special purpose. such as:
>
> 001 turn off display
> 002 inc brightness
> 003 dec brightness
> 004 s3
> ......

Hmm, ASUS laptops support some 16 distinct events, I don't see your
solution maintainable.

> >Lcd brightness control is defined in ACPI spec apendix.
> >I'm starting implement that.
> Be careful, there has a video extension driver
> filed at http://bugzilla.kernel.org/show_bug.cgi?id=1944

Sadly, most OEMs don't give a damn about the spec and implement this in
their own way.

> >Bluetooth, dock, and other device settings are not common.
> >So these may be implement in each extra drivers. eg)
> >ibm_acpi.c has these functions.
> But , it is still meaningful to standardize the event format.

Sure, but what can be done apart from agreeing on the name of the first
field?
Best regards,

--
Karol 'sziwan' Kozimor
sziwan-DETuoxkZsSqrDJvtcaxF/A@public.gmane.org

-------------------------------------------------------
This SF.Net email is sponsored by BEA Weblogic Workshop
FREE Java Enterprise J2EE developer tools!
Get your free copy of BEA WebLogic Workshop 8.1 today.