summaryrefslogtreecommitdiff
path: root/udev
diff options
context:
space:
mode:
authorPeter Wu <peter@lekensteyn.nl>2020-06-14 19:57:58 +0200
committerPeter Wu <peter@lekensteyn.nl>2020-06-14 22:06:58 +0200
commit5c8283480df26a8414fd1cdace667665163bca98 (patch)
tree63c56fc17dcdd7faed95a683dd721466dab7cb0e /udev
parentf664d1d41d5c4beeac5b81e485c3498f13109db7 (diff)
downloadltunify-5c8283480df26a8414fd1cdace667665163bca98.tar.gz
ltunify: add Nano receiver c534 (MK270) support
Fix "Unknown protocol 0x0a in devcon notif" errors when trying to list or pair new devices connected to the Nano receiver with device ID c534. This receiver is limited to 2 devices only and does not allow unpairing. Update the hidraw autodetection since the first detected hidraw device is wrong. Check the interface number, similar to Solaar, this avoids more complicated HID descriptor parsing. To confirm whether a device supports the HID++ protocol, either use `sudo lsusb -v046d:` (without a kernel driver bound to it) or use hidrd-convert -o spec /sys/class/hidraw/hidrawX/device/report_descriptor output.txt to find a Vendor-Specific page.
Diffstat (limited to 'udev')
-rw-r--r--udev/42-logitech-unify-permissions.rules3
1 files changed, 3 insertions, 0 deletions
diff --git a/udev/42-logitech-unify-permissions.rules b/udev/42-logitech-unify-permissions.rules
index e315fb3..c651410 100644
--- a/udev/42-logitech-unify-permissions.rules
+++ b/udev/42-logitech-unify-permissions.rules
@@ -12,6 +12,9 @@ SUBSYSTEM=="hidraw", ATTRS{idVendor}=="046d", ATTRS{idProduct}=="c532", GOTO="un
# "Unifying Ready" Nano receiver
SUBSYSTEM=="hidraw", ATTRS{idVendor}=="046d", ATTRS{idProduct}=="c52f", GOTO="unify_dev"
+# Nano receiver for devices such as the MK270 mouse and keyboard combo
+SUBSYSTEM=="hidraw", ATTRS{idVendor}=="046d", ATTRS{idProduct}=="c534", GOTO="unify_dev"
+
GOTO="not_unify_recv"
LABEL="unify_dev"