mirror of
https://github.com/AuxXxilium/eudev.git
synced 2024-11-23 23:10:57 +07:00
rules: call hwdb for all devices with a 'modalias'
This commit is contained in:
parent
15ce372b75
commit
f3b9526171
@ -43,7 +43,7 @@ SUBSYSTEM=="firewire", ATTR{units}=="*0x00a02d:0x014001*", GROUP="video"
|
||||
|
||||
# 'libusb' device nodes
|
||||
SUBSYSTEM=="usb", ENV{DEVTYPE}=="usb_device", MODE="0664"
|
||||
SUBSYSTEM=="usb", ENV{DEVTYPE}=="usb_device", IMPORT{builtin}="usb_id", IMPORT{builtin}="hwdb"
|
||||
SUBSYSTEM=="usb", ENV{DEVTYPE}=="usb_device", IMPORT{builtin}="usb_id", IMPORT{builtin}="hwdb --subsystem=usb"
|
||||
|
||||
# printer
|
||||
KERNEL=="parport[0-9]*", GROUP="lp"
|
||||
@ -86,3 +86,5 @@ KERNEL=="fuse", ACTION=="add", MODE="0666", OPTIONS+="static_node=fuse"
|
||||
SUBSYSTEM=="rtc", ATTR{hctosys}=="1", MODE="0644", SYMLINK+="rtc"
|
||||
|
||||
SUBSYSTEM=="firmware", ACTION=="add", IMPORT{builtin}="firmware"
|
||||
|
||||
ENV{MODALIAS}!="", IMPORT{builtin}="hwdb --subsystem=$env{SUBSYSTEM}"
|
||||
|
Loading…
Reference in New Issue
Block a user