diff options
author | Kay Sievers <kay.sievers@vrfy.org> | 2012-03-21 02:09:42 +0100 |
---|---|---|
committer | Kay Sievers <kay.sievers@vrfy.org> | 2012-03-21 02:09:42 +0100 |
commit | 427c9ba24a8138ea3a9c17ebc661df9290dfbcf2 (patch) | |
tree | b59acefeaa7a8f31e20d906ac60a4dad49f3f8de | |
parent | a3a304ddc090db59cb3be0dcbf1c0d83fe84c33a (diff) |
rules: sound - add vendor/model strings for firewire devices
-rw-r--r-- | rules/78-sound-card.rules | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/rules/78-sound-card.rules b/rules/78-sound-card.rules index cca88f1ec3..cc6485c28b 100644 --- a/rules/78-sound-card.rules +++ b/rules/78-sound-card.rules @@ -41,6 +41,10 @@ SUBSYSTEMS=="usb", IMPORT{builtin}="usb_id" SUBSYSTEMS=="usb", IMPORT{builtin}="usb-db" SUBSYSTEMS=="usb", GOTO="skip_pci" +SUBSYSTEMS=="firewire", ATTRS{vendor_name}=="?*", ATTRS{model_name}=="?*", \ + ENV{ID_BUS}="firewire", ENV{ID_VENDOR}="$attr{vendor_name}", ENV{ID_MODEL}="$attr{model_name}" +SUBSYSTEMS=="firewire", GOTO="skip_pci" + SUBSYSTEMS=="pci", IMPORT{builtin}="pci-db" SUBSYSTEMS=="pci", ENV{ID_BUS}="pci", ENV{ID_VENDOR_ID}="$attr{vendor}", ENV{ID_MODEL_ID}="$attr{device}" |