From 427c9ba24a8138ea3a9c17ebc661df9290dfbcf2 Mon Sep 17 00:00:00 2001 From: Kay Sievers Date: Wed, 21 Mar 2012 02:09:42 +0100 Subject: [PATCH] rules: sound - add vendor/model strings for firewire devices --- rules/78-sound-card.rules | 4 ++++ 1 file changed, 4 insertions(+) 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}" -- 2.39.5