From: Kay Sievers Date: Wed, 21 Mar 2012 01:09:42 +0000 (+0100) Subject: rules: sound - add vendor/model strings for firewire devices X-Git-Tag: v183~456^2~3 X-Git-Url: https://err.no/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=427c9ba24a8138ea3a9c17ebc661df9290dfbcf2;p=systemd rules: sound - add vendor/model strings for firewire devices --- diff --git a/rules/78-sound-card.rules b/rules/78-sound-card.rules index cca88f1e..cc6485c2 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}"