diff options
author | djantti <djantti@proton.me> | 2023-12-23 22:08:41 +0100 |
---|---|---|
committer | Yu Watanabe <watanabe.yu+github@gmail.com> | 2023-12-24 18:16:44 +0100 |
commit | 43ee987a1f24f390bdee0447022d31ec30f6e5be (patch) | |
tree | 031153109a4bd6df87cef9c8c4c3be78d8e6c9f3 /rules.d | |
parent | Merge pull request #30620 from mrc0mmand/more-test-tweaks (diff) | |
download | systemd-43ee987a1f24f390bdee0447022d31ec30f6e5be.tar.xz systemd-43ee987a1f24f390bdee0447022d31ec30f6e5be.zip |
udev: add hwdb execution for hidraw subsystem devices
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.
Diffstat (limited to 'rules.d')
-rw-r--r-- | rules.d/50-udev-default.rules.in | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/rules.d/50-udev-default.rules.in b/rules.d/50-udev-default.rules.in index bb241534e4..9b00c7037e 100644 --- a/rules.d/50-udev-default.rules.in +++ b/rules.d/50-udev-default.rules.in @@ -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}" |