diff options
author | Kay Sievers <kay@vrfy.org> | 2012-10-25 21:33:22 +0200 |
---|---|---|
committer | Kay Sievers <kay@vrfy.org> | 2012-10-25 21:44:33 +0200 |
commit | 15ce372b75a48f73cc3b0ca435b9d9df3ce0ea49 (patch) | |
tree | d54a6e7a3d15ada823b84fcaf2ae3cb1a9d3bbb2 /rules/75-tty-description.rules | |
parent | 0380748b55b3116686b470ae2f52c9b561455a08 (diff) |
rules: call 'hwdb' with --subsystem= where appropriate
Diffstat (limited to 'rules/75-tty-description.rules')
-rw-r--r-- | rules/75-tty-description.rules | 2 |
1 files changed, 1 insertions, 1 deletions
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" |