bluez: fix udev rule for logitech keyboard support, this should fix #2599

Signed-off-by: Stephan Raue <stephan@openelec.tv>
This commit is contained in:
Stephan Raue 2013-09-23 15:45:16 +02:00
parent f740b7f8b0
commit dd1e898c7c

View File

@ -0,0 +1,12 @@
diff -Naur bluez-5.8/tools/hid2hci.rules bluez-5.8.patch/tools/hid2hci.rules
--- bluez-5.8/tools/hid2hci.rules 2012-12-24 18:46:55.000000000 +0100
+++ bluez-5.8.patch/tools/hid2hci.rules 2013-09-23 15:34:52.148848897 +0200
@@ -11,7 +11,7 @@
RUN+="hid2hci --method=dell --devpath=%p", ENV{HID2HCI_SWITCH}="1"
# Logitech devices
-KERNEL=="hiddev*", ATTRS{idVendor}=="046d", ATTRS{idProduct}=="c70[345abce]|c71[34bc]", \
+KERNEL=="hiddev*|hidraw*", ATTRS{idVendor}=="046d", ATTRS{idProduct}=="c70[345abce]|c71[34bc]", \
RUN+="hid2hci --method=logitech-hid --devpath=%p"
ENV{DEVTYPE}!="usb_device", GOTO="hid2hci_end"