]> err.no Git - systemd/commitdiff
rules: sound - add vendor/model strings for firewire devices
authorKay Sievers <kay.sievers@vrfy.org>
Wed, 21 Mar 2012 01:09:42 +0000 (02:09 +0100)
committerKay Sievers <kay.sievers@vrfy.org>
Wed, 21 Mar 2012 01:09:42 +0000 (02:09 +0100)
rules/78-sound-card.rules

index cca88f1ec35a8f008e6dfe79739c919502dd38a4..cc6485c28b454a8d39cb3fe19e7163211a6882f7 100644 (file)
@@ -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}"