[patch] add keymap data to make random laptop vendor keys work
Kay Sievers
kay.sievers at vrfy.org
Wed May 9 04:30:38 PDT 2007
On 5/8/07, Lennart Poettering <mzuny at 0pointer.de> wrote:
> On Tue, 08.05.07 09:39, Richard Hughes (hughsient at gmail.com) wrote:
>
> > > > - Uses KDSETKEYCODE/setkeycodes on the console which is evil. Should
> > > > be using EVIOCSKEYCODE on the input device.
> > >
> > > Sure. That's fixable.
> >
> > How do we know which input device is the hardware keyboard - is it
> > always event1?
>
> It's not. There's /proc/bus/input/devices for that.
No, that's deprecated and exists only if you enabled the broken usbfs.
You have to go through /sys.
Kay
More information about the hal
mailing list