bluez/scripts
Peter Hurley 63c3e0561a Fix udev rule for Logitech devices
The *real* history of this file is a nightmare. Now that it's
back in the bluez project, fix the problems that were added
while it was in udev.

1) Only hiddev* devices provide the ioctl interface hid2hci uses
to switch from HID->HCI for --method=logitech-hid.  (inquiring
minds can look in the kernel git tree at drivers/hid/usbhid/hiddev.c)
2) hidraw* devices don't belong to subsystem=usb (they are
subsystem=hidraw).  This means that the udev rule that matched based on
hidraw* would never have been run anyway because of the early-out
subsystem!=usb on line 4.

This fix is going to cause major regressions in distros because there
is currently no way provided by bluez to *NOT* run hid2hci.

Many, many users (and maintainers) mistakenly believe that because
the keyboard and mouse works when the vid/pid of their device is matched
by the hidraw* rule, that "bluetooth" must be working. Of course, what's
really happening is the keyboard and mouse are working as HID input
devices instead.
2011-06-09 13:26:46 +09:00
..
bluetooth_serial Update serial PCMCIA bases card support 2006-10-01 16:11:34 +00:00
bluetooth-hid2hci.rules Fix udev rule for Logitech devices 2011-06-09 13:26:46 +09:00
bluetooth-serial.rules Add support for running hid2hci from udev 2009-05-16 06:33:40 -07:00
bluetooth.rules.in Also run bluetoothd on udev change events 2010-09-22 22:26:02 +03:00