linux-bluetooth.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* Bluez needs configuration mechanism for not running hid2hci
@ 2011-06-03 21:18 Peter Hurley
  0 siblings, 0 replies; only message in thread
From: Peter Hurley @ 2011-06-03 21:18 UTC (permalink / raw)
  To: linux-bluetooth@vger.kernel.org; +Cc: martin.pitt@ubuntu.com

Related to my earlier patch for the udev rules here
<http://marc.info/?l=linux-bluetooth&m=130713440317947&w=2>,

Bluez needs a configurable way of *NOT* running hid2hci.

Currently, if a device *is capable* of switching to HCI mode, it _is_
switched to HCI mode. There are several problems with this approach:

1. Multi-boot systems. Since each host OS currently has different link
keys (or if the host names are different), *on each cross-boot*
bluetooth devices must be re-paired.
2. Input devices. Currently, after hid2hci switches modes, there is no
reliable way to pair input devices *without non-bluetooth input
devices*. This means that users with access to bluetooth keyboard and
mouse *only* should leave those devices in HID mode.

Pre-udev, /etc/bluetooth/main.conf had HID2HCI_ENABLE= to enable/disable
this behavior.

Now, there's nothing - and this is the source of *a lot* of distro bug
reports. Here's a spattering from Ubuntu only:
https://bugs.launchpad.net/ubuntu/lucid/+source/udev/+bug/444420
https://bugs.launchpad.net/ubuntu/lucid/+source/udev/+bug/550288
https://bugs.launchpad.net/ubuntu/+source/udev/+bug/658471

The solutions people come up with is to, in-essence, blacklist HCI mode
for other users!

Ideas?

Regards,
Peter Hurley

^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2011-06-03 21:18 UTC | newest]

Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2011-06-03 21:18 Bluez needs configuration mechanism for not running hid2hci Peter Hurley

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).