#UDEV Rules to match on Bluetooth USB dongles that need to be switched to HCI mode upon #being plugged into the PC's USB bus. #This rule covers a variety of Dell Bluetooth adapters # 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. ACTION=="add", ENV{ID_VENDOR}=="413c", ENV{ID_CLASS}=="mouse", ATTRS{bmAttributes}=="e0", KERNEL=="mouse*", RUN+="/usr/sbin/hid2hci --tohci"