bluetoothd slows boot

Bug #1424217 reported by ctrl
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
bluez (Ubuntu)
New
Undecided
Unassigned

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 post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.