Closed spxak1 closed 9 months ago
Distributions, even those using Wayland, generally do not install the Wayland version of Solaar's udev rule. The reason is that this version allows any program run by the user to write to /dev/uinput, which is a security hole. The ability to write to /dev/uinput is only needed to simulate keyboard and mouse input - the rest of Solaar does not need this ability.
Thanks. So for Wayland, the second udev rule is the one needed. Can we please add this to the guide somehow? It took me a day trying to fix it. Thank you for your response.
From https://github.com/pwr-Solaar/Solaar under Known Issues:
Thank you. I only now noticed the "detail" in the link https://raw.githubusercontent.com/pwr-Solaar/Solaar/master/rules.d-uinput/42-logitech-unify-permissions.rules
: rules.d-uinput.
I missed the uinput
part. Maybe if the name of the rule was different for the two?
Thank you and sorry for wasting your time.
Information
solaar --version
orgit describe --tags
if cloned from this repository): solaar 1.1.10uname -srmo
):Linux 6.7.4-1-default x86_64 GNU/Linux
solaar show
:~/.config/solaar/config.yaml
(or~/.config/solaar/config.json
if~/.config/solaar/config.yaml
not present):Describe the bug Installing solaar via dnf (Fedora) or zypper (Opensuse), won't install the udev rule automatically. In Fedora it's not even found in
/usr/shara/solaar
. The problem, however, is not that. The problem is that the udev rule installed in OpenSuse, is the one that appears here: https://github.com/pwr-Solaar/Solaar/blob/master/rules.d/42-logitech-unify-permissions.rulesThis rule doesn't work. It doesn't change
/dev/uinput
write permission (restart, plug-unplug, you name it, it doesn't do anything).Then there is this other rule, here: https://github.com/pwr-Solaar/Solaar/blob/master/rules.d-uinput/42-logitech-unify-permissions.rules
The difference between the two is the (first uncommented line):
This is missing from the first, but is present in the second rule. Both rules have the same name, and it's the first rule installed by default (at least in OpenSuse).
Adding that line to the rule makes it work.
Is this an omission, is it done on purpose, a bug? I don't know. But maybe it needs to be looked at. Thank you for all your work. Much appreciated.
To Reproduce Steps to reproduce the behavior:
Screenshots If applicable, add screenshots to help explain your problem.
Additional context Add any other context about the problem here.