[lfs-support] Udev Symlinks in Xorg

Bruce Dubbs bruce.dubbs at gmail.com
Mon Apr 9 09:48:29 PDT 2012


Please post X problems on blfs-support.
   -- Bruce

Esben Stien wrote:
> 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
> mouse. 
> 
> 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?. 
> 




More information about the lfs-support mailing list