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

Lennart Poettering mzuny at 0pointer.de
Mon Jun 4 08:05:14 PDT 2007


On Mon, 04.06.07 10:33, David Zeuthen (david at fubar.dk) wrote:

> >+    <match key="info.product" string="AT Translated Set 2 keyboard">
> 
> First, this should be input.product rather than info.product. Second, 
> it's still a bit ugly.. I wonder if there's a better way of identifying 
> keyboards hard-wired to the machine. Maybe (untested) check if
> 
> <match key="@input.originating_device:info.linux.driver" string="atkbd">
> 
> Of course, for systems with USB keyboards this won't work but I think 
> that's fine; we can check other things that way.

Last time I checked EVIOCSKEYCODE returns an error for non-atkbd
drivers anyway. i.e. remapping USB kbds doesn't work anyway. 

Lennart

-- 
Lennart Poettering                        Red Hat, Inc.
lennart [at] poettering [dot] net         ICQ# 11060553
http://0pointer.net/lennart/           GnuPG 0x1A015CC4


More information about the hal mailing list