summaryrefslogtreecommitdiff
path: root/extras/hid2hci/70-hid2hci.rules
diff options
context:
space:
mode:
authorMario Limonciello <mario_limonciello@dell.com>2009-06-16 19:30:22 +0200
committerKay Sievers <kay.sievers@vrfy.org>2009-06-16 19:30:22 +0200
commitbe51950dc4c20ba35af26e4d4d16c5298629e7a3 (patch)
tree1655578ba6cff2b178658d0d48ee8c32741482db /extras/hid2hci/70-hid2hci.rules
parent0303f35723f75157d8ef05be4d28b425aaa2fc45 (diff)
hid2hci: move from udev-extras
Diffstat (limited to 'extras/hid2hci/70-hid2hci.rules')
-rw-r--r--extras/hid2hci/70-hid2hci.rules25
1 files changed, 25 insertions, 0 deletions
diff --git a/extras/hid2hci/70-hid2hci.rules b/extras/hid2hci/70-hid2hci.rules
new file mode 100644
index 0000000000..2cb2746050
--- /dev/null
+++ b/extras/hid2hci/70-hid2hci.rules
@@ -0,0 +1,25 @@
+# do not edit this file, it will be overwritten on update
+
+ACTION!="add", GOTO="hid2hci_end"
+SUBSYSTEM!="usb", GOTO="hid2hci_end"
+
+# Variety of Dell Bluetooth devices - it looks like a bit of an odd rule,
+# because it is matching on a mouse device that is self powered, but that
+# is where a HID report needs to be sent to switch modes.
+#
+# Known supported devices: 413c:8154, 413c:8158, 413c:8162
+ATTR{bInterfaceProtocol}=="02", ATTRS{idVendor}=="413c", ATTRS{bmAttributes}=="e0", \
+ RUN+="hid2hci --method dell -v $attr{idVendor} -p $attr{idProduct} --mode hci"
+
+ENV{DEVTYPE}!="usb_device", GOTO="hid2hci_end"
+
+# Logitech devices
+ATTR{idVendor}=="046d", ATTR{idProduct}=="c70[345abce]", RUN+="hid2hci --method logitech -v $attr{idVendor} -p $attr{idProduct} --mode hci"
+ATTR{idVendor}=="046d", ATTR{idProduct}=="c71[34bc]", RUN+="hid2hci --method logitech -v $attr{idVendor} -p $attr{idProduct} --mode hci"
+
+# CSR devices (in HID mode)
+ATTR{idVendor}=="0a12", ATTR{idProduct}=="1000", RUN+="hid2hci --method csr -v $attr{idVendor} -p $attr{idProduct} --mode hci"
+ATTR{idVendor}=="0458", ATTR{idProduct}=="1000", RUN+="hid2hci --method csr -v $attr{idVendor} -p $attr{idProduct} --mode hci"
+ATTR{idVendor}=="05ac", ATTR{idProduct}=="1000", RUN+="hid2hci --method csr -v $attr{idVendor} -p $attr{idProduct} --mode hci"
+
+LABEL="hid2hci_end"