[Bug 1510570] Re: Bluetooth LE pairing fail
Konrad ZapaĆowicz
konrad.zapalowicz at canonical.com
Wed Jan 10 12:45:11 UTC 2018
** Description changed:
[Impact]
When the Bluetooth adapter is not powered on it is not possible to use
it in normal way. We used to have a hack to force powering on by using
an udev rule but this doe snot work anymore. Luckily the BlueZ has
introduced "AutoEnable" option that makes the stack power on adapters by
itself.
Backporting this to xenial will improve life of the desktop users and
will not require them to hack the solution on their own. The fix itself
uses the well known solution to this problem that is floating around
there for a while.
The upload fixes the bug by enabling the 'AutoEnable' option in the
bluetoothd config file.
[Original Report]
. 15.10 we now have bluez 5 so we can pair BLE devices like the
Microsoft Arc Touch Bluetooth Mouse.
But this pairing doesn't work very well. Mouse is seen but pairing fail.
More information: https://bugzilla.kernel.org/show_bug.cgi?id=104011#c5
This is due to udev rule that use "hcitool" to power on device.
Hopefully, bluez 5.35 has a new parameter "AutoEnable" who can be used
instead of udev rules.
here is a commit with this parameter:
http://bazaar.launchpad.net/~guilhem-fr/bluez/autoenable/revision/138
[Test Case]
- Edit the /etc/bluetooth/main.conf and disable the 'AutoEnable' option.
- Remove file 50-bluetooth-hci-auto-poweron.rules located in
- /lib/udev/rules.d. Now reboot the machine. The BT adapter shall be
- powered off now.
+ On xenial install from ppa:
+ https://launchpad.net/~bluetooth/+archive/ubuntu/bluez
+
+ Now reboot the machine. The BT adapter shall be
+ powered on.
[Regression Potential]
- Cannot think of any
+ If things go wrong the adapter will not be powered on after the system
+ boots up. Therefore while testing please focus on the adapter state,
+ i.e. powered on or off.
[Other Info]
This fix is included in the development release, see:
http://bazaar.launchpad.net/~bluetooth/bluez/ubuntu-zesty/revision/22
** Description changed:
[Impact]
When the Bluetooth adapter is not powered on it is not possible to use
it in normal way. We used to have a hack to force powering on by using
an udev rule but this doe snot work anymore. Luckily the BlueZ has
introduced "AutoEnable" option that makes the stack power on adapters by
itself.
Backporting this to xenial will improve life of the desktop users and
will not require them to hack the solution on their own. The fix itself
uses the well known solution to this problem that is floating around
there for a while.
The upload fixes the bug by enabling the 'AutoEnable' option in the
bluetoothd config file.
[Original Report]
. 15.10 we now have bluez 5 so we can pair BLE devices like the
Microsoft Arc Touch Bluetooth Mouse.
But this pairing doesn't work very well. Mouse is seen but pairing fail.
More information: https://bugzilla.kernel.org/show_bug.cgi?id=104011#c5
This is due to udev rule that use "hcitool" to power on device.
Hopefully, bluez 5.35 has a new parameter "AutoEnable" who can be used
instead of udev rules.
here is a commit with this parameter:
http://bazaar.launchpad.net/~guilhem-fr/bluez/autoenable/revision/138
[Test Case]
On xenial install from ppa:
https://launchpad.net/~bluetooth/+archive/ubuntu/bluez
Now reboot the machine. The BT adapter shall be
powered on.
[Regression Potential]
If things go wrong the adapter will not be powered on after the system
boots up. Therefore while testing please focus on the adapter state,
i.e. powered on or off.
[Other Info]
This fix is included in the development release, see:
http://bazaar.launchpad.net/~bluetooth/bluez/ubuntu-zesty/revision/22
+
+ [What to upload]
+
+ For xenial as in:
+
+ ) https://launchpad.net/~bluetooth/+archive/ubuntu/bluez
+ ) https://launchpadlibrarian.net/347480725/bluez_5.37-0ubuntu5_5.37-0ubuntu5.2~build1.diff.gz
--
You received this bug notification because you are a member of
Bluetooth, which is subscribed to bluez in Ubuntu.
https://bugs.launchpad.net/bugs/1510570
Title:
Bluetooth LE pairing fail
To manage notifications about this bug go to:
https://bugs.launchpad.net/oem-priority/+bug/1510570/+subscriptions
More information about the Ubuntu-bluetooth
mailing list