On Wed, May 28, 2014 at 5:28 PM, Floris <jkflo...@dds.nl> wrote: > Hey, > > I have created an udev rule for an usb hub with "loginctl attach" so every > device I plug-in will go to seat1 > $cat /etc/udev/rules.d/72-seat-usb-pci-0000_00_1a_0-usb-0_1_4.rules > TAG=="seat", ENV{ID_FOR_SEAT}=="usb-pci-0000_00_1a_0-usb-0_1_4", > ENV{ID_SEAT}="seat1" > > Nevertheless, when I plug-in a joystick on seat1, it is also working on > seat0 > > I would expect the same behavior as a keyboard or a mouse. A device on seat1 > does not interact with seat0 > > $ jstest /dev/input/js0 #run on seat0 > Driver version is 2.1.0. > Joystick (DragonRise Inc. Generic USB Joystick ) has 7 axes (X, Y, Z, > Rx, Rz, Hat0X, Hat0Y) > and 12 buttons (Trigger, ThumbBtn, ThumbBtn2, TopBtn, TopBtn2, PinkieBtn, > BaseBtn, BaseBtn2, BaseBtn3, BaseBtn4, BaseBtn5, BaseBtn6). > Testing ... (interrupt to exit)
Are you logged in as the same user on both seats? I think the difference is that with `jstest`, the device doesn't interact with your seat, but *you* are interacting directly with its device node, so the only thing that's checked is devnode permissions... -- Mantas Mikulėnas <graw...@gmail.com> _______________________________________________ systemd-devel mailing list systemd-devel@lists.freedesktop.org http://lists.freedesktop.org/mailman/listinfo/systemd-devel