RE: generic hotkey driver

Yu, Luming
2004-09-07T07:54:09Z

>Yu, Luming wrote:
>> a. Configure interface:
>> 1. register mapping of event number to internal hotkey number.
>> 2. register expected acpi_handle which is needed to install
>> notify handler, which will generate event for acpid.
>> 3. register the AML methods that should be executed , with
>> respect to the hotkey get pressed.
>
>As far as I know, there is no hotkey event available in
>Toshiba's case.
> The only way to monitor the keys is by polling.

Hmm. It's not efficient way for hotkey.
I'm curious what's the polling frequency.

I guess I can slightly modify the configure interface to
add a polling register interface. To keep other parts of
interfaces unchanged, just need to generate corresponding
pseudo event for each active event found by polling.

Does it make sense?

Thanks,
Luming

-------------------------------------------------------
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.