8000 "hidraw" udev rules does not work with vid/pid · Issue #489 · signal11/hidapi · GitHub
[go: up one dir, main page]
More Web Proxy on the site http://driver.im/
Skip to content
"hidraw" udev rules does not work with vid/pid #489
Open
@terrancewong

Description

@terrancewong

udev/99-hid.rules mentions:

# HIDAPI/hidraw
KERNEL=="hidraw*", ATTRS{busnum}=="1", ATTRS{idVendor}=="04d8", ATTRS{idProduct}=="003f", MODE="0666"

but this does not really work with /dev/hidraw*.

I tested some different approaches, only busnum works, neither idVendor nor idProduct does.

So my solution is

SUBSYSTEM=="usb", ACTION=="add",  ATTR{idVendor}=="$someVid", MODE:="0660", GROUP="$someGroup"
KERNEL=="hidraw*", ACTION=="add", MODE:="0660", GROUP="$someGroup"

udevadm info /dev/hidraw5 also shows no VID/PID of the device.

tested Debian Trixie, kernel 6.12.27-amd64

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions

      0