Blame SOURCES/0001-hid2hci-change-subsystem-in-udev-rule-from-usb-to-us.patch

19062e
From d557e0d956d69318664ed5d1c3e4a765da24bc2a Mon Sep 17 00:00:00 2001
19062e
From: Alexander Holler <holler@ahsoftware.de>
19062e
Date: Tue, 20 Nov 2012 12:47:08 +0100
19062e
Subject: [PATCH] hid2hci: change subsystem in udev rule from usb to usb*
19062e
19062e
With kernel 3.6 (commit 7e97243c2080ecae7129e83635227fdebd4feef6) the
19062e
class for some devices (e.g. dongles from Logitech) were changed from
19062e
usb to usbmisc. As consequence the udev rule for hid2hci didn't work
19062e
anymore with kernels >= 3.6.
19062e
19062e
Changing the subsystem from "usb" to "usb*" matches both "usb" and
19062e
"usbmisc" and works with all kernels.
19062e
---
19062e
 scripts/bluetooth-hid2hci.rules | 2 +-
19062e
 1 file changed, 1 insertion(+), 1 deletion(-)
19062e
19062e
diff --git a/scripts/bluetooth-hid2hci.rules b/scripts/bluetooth-hid2hci.rules
19062e
index 0687c8a..db6bb03 100644
19062e
--- a/scripts/bluetooth-hid2hci.rules
19062e
+++ b/scripts/bluetooth-hid2hci.rules
19062e
@@ -1,7 +1,7 @@
19062e
 # do not edit this file, it will be overwritten on update
19062e
 
19062e
 ACTION=="remove", GOTO="hid2hci_end"
19062e
-SUBSYSTEM!="usb", GOTO="hid2hci_end"
19062e
+SUBSYSTEM!="usb*", GOTO="hid2hci_end"
19062e
 
19062e
 # Variety of Dell Bluetooth devices - match on a mouse device that is
19062e
 # self powered and where a HID report needs to be sent to switch modes
19062e
-- 
19062e
1.8.0
19062e