Trying to pair a Switch Pro Controller as a virtual device by pressing + and - (which is needed to make the controller work with Steam) with joycond-0.1.0_p20210730-r1 does not work. Joycond logs an error about failing to open uinput with errno 1 (EPERM), the LEDs keep blinking and a virtual device is not created. This is caused by the unit file (as per the systemd-paranoia patch) not allowing access to /dev/uinput. Adding DeviceAllow=/dev/uinput to the unit file fixes the issue.
I can confirm this bug, and also that the fix works for plugging in Joycons with a grip via USB. I would much appreciate if this allow rule could be added!
The bug has been closed via the following commit(s): https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=4c9535541920a5bc381834743b1fc0eaa8017477 commit 4c9535541920a5bc381834743b1fc0eaa8017477 Author: James Le Cuirot <chewi@gentoo.org> AuthorDate: 2022-12-08 21:37:30 +0000 Commit: James Le Cuirot <chewi@gentoo.org> CommitDate: 2022-12-08 21:37:30 +0000 games-util/joycond: Allow /dev/uinput in systemd unit Closes: https://bugs.gentoo.org/867385 Signed-off-by: James Le Cuirot <chewi@gentoo.org> games-util/joycond/files/joycond-systemd-paranoia.patch | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-)