chiark / gitweb /
rules: call 'hwdb' with --subsystem= where appropriate
[elogind.git] / rules / 75-tty-description.rules
index 59857c2d22b061026bfc4f91173607879b51c9cc..c8ee376baf27b5e2e82d39bf244ac1cefe0f8e7e 100644 (file)
@@ -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"