[patch] add keymap data to make random laptop vendor keys work

Richard Hughes hughsient at gmail.com
Mon Jun 4 03:16:07 PDT 2007


On Mon, 2007-06-04 at 13:11 +0300, Daniel Stone wrote:
> > +     fd = open_a_console("/dev/tty");
> > +     if (fd >= 0)
> > +             return fd;
> 
> This fails for multiple keyboards: you need to use the evdev
> interface.

Sure, I'll do that now.

> > +        <append key="keymap.linux.data"
> type="strlist">e016:238</append>     <!-- Fn+F5      Wireless -->
> > +        <append key="keymap.linux.data"
> type="strlist">e017:142</append>     <!-- Fn+F4      Suspend -->
> > +        <append key="keymap.linux.data"
> type="strlist">e018:205</append>     <!-- Fn+F12     Hibernate -->
> > +        <append key="info.capabilities"
> type="strlist">keymap</append>
> 
> Should these not be under input?

The key prefix or the capability? Thanks.

Richard.




More information about the hal mailing list