← Back to team overview

touch-packages team mailing list archive

[Bug 1424217] [NEW] bluetoothd slows boot

 

Public bug reported:

I configured 4 bluetooth headsets as audio sinks on my pc and they work
as they should.

Anyway, bluetoothd (version 4.101-0ubuntu13.1 on Ubuntu 14.04.2 LTS)
tries to connect to all these headsets during startup, delaying boot by
20+ seconds.

Feb 21 17:22:33 pc bluetoothd[607]: Adapter /org/bluez/607/hci0 has been enabled
Feb 21 17:22:40 pc bluetoothd[607]: Host is down (112)
Feb 21 17:22:40 pc bluetoothd[607]: discovery failed
Feb 21 17:22:45 pc bluetoothd[607]: Host is down (112)
Feb 21 17:22:45 pc bluetoothd[607]: discovery failed
Feb 21 17:22:50 pc bluetoothd[607]: Host is down (112)
Feb 21 17:22:50 pc bluetoothd[607]: discovery failed
Feb 21 17:22:56 pc bluetoothd[607]: Host is down (112)
Feb 21 17:22:56 pc bluetoothd[607]: discovery failed

If I don't connect the usb bt adapter, the boot process is fast. If I
connect it after the system has booted, bluetoothd does not try to
enumerate the headsets, but as soon as I try to use one of them, it
connects and works, so I don't understand why it should delay everything
in the other case.

Feb 21 18:12:08 pc bluetoothd[546]: Adapter /org/bluez/546/hci0 has been enabled
Feb 21 18:13:28 pc kernel: [  120.038610] input: 00:18:6B:66:24:1E as /devices/virtual/input/input11

There should be maybe an option to disable discovery during bluetoothd
startup (I couldn't find one).

** Affects: bluez (Ubuntu)
     Importance: Undecided
         Status: New


** Tags: bluetooth bluez boot delay headsets slow

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

Title:
  bluetoothd slows boot

Status in bluez package in Ubuntu:
  New

Bug description:
  I configured 4 bluetooth headsets as audio sinks on my pc and they
  work as they should.

  Anyway, bluetoothd (version 4.101-0ubuntu13.1 on Ubuntu 14.04.2 LTS)
  tries to connect to all these headsets during startup, delaying boot
  by 20+ seconds.

  Feb 21 17:22:33 pc bluetoothd[607]: Adapter /org/bluez/607/hci0 has been enabled
  Feb 21 17:22:40 pc bluetoothd[607]: Host is down (112)
  Feb 21 17:22:40 pc bluetoothd[607]: discovery failed
  Feb 21 17:22:45 pc bluetoothd[607]: Host is down (112)
  Feb 21 17:22:45 pc bluetoothd[607]: discovery failed
  Feb 21 17:22:50 pc bluetoothd[607]: Host is down (112)
  Feb 21 17:22:50 pc bluetoothd[607]: discovery failed
  Feb 21 17:22:56 pc bluetoothd[607]: Host is down (112)
  Feb 21 17:22:56 pc bluetoothd[607]: discovery failed

  If I don't connect the usb bt adapter, the boot process is fast. If I
  connect it after the system has booted, bluetoothd does not try to
  enumerate the headsets, but as soon as I try to use one of them, it
  connects and works, so I don't understand why it should delay
  everything in the other case.

  Feb 21 18:12:08 pc bluetoothd[546]: Adapter /org/bluez/546/hci0 has been enabled
  Feb 21 18:13:28 pc kernel: [  120.038610] input: 00:18:6B:66:24:1E as /devices/virtual/input/input11

  There should be maybe an option to disable discovery during bluetoothd
  startup (I couldn't find one).

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


Follow ups

References