http://bugs.winehq.org/show_bug.cgi?id=36474
Bug ID: 36474 Summary: Wine doesn't respect the systemd attach to seat Product: Wine Version: 1.7.18 Hardware: x86-64 OS: Linux Status: UNCONFIRMED Severity: normal Priority: P2 Component: -unknown Assignee: wine-bugs@winehq.org Reporter: debian@jkfloris.demon.nl
I have a working systemd multiseat setup.
seat0 has a keyboard and a mouse attached. Seat1 has also two usb joysticks. But when I run `wine control` on seat0 the game controller menu shows the joysticks from seat1 and the buttons and axis are working.
http://bugs.winehq.org/show_bug.cgi?id=36474
--- Comment #1 from debian@jkfloris.demon.nl --- First I thought that it might be a win registry option, but a clean WINEPREFIX made on seat0 does also shows the joysticks from seat1.
https://bugs.winehq.org/show_bug.cgi?id=36474
Austin English austinenglish@gmail.com changed:
What |Removed |Added ---------------------------------------------------------------------------- Keywords| |download, integration
http://bugs.winehq.org/show_bug.cgi?id=36474
debian@jkfloris.demon.nl changed:
What |Removed |Added ---------------------------------------------------------------------------- Version|1.7.18 |1.7.19
http://bugs.winehq.org/show_bug.cgi?id=36474
--- Comment #2 from Nikolay Sivov bunglehead@gmail.com --- Wine accesses joysticks using /dev/input/js* and /dev/input/event*. In what way you want this to be different?
http://bugs.winehq.org/show_bug.cgi?id=36474
--- Comment #3 from debian@jkfloris.demon.nl --- (In reply to Nikolay Sivov from comment #2)
Wine accesses joysticks using /dev/input/js* and /dev/input/event*. In what way you want this to be different?
When a device is attached to a seat (an udev rule is made with ENV{ID_SEAT}="seatn") Wine should only use the devices on the same seat Wine is running from.
http://bugs.winehq.org/show_bug.cgi?id=36474
--- Comment #4 from debian@jkfloris.demon.nl --- I also asked this question to the systemd developers and they explained me that the joydev module is old and unmaintained. Joysticks/ applications should only use evdev. [1]
That is the only part Wine should change: drop access via /dev/input/js*
[1] http://lists.freedesktop.org/archives/systemd-devel/2014-May/019551.html
For other users with the same problem, this behavior can be solved with the following steps: - Blacklisted the joydev module. The /dev/input/js* devices are gone.
- Remove the world and group read/write flags with: # setfacl -m other::--- /dev/input/event(joystick) # setfacl -m group::--- /dev/input/event(joystick) The joysticks are only accessible by the user