chiark / gitweb /
Merge branch 'master' of git+ssh://master.kernel.org/pub/scm/linux/hotplug/udev
[elogind.git] / extras / hid2hci / 70-hid2hci.rules
1 # do not edit this file, it will be overwritten on update
2
3 ACTION!="add", GOTO="hid2hci_end"
4 SUBSYSTEM!="usb", GOTO="hid2hci_end"
5
6 # Variety of Dell Bluetooth devices - it looks like a bit of an odd rule,
7 # because it is matching on a mouse device that is self powered, but that
8 # is where a HID report needs to be sent to switch modes.
9 #
10 # Known supported devices: 413c:8154, 413c:8158, 413c:8162
11 ATTR{bInterfaceProtocol}=="02", ATTRS{idVendor}=="413c", ATTRS{bmAttributes}=="e0", \
12     RUN+="hid2hci --method dell -v $attr{idVendor} -p $attr{idProduct} --mode hci"
13
14 ENV{DEVTYPE}!="usb_device", GOTO="hid2hci_end"
15
16 # Logitech devices
17 ATTR{idVendor}=="046d", ATTR{idProduct}=="c70[345abce]", RUN+="hid2hci --method logitech -v $attr{idVendor} -p $attr{idProduct} --mode hci"
18 ATTR{idVendor}=="046d", ATTR{idProduct}=="c71[34bc]", RUN+="hid2hci --method logitech -v $attr{idVendor} -p $attr{idProduct} --mode hci"
19
20 # CSR devices (in HID mode)
21 ATTR{idVendor}=="0a12", ATTR{idProduct}=="1000", RUN+="hid2hci --method csr -v $attr{idVendor} -p $attr{idProduct} --mode hci"
22 ATTR{idVendor}=="0458", ATTR{idProduct}=="1000", RUN+="hid2hci --method csr -v $attr{idVendor} -p $attr{idProduct} --mode hci"
23 ATTR{idVendor}=="05ac", ATTR{idProduct}=="1000", RUN+="hid2hci --method csr -v $attr{idVendor} -p $attr{idProduct} --mode hci"
24
25 LABEL="hid2hci_end"