← Back to team overview

debcrafters-packages team mailing list archive

[Bug 2119741] Re: Bluetooth device does not reconnect after being paired

 

Hi chris,

> What is a non-BR/EDR device?
Bluetooth Low Energy devices. My BT mouse for example works with BLE (using HOGP ( = HID over GATT) ).

> Is there a user-preference for auto-connect that this might override?
I would go so far and say it establishes what you expect. This change activates the autoconnect when pairing a device.


My understanding of this so far is the following:

Devices discovered by advertising (BLE devices) are not to be
autoconnected per default. If a device autoconnects was originally
decided in the service probing. This part has been reworked and the
check for autoconnecting BLE discovered devices got deleted. This change
addresses this issue now in the device pairing function. So when you
pair a BLE device you discovered by advertisement it also sets the
autoconnect flag explicitly. This reflects the original state before the
code change which introduced this.

I hope I could clear this up and not more confusing

-- 
You received this bug notification because you are a member of
Debcrafters packages, which is subscribed to bluez in Ubuntu.
https://bugs.launchpad.net/bugs/2119741

Title:
  Bluetooth device does not reconnect after being paired

Status in bluez package in Ubuntu:
  Fix Released
Status in bluez source package in Jammy:
  Invalid
Status in bluez source package in Noble:
  Incomplete
Status in bluez source package in Plucky:
  Fix Released
Status in bluez source package in Questing:
  Fix Released

Bug description:
  [ Impact ]

   * Bluetooth mouse does not reconnect after turning bluetooth off and
  on on the ubuntu machine after pairing the device.

   * If you forget the device and re-pair it, it works until the next
  bluetooth disconnect.

  [ Test Plan ]

   * Make sure the device is not already paired

   * Pair it, move the mouse. It should work.

   * Turn off bluetooth and turn it back on.

   * The device should reconnect when used.

  [ Where problems could occur ]

   * The change modifies that each paired non BR/EDR device gets
  autoconnect set to true. This could lead to devices which were not
  autoconnecting before, to autoconnect now when they are re-paired.

  [ Other Info ]

   * This issue is already patched in questing and plucky

   * We were unable to reproduce the issue using jammy bluez version

   * This is a fix by including
  https://github.com/bluez/bluez/commit/39467578207889fd015775cbe81a3db9dd26abea
  from upstream

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/bluez/+bug/2119741/+subscriptions



References