Problem with Multiseat-X on Ubuntu Jaunty / Xorg 1.6 + evdev

Wolfgang Klein klein.wolfg at web.de
Tue Jul 21 00:49:26 PDT 2009


Peter Hutterer wrote:

> 
> you're trying to hook evdev up to a non-event device so the ioctl fails.
> Something in your udev rules is possibly busted, mouse_seat_1 device must be
> a link to /dev/input/eventXYZ

And so it is, because looking into /dev/input/by-path/ I see these links:

pci-0000:00:10.4-usb-0:4.2:1.0-event-mouse -> ../event1
pci-0000:00:10.4-usb-0:4.2:1.0-mouse -> ../mouse0
pci-0000:00:10.4-usb-0:4.3:1.0-event-mouse -> ../event2
pci-0000:00:10.4-usb-0:4.3:1.0-mouse -> ../mouse1
pci-0000:00:10.4-usb-0:4.4:1.0-event-kbd -> ../event3
pci-0000:00:10.4-usb-0:4.4:1.1-event- -> ../event4


And looking into /dev/input/ I see what the udev rule did:

kbd_2a -> event3
kbd_2b -> event4
mouse_1 -> event1
mouse_2 -> event2


Don't be disturbed by the different names compared to the one in the
files I sent you. I just had yet another look into the files and
shortened the names a bit to make sure I have no typing error in it.

And those are the links that I use in xorg.conf:

Section "InputDevice"
    Identifier  "mouse_1"
    Driver      "evdev"
     Option     "Device"        "/dev/input/mouse_1"
    Option      "Buttons"       "9"
    Option      "Resolution"    "800"
EndSection

Section "InputDevice"
    Identifier  "kbd_2a"
    Driver      "evdev"
    Option      "Device"        "/dev/input/kbd_2a"
    Option      "XkbRules"      "xorg"
    Option      "XkbModel"      "evdev"
    Option      "XkbLayout"     "de"
    Option      "Protocol"      "Standard"
    Option      "XkbVariant"    "nodeadkeys"
EndSection

Section "InputDevice"
    Identifier  "kbd_2b"
    Driver      "evdev"
    Option      "Device"        "/dev/input/kbd_2b"
    Option      "XkbModel"      "evdev"
    Option      "XkbRules"      "xorg"
EndSection

Section "InputDevice"
    Identifier  "mouse_2"
     Driver      "evdev"
    Option      "Device" "/dev/input/mouse_2"
    Option      "ZAxisMapping"      "4 5"
EndSection



> 
> if the kbd driver is loaded, it'll pick up any physical device that the
> kernel picks up.

So that must be different compared to older versions, because in Ubuntu
Hardy it doesn't behave that way. Like I said before: all those files I
sent you are working in Hardy without any problem. If there were
mistakes in those files, they shouldn't work in Hardy either, should they?


Wolfgang Klein
-- 
Öffentlicher   ,_,  Public
PGP-Schlüssel (o,o) PGP-key
verfügbar!    {' '} available!
===============#=#============



More information about the xorg mailing list