Skip to content

Commit

Permalink
udev: add hwdb execution for hidraw subsystem devices
Browse files Browse the repository at this point in the history
Hwdb call for hidraw subsystem is missing and AV controller devices defined in hwdb.d/70-av-production.hwdb never get the proper permissions for /dev/hidraw*. This patch implements hwdb execution also for hidraw devices.

(cherry picked from commit 43ee987)

Related: RHEL-5950
  • Loading branch information
djantti authored and dtardon committed Aug 6, 2024
1 parent c5bcfd6 commit 9093e12
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions rules.d/50-udev-default.rules.in
Original file line number Diff line number Diff line change
Expand Up @@ -14,6 +14,8 @@ SUBSYSTEM=="virtio-ports", KERNEL=="vport*", ATTR{name}=="?*", SYMLINK+="virtio-
SUBSYSTEM=="rtc", ATTR{hctosys}=="1", SYMLINK+="rtc"
SUBSYSTEM=="rtc", KERNEL=="rtc0", SYMLINK+="rtc", OPTIONS+="link_priority=-100"

SUBSYSTEM=="hidraw", IMPORT{builtin}="hwdb"

SUBSYSTEM=="usb", ENV{DEVTYPE}=="usb_device", IMPORT{builtin}="usb_id", IMPORT{builtin}="hwdb --subsystem=usb"
ENV{MODALIAS}!="", IMPORT{builtin}="hwdb --subsystem=$env{SUBSYSTEM}"

Expand Down

0 comments on commit 9093e12

Please sign in to comment.