[Libdlo] Multiseat config problem...

Jonathan D. Proulx jon at csail.mit.edu
Tue Sep 15 10:55:24 PDT 2009


Oops looks like my result didn't get to the list, for posterity's sake
here's what I ended up with to get /dev/usbseat populated on Debian
5.0 (Lenny):

# aliases for display, kbd, mouse attached to specific hubs

KERNEL=="fb*",SUBSYSTEMS=="usb",PROGRAM="/bin/cat /sys/%p/device/../devnum",SYMLINK+="usbseat/%c/display"
KERNEL=="mouse*", SUBSYSTEMS=="usb", ATTRS{bInterfaceClass}=="03", ATTRS{bInterfaceProtocol}=="02", PROGRAM="/bin/cat /sys/%p/device/../../devnum",SYMLINK+="usbseat/%c/mouse"
KERNEL=="event*", SUBSYSTEM=="input", ATTRS{bInterfaceClass}=="03", ATTRS{bInterfaceProtocol}=="01",PROGRAM="/bin/cat /sys/%p/device/../../../devnum",SYMLINK+="usbseat/%c/keyboard"

Note that each device is at a different level of the tree (more "../" )for some
reason.

-Jon


More information about the Libdlo mailing list