flathub / io.github.pwr_solaar.solaar

https://flathub.org/apps/details/io.github.pwr_solaar.solaar
2 stars 1 forks source link

Doesn't work. Tried on Ubuntu and Alpine. #5

Open K0-RR opened 7 months ago

K0-RR commented 7 months ago

My device is Logitech MX Master 2S. image

proletarius101 commented 7 months ago

Try this:

# user installation
sudo cp ~/.local/share/flatpak/app/io.github.pwr_solaar.solaar/current/active/files/share/solaar/udev-rules.d/42-logitech-unify-permissions.rules /etc/udev/rules.d

# system installation
sudo cp /var/lib/flatpak/app/io.github.pwr_solaar.solaar/current/active/files/share/solaar/udev-rules.d/42-logitech-unify-permissions.rules /etc/udev/rules.d

sudo udevadm control --reload-rules
K0-RR commented 7 months ago

Tried, unfortunately didn't work. It seems my issue is the same as #2 except, for me, it also doesn't detect the mouse even if plugged via USB cable.

proletarius101 commented 7 months ago

If you are also using OpenSUSE Aeon, it might be a distro specific issue

rowbawts commented 6 months ago

It's not working for me either, I'm using Fedora 39 (system-wide installation).

proletarius101 commented 6 months ago

It's not working for me either, I'm using Fedora 39 (system-wide installation).

Have you tried to install the udev rules as described above?

rowbawts commented 6 months ago

It's not working for me either, I'm using Fedora 39 (system-wide installation).

Have you tried to install the udev rules as described above?

Just tried it exactly as referenced (copy paste) still nothing.

proletarius101 commented 6 months ago

How about putting the following content into /usr/lib/udev/rules.d/42-logitech-unify-permissions.rules? It's slightly different from the stock one.

# This rule was added by Solaar.
#
# Allows non-root users to have raw access to Logitech devices.
# Allowing users to write to the device is potentially dangerous
# because they could perform firmware updates.
KERNEL=="uinput", SUBSYSTEM=="misc", TAG+="uaccess", OPTIONS+="static_node=uinput"

ACTION != "add", GOTO="solaar_end"
SUBSYSTEM != "hidraw", GOTO="solaar_end"

# USB-connected Logitech receivers and devices
ATTRS{idVendor}=="046d", GOTO="solaar_apply"

# Lenovo nano receiver
ATTRS{idVendor}=="17ef", ATTRS{idProduct}=="6042", GOTO="solaar_apply"

# Bluetooth-connected Logitech devices
KERNELS == "0005:046D:*", GOTO="solaar_apply"

GOTO="solaar_end"

LABEL="solaar_apply"

# Allow any seated user to access the receiver.
# uaccess: modern ACL-enabled udev
TAG+="uaccess"

# Grant members of the "plugdev" group access to receiver (useful for SSH users)
#MODE="0660", GROUP="plugdev"

LABEL="solaar_end"
# vim: ft=udevrules
K0-RR commented 6 months ago

How about putting the following content...

Still nothing on Ubuntu

proletarius101 commented 6 months ago

It's not working for me either, I'm using Fedora 39 (system-wide installation).

How about installing the solaar-udev package in the host system?