#1034340 ltunify: Permissions of the unified devices themselves changed by udev rules file

Package:
ltunify
Source:
ltunify
Description:
manage Logitech unifying receivers
Submitter:
Laurent Bigonville
Date:
2023-04-13 08:36:03 UTC
Severity:
normal
#1034340#5
Date:
2023-04-13 08:30:39 UTC
From:
To:
Hello,

The udev rules file starts with the following:

# skip actual unified devices, only consider the receiver
DRIVERS=="logitech-djdevice", GOTO="not_unify_recv"

For what I understand only the permissions of reciver should be modified

But for what I can see, the permissions of the hidraw device of my mouse
are also modified:

$ ls -la /dev/hidraw*
[...]
crw-rw----+ 1 root root 248, 3 13 avr 10:15 /dev/hidraw3
crw-rw----+ 1 root root 248, 4 13 avr 10:15 /dev/hidraw4

[259919.846547] logitech-djreceiver 0003:046D:C52B.0034: hiddev0,hidraw3: USB HID v1.11 Device [Logitech USB Receiver] on usb-0000:00:14.0-1.1.4/input2
[259919.976009] logitech-hidpp-device 0003:046D:101A.0035: input,hidraw4: USB HID v1.11 Mouse [Logitech Performance MX] on usb-0000:00:14.0-1.1.4/input2:2

So that doesn't seem to be right.

When running udevadm info on the two devices, I don't see the driver
being displayed, so I think that the matching based on the driver is not
working.

Kind regards,
Laurent Bigonville