Logitech MX Master: Difference between revisions

Likivik (talk | contribs)
m fixed a mistake about nix run
Likivik (talk | contribs)
m + link to udev rule reference in doumentation of Solaar
 
(One intermediate revision by the same user not shown)
Line 16: Line 16:
     solaar
     solaar
   ];
   ];
</syntaxhighlight>For configuration, see: [https://pwr-solaar.github.io/Solaar/index project documentation]
</syntaxhighlight>Additionally, to use Solaar without  `sudo` you will have to add a udev rule. Read the warning and apply caution.<syntaxhighlight lang="nixos">
services.udev.extraRules = ''
# 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.
 
ACTION == "remove", 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
    '';
</syntaxhighlight>For further configuration, see: [https://pwr-solaar.github.io/Solaar/index project documentation] or section on udev rule specifically [https://pwr-solaar.github.io/Solaar/installation/#installing-solaars-udev-rule-manually installing udev rule manually]


== [https://search.nixos.org/packages?channel=unstable&query=Logio LogiOps] ==
== [https://search.nixos.org/packages?channel=unstable&query=Logio LogiOps] ==