evdev steals the keyboard

Peter Hutterer peter at cs.unisa.edu.au
Thu Jun 12 02:10:46 PDT 2008


On Thu, Jun 12, 2008 at 12:01:45PM +0300, Daniel Stone wrote:
> On Thu, Jun 12, 2008 at 09:40:17AM +0100, Johannes Engel wrote:
> > I just pulled a fresh Xorg from git and compiled everything.
> > But now I have the problem, that evdev seems to "steal" my keyboard in  
> > the following sense: the kernel detects the keyboard as an event device  
> > and therefore registers /dev/event/input0 for it. After scanning my  
> > original keyboard configuration in xorg.conf evdev detects  
> > /dev/event/input0 as a keyboard and initializes it with some default  
> > values which is bad, because it ignores my model, language, layout etc.  
> > settings.
> > Is that behaviour intended? How can I change that?
> 
> Option "NoAutoAddDevices" in the ServerFlags section, or even better,
> fix your HAL configuration
> (/usr/share/hal/fdi/policy/10osvendor/10-keymap.fdi on my Debian system,
> but just grep for input.xkb.model -- make sure the model remains 'evdev'
> though).

or simply change your InputDevice section to use driver evdev, and specify the
device through /dev/input/by-id/...
(don't forget to change the model to evdev)

Cheers,
  Peter



More information about the xorg mailing list