mirror of
https://github.com/Lekensteyn/ltunify.git
synced 2025-12-08 17:53:23 +00:00
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.
31 lines
1.1 KiB
Plaintext
31 lines
1.1 KiB
Plaintext
# Allows non-root users to have raw access the Logitech Unifying USB Receiver
|
|
# device. For development purposes, allowing users to write to the receiver is
|
|
# potentially dangerous (e.g. perform firmware updates).
|
|
|
|
# skip actual unified devices, only consider the receiver
|
|
DRIVERS=="logitech-djdevice", GOTO="not_unify_recv"
|
|
|
|
# official Unifying receivers
|
|
SUBSYSTEM=="hidraw", ATTRS{idVendor}=="046d", ATTRS{idProduct}=="c52b", GOTO="unify_dev"
|
|
SUBSYSTEM=="hidraw", ATTRS{idVendor}=="046d", ATTRS{idProduct}=="c532", GOTO="unify_dev"
|
|
|
|
# "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"
|
|
# Allow any seated user to access the receiver.
|
|
# uaccess: modern ACL-enabled udev
|
|
# udev-acl: for Ubuntu 12.10 and older
|
|
TAG+="uaccess", TAG+="udev-acl"
|
|
|
|
# Grant members of the "plugdev" group access to receiver (useful for SSH users)
|
|
#MODE="0660", GROUP="plugdev"
|
|
|
|
LABEL="not_unify_recv"
|
|
# vim: ft=udevrules
|