1 |
# /etc/udev/rules/70-hid2hci.rules: device naming rules for udev |
# /etc/udev/rules/70-hid2hci.rules: device naming rules for udev |
2 |
# $Header: /root/magellan-cvs/src/udev/udev-hid2hci.rules.magellan,v 1.2 2010-04-06 23:46:22 niro Exp $ |
# $Header: /root/magellan-cvs/src/udev/udev-hid2hci.rules.magellan,v 1.3 2010-08-18 02:24:12 niro Exp $ |
3 |
# |
# |
4 |
# There are a number of modifiers that are allowed to be used in some |
# There are a number of modifiers that are allowed to be used in some |
5 |
# of the different fields. They provide the following subsitutions: |
# of the different fields. They provide the following subsitutions: |
18 |
# file that can be run before this one. |
# file that can be run before this one. |
19 |
# |
# |
20 |
|
|
21 |
ACTION!="add|change", GOTO="hid2hci_end" |
ACTION=="remove", GOTO="hid2hci_end" |
22 |
SUBSYSTEM!="usb", GOTO="hid2hci_end" |
SUBSYSTEM!="usb", GOTO="hid2hci_end" |
23 |
|
|
24 |
# Variety of Dell Bluetooth devices - match on a mouse device that is |
# Variety of Dell Bluetooth devices - match on a mouse device that is |
28 |
ATTRS{bDeviceClass}=="00", ATTRS{idVendor}=="413c", ATTRS{bmAttributes}=="e0", \ |
ATTRS{bDeviceClass}=="00", ATTRS{idVendor}=="413c", ATTRS{bmAttributes}=="e0", \ |
29 |
RUN+="hid2hci --method=dell --devpath=%p", ENV{HID2HCI_SWITCH}="1" |
RUN+="hid2hci --method=dell --devpath=%p", ENV{HID2HCI_SWITCH}="1" |
30 |
|
|
31 |
# Logitech devices (hidraw) |
# Logitech devices |
32 |
KERNEL=="hidraw*", ATTRS{idVendor}=="046d", ATTRS{idProduct}=="c70[345abce]|c71[34bc]", \ |
KERNEL=="hiddev*", ATTRS{idVendor}=="046d", ATTRS{idProduct}=="c70[35e]", \ |
33 |
|
RUN+="hid2hci --method=logitech-hid --devpath=%p" |
34 |
|
KERNEL=="hidraw*", ATTRS{idVendor}=="046d", ATTRS{idProduct}=="c70[4abc]|c71[34bc]", \ |
35 |
RUN+="hid2hci --method=logitech-hid --devpath=%p" |
RUN+="hid2hci --method=logitech-hid --devpath=%p" |
36 |
|
|
37 |
ENV{DEVTYPE}!="usb_device", GOTO="hid2hci_end" |
ENV{DEVTYPE}!="usb_device", GOTO="hid2hci_end" |