summaryrefslogtreecommitdiff
path: root/rules
diff options
context:
space:
mode:
Diffstat (limited to 'rules')
-rw-r--r--rules/75-net-description.rules2
-rw-r--r--rules/75-tty-description.rules2
2 files changed, 2 insertions, 2 deletions
diff --git a/rules/75-net-description.rules b/rules/75-net-description.rules
index 4437a34eda..b127757d0c 100644
--- a/rules/75-net-description.rules
+++ b/rules/75-net-description.rules
@@ -4,7 +4,7 @@ ACTION=="remove", GOTO="net_end"
SUBSYSTEM!="net", GOTO="net_end"
SUBSYSTEMS=="usb", ENV{ID_MODEL}=="", IMPORT{builtin}="usb_id"
-SUBSYSTEMS=="usb", IMPORT{builtin}="hwdb"
+SUBSYSTEMS=="usb", IMPORT{builtin}="hwdb --subsystem=usb"
SUBSYSTEMS=="usb", ATTRS{idVendor}!="", ATTRS{idProduct}!="", ENV{ID_VENDOR_ID}="$attr{idVendor}", ENV{ID_MODEL_ID}="$attr{idProduct}"
SUBSYSTEMS=="usb", GOTO="net_end"
diff --git a/rules/75-tty-description.rules b/rules/75-tty-description.rules
index 59857c2d22..c8ee376baf 100644
--- a/rules/75-tty-description.rules
+++ b/rules/75-tty-description.rules
@@ -5,7 +5,7 @@ SUBSYSTEM!="tty", GOTO="tty_end"
IMPORT{builtin}="hwdb"
-SUBSYSTEMS=="usb", ENV{ID_MODEL}=="", IMPORT{builtin}="usb_id"
+SUBSYSTEMS=="usb", ENV{ID_MODEL}=="", IMPORT{builtin}="usb_id --subsystem=usb"
SUBSYSTEMS=="usb", ATTRS{idVendor}!="", ATTRS{idProduct}!="", ENV{ID_VENDOR_ID}="$attr{idVendor}", ENV{ID_MODEL_ID}="$attr{idProduct}"
SUBSYSTEMS=="usb", GOTO="tty_end"