From: Kay Sievers Date: Thu, 22 Mar 2012 02:44:57 +0000 (+0100) Subject: rules: sound - set ID_ID for firewire devices X-Git-Tag: v183~456^2 X-Git-Url: https://err.no/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=4db539b27021dcaa716828cbb689f591adb5af23;p=systemd rules: sound - set ID_ID for firewire devices --- diff --git a/rules/78-sound-card.rules b/rules/78-sound-card.rules index cc6485c2..e5644418 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}"