summaryrefslogtreecommitdiff
path: root/rules/78-sound-card.rules
diff options
context:
space:
mode:
authorKay Sievers <kay.sievers@vrfy.org>2012-03-22 03:44:57 +0100
committerKay Sievers <kay.sievers@vrfy.org>2012-03-22 03:46:16 +0100
commit4db539b27021dcaa716828cbb689f591adb5af23 (patch)
tree61a209dd1a9a44391964cd0087516a73a5f545f7 /rules/78-sound-card.rules
parent8482018afc5d11f45badf4952a6134a5cc4b1ee2 (diff)
rules: sound - set ID_ID for firewire devices
Diffstat (limited to 'rules/78-sound-card.rules')
-rw-r--r--rules/78-sound-card.rules2
1 files changed, 2 insertions, 0 deletions
diff --git a/rules/78-sound-card.rules b/rules/78-sound-card.rules
index cc6485c28b..e564441893 100644
--- a/rules/78-sound-card.rules
+++ b/rules/78-sound-card.rules
@@ -43,8 +43,10 @@ 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", ATTRS{guid}=="?*", ENV{ID_ID}="firewire-$attr{guid}"
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}"