[Bug 36474] New: Wine doesn't respect the systemd attach to seat
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(a)winehq.org Reporter: debian(a)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. -- Do not reply to this email, post in Bugzilla using the above URL to reply. You are receiving this mail because: You are watching all bug changes.
http://bugs.winehq.org/show_bug.cgi?id=36474 --- Comment #1 from debian(a)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. -- Do not reply to this email, post in Bugzilla using the above URL to reply. You are receiving this mail because: You are watching all bug changes.
https://bugs.winehq.org/show_bug.cgi?id=36474 Austin English <austinenglish(a)gmail.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Keywords| |download, integration -- Do not reply to this email, post in Bugzilla using the above URL to reply. You are receiving this mail because: You are watching all bug changes.
http://bugs.winehq.org/show_bug.cgi?id=36474 debian(a)jkfloris.demon.nl changed: What |Removed |Added ---------------------------------------------------------------------------- Version|1.7.18 |1.7.19 -- Do not reply to this email, post in Bugzilla using the above URL to reply. You are receiving this mail because: You are watching all bug changes.
http://bugs.winehq.org/show_bug.cgi?id=36474 --- Comment #2 from Nikolay Sivov <bunglehead(a)gmail.com> --- Wine accesses joysticks using /dev/input/js* and /dev/input/event*. In what way you want this to be different? -- Do not reply to this email, post in Bugzilla using the above URL to reply. You are receiving this mail because: You are watching all bug changes.
http://bugs.winehq.org/show_bug.cgi?id=36474 --- Comment #3 from debian(a)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. -- Do not reply to this email, post in Bugzilla using the above URL to reply. You are receiving this mail because: You are watching all bug changes.
http://bugs.winehq.org/show_bug.cgi?id=36474 --- Comment #4 from debian(a)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 -- Do not reply to this email, post in Bugzilla using the above URL to reply. You are receiving this mail because: You are watching all bug changes.
participants (1)
-
wine-bugs@winehq.org