[lfs-support] Udev Symlinks in Xorg

Esben Stien b0ef at esben-stien.name
Mon Apr 9 09:20:16 PDT 2012

I've made some rules in Udev:

#Logitech Dinovo Keyboard
SUBSYSTEMS=="usb", ATTRS{bInterfaceClass}=="03", ATTRS{bInterfaceProtocol}=="01", ENV{ID_CLASS}="kbd", SYMLINK+="input/keyboard-dinovo"

#Logitech MX Revolution Mouse
BUS=="usb", KERNEL=="event[0-9]*", SYSFS{idVendor}=="046d", SYSFS{idProduct}=="c51a", SYMLINK+="input/mx-event"
BUS=="usb", KERNEL=="mouse[0-9]*", SYSFS{idVendor}=="046d", SYSFS{idProduct}=="c51a", SYMLINK+="input/mx"

They both get created and they both emit data when using od on them. 

Problem is that only the keyboard works with these symlinks and not the

Xorg reports: 

(EE) ioctl EVIOCGNAME failed: Inappropriate ioctl for device
(EE) PreInit returned NULL for "Mouse0"

My LFS is from 2009 and I looked into upgradeing Udev, but seems I have
to upgrade my whole glibc first, so that's a nogo, atm. 

The funny thing is that the keyboard works fine with these symlinks. 

X.Org X Server 1.7.3 and Udev-130.

Anyone got any idea what I maybe can try, except doing a clean LFS build
to get a new glibc?. 

Esben Stien is b0ef at e     s      a             
         http://www. s     t    n m
          irc://irc.  b  -  i  .   e/%23contact
           sip:b0ef@   e     e 
           jid:b0ef@    n     n

More information about the lfs-support mailing list