Nicolas Williams wrote:
> On Mon, Jan 12, 2009 at 10:10:06AM -0800, Kerry Shu wrote:
>>> Would it be possible to let users create their own set of hotkeys?  Even
>>> if the hotkeys are burned into the HW, it'd be nice to be able to let
>>> the user input each one and assign a symbol to each.  This would be a
>>> good workaround for lack of support for a specific laptop.
>> Yes, it's possible to let users create their own set of hotkeys. That's
>> why our current design leverages Gnome shortcuts application. Uses can
>> define their own hotkeys(shortcuts) as usual. This project will make the
>> dedicated hotkeys also and always work.
> 
> One of us is missing something.
> 
> Let's say I've a laptop A but no vendor support, so no ACPI driver that
> recognizes the ACPI hotkeys.  In order to use the ACPI hotkeys then I'll
> have to: write a kernel module as if I were the vendor.
> 
> But if I understand correctly the basic kernel ACPI driver can catch
> ACPI hotkeys -- it just doesn't know what to do with them.

There is no basic kernel ACPI driver which can catch hotkey ACPI events
for all laptops of different vendor.
We need to have different corresponding hotkey driver to initialize the
hotkey method and catch the ACPI notify per vendor.

Regards,
Kerry

> 
> So I propose that you provide a *configurable* mapping of ACPI hotkey
> IDs to keyboard events.  That way instead of having to write a kernel
> module for my unsupported laptop I need only write a little text file.
> 
> Nico

Reply via email to