From 861d0984d5b5e45d124572b41f18b4283789e4d2 Mon Sep 17 00:00:00 2001 From: Richard Hughes Date: Wed, 1 Jul 2015 11:45:25 +0100 Subject: [PATCH] Do not use the subsystem information when constructing the fake GUID This allows us to match the device with the standalone firmware. --- data/90-fwupd-devices.rules | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/data/90-fwupd-devices.rules b/data/90-fwupd-devices.rules index 1488478d1..888367681 100644 --- a/data/90-fwupd-devices.rules +++ b/data/90-fwupd-devices.rules @@ -24,4 +24,4 @@ ENV{FWUPD_GUID}=="*?", ENV{ID_MODEL}=="", IMPORT{builtin}="usb_id" ENV{FWUPD_GUID}=="*?", ENV{ID_MODEL_FROM_DATABASE}=="", IMPORT{builtin}="hwdb --subsystem=usb" # PCI cards with ROM -SUBSYSTEM=="pci", TEST=="/sys$devpath/rom", ENV{FWUPD_GUID}="$attr{vendor}:$attr{device}:$attr{subsystem_vendor}:$attr{subsystem_device}" +SUBSYSTEM=="pci", TEST=="/sys$devpath/rom", ENV{FWUPD_GUID}="$attr{vendor}:$attr{device}"