home *** CD-ROM | disk | FTP | other *** search
/ Mac Easy 2010 May / Mac Life Ubuntu.iso / casper / filesystem.squashfs / lib / udev / rules.d / 62-bluez-hid2hci.rules < prev    next >
Encoding:
Text File  |  2009-04-24  |  493 b   |  9 lines

  1. #UDEV Rules to match on Bluetooth USB dongles that need to be switched to HCI mode upon
  2. #being plugged into the PC's USB bus.
  3.  
  4. #This rule covers a variety of Dell Bluetooth adapters
  5. # it looks like a bit of an odd rule, because it is matching
  6. # on a mouse device that is self powered, but that is where
  7. # a HID report needs to be sent to switch modes.
  8. ACTION=="add", ENV{ID_VENDOR}=="413c", ENV{ID_CLASS}=="mouse", ATTRS{bmAttributes}=="e0", KERNEL=="mouse*", RUN+="/usr/sbin/hid2hci --tohci"
  9.