From 4db539b27021dcaa716828cbb689f591adb5af23 Mon Sep 17 00:00:00 2001 From: Kay Sievers Date: Thu, 22 Mar 2012 03:44:57 +0100 Subject: [PATCH] rules: sound - set ID_ID for firewire devices --- rules/78-sound-card.rules | 2 ++ 1 file changed, 2 insertions(+) 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}" -- 2.39.5