[bluetooth] device can't auto reconnect when turned on as it's not trusted
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
ubuntu-system-settings (Ubuntu) |
Fix Released
|
Medium
|
Mathieu Trudel-Lapierre |
Bug Description
current build number: 87
device name: flo
channel: ubuntu-
last update: 2014-06-18 15:21:48
version version: 87
version ubuntu: 20140618
version device: 20140530
After successfully creating a connection with a device (soundlink mini bose), it can't auto reconnect once the device is turned on again.
bluetoothd logs:
Jun 18 18:23:42 ubuntu-phablet bluetoothd[2244]: src/adapter.
Jun 18 18:23:42 ubuntu-phablet bluetoothd[2244]: src/adapter.
Jun 18 18:23:42 ubuntu-phablet bluetoothd[2244]: plugins/
Jun 18 18:23:42 ubuntu-phablet bluetoothd[2244]: plugins/
Jun 18 18:23:42 ubuntu-phablet bluetoothd[2244]: Stopping discovery
Jun 18 18:23:42 ubuntu-phablet bluetoothd[2244]: plugins/
Jun 18 18:23:44 ubuntu-phablet bluetoothd[2244]: plugins/
Jun 18 18:23:44 ubuntu-phablet bluetoothd[2244]: src/adapter.
Jun 18 18:23:45 ubuntu-phablet bluetoothd[2244]: plugins/
Jun 18 18:23:45 ubuntu-phablet bluetoothd[2244]: plugins/
Jun 18 18:23:45 ubuntu-phablet bluetoothd[2244]: plugins/
Jun 18 18:23:45 ubuntu-phablet bluetoothd[2244]: plugins/
Jun 18 18:23:45 ubuntu-phablet bluetoothd[2244]: plugins/
Jun 18 18:23:45 ubuntu-phablet bluetoothd[2244]: plugins/
Jun 18 18:23:45 ubuntu-phablet bluetoothd[2244]: plugins/
Jun 18 18:23:45 ubuntu-phablet bluetoothd[2244]: plugins/
Jun 18 18:23:45 ubuntu-phablet bluetoothd[2244]: audio/avdtp.
Jun 18 18:23:45 ubuntu-phablet bluetoothd[2244]: audio/sink.
Jun 18 18:23:45 ubuntu-phablet bluetoothd[2244]: Can't find device agent
Jun 18 18:23:45 ubuntu-phablet bluetoothd[2244]: audio/sink.
Jun 18 18:23:45 ubuntu-phablet bluetoothd[2244]: audio/avdtp.
Jun 18 18:23:45 ubuntu-phablet bluetoothd[2244]: audio/avdtp.
Jun 18 18:23:45 ubuntu-phablet bluetoothd[2244]: audio/avdtp.
Jun 18 18:23:45 ubuntu-phablet bluetoothd[2244]: audio/avdtp.
Jun 18 18:23:45 ubuntu-phablet bluetoothd[2244]: audio/sink.
Jun 18 18:23:45 ubuntu-phablet bluetoothd[2244]: Can't find device agent
Jun 18 18:23:45 ubuntu-phablet bluetoothd[2244]: audio/sink.
Jun 18 18:23:45 ubuntu-phablet bluetoothd[2244]: audio/avdtp.
Jun 18 18:23:45 ubuntu-phablet bluetoothd[2244]: audio/avdtp.
Jun 18 18:23:45 ubuntu-phablet bluetoothd[2244]: audio/avdtp.
Jun 18 18:23:45 ubuntu-phablet bluetoothd[2244]: plugins/
Jun 18 18:23:45 ubuntu-phablet bluetoothd[2244]: plugins/
Jun 18 18:23:45 ubuntu-phablet bluetoothd[2244]: plugins/
Jun 18 18:23:45 ubuntu-phablet bluetoothd[2244]: plugins/
Jun 18 18:23:45 ubuntu-phablet bluetoothd[2244]: plugins/
Jun 18 18:23:45 ubuntu-phablet bluetoothd[2244]: plugins/
Jun 18 18:23:45 ubuntu-phablet bluetoothd[2244]: plugins/
Jun 18 18:23:45 ubuntu-phablet bluetoothd[2244]: src/adapter.
Jun 18 18:23:45 ubuntu-phablet bluetoothd[2244]: src/device.
Jun 18 18:23:45 ubuntu-phablet bluetoothd[2244]: audio/avdtp.
Jun 18 18:23:45 ubuntu-phablet bluetoothd[2244]: audio/sink.
Jun 18 18:23:45 ubuntu-phablet bluetoothd[2244]: Can't find device agent
Jun 18 18:23:45 ubuntu-phablet bluetoothd[2244]: audio/sink.
Jun 18 18:23:45 ubuntu-phablet bluetoothd[2244]: audio/avdtp.
Jun 18 18:23:45 ubuntu-phablet bluetoothd[2244]: audio/avdtp.
Jun 18 18:23:45 ubuntu-phablet bluetoothd[2244]: audio/avdtp.
Jun 18 18:23:45 ubuntu-phablet bluetoothd[2244]: audio/avdtp.
Jun 18 18:23:45 ubuntu-phablet bluetoothd[2244]: audio/sink.
Jun 18 18:23:45 ubuntu-phablet bluetoothd[2244]: Can't find device agent
Jun 18 18:23:45 ubuntu-phablet bluetoothd[2244]: audio/sink.
Jun 18 18:23:45 ubuntu-phablet bluetoothd[2244]: audio/avdtp.
Jun 18 18:23:45 ubuntu-phablet bluetoothd[2244]: audio/avdtp.
Jun 18 18:23:45 ubuntu-phablet bluetoothd[2244]: audio/avdtp.
Jun 18 18:23:46 ubuntu-phablet bluetoothd[2244]: audio/avdtp.
Jun 18 18:23:46 ubuntu-phablet bluetoothd[2244]: audio/sink.
Jun 18 18:23:46 ubuntu-phablet bluetoothd[2244]: Can't find device agent
Jun 18 18:23:46 ubuntu-phablet bluetoothd[2244]: audio/sink.
Jun 18 18:23:46 ubuntu-phablet bluetoothd[2244]: audio/avdtp.
Jun 18 18:23:46 ubuntu-phablet bluetoothd[2244]: audio/avdtp.
Jun 18 18:23:46 ubuntu-phablet bluetoothd[2244]: audio/avdtp.
Jun 18 18:23:46 ubuntu-phablet bluetoothd[2244]: plugins/
Jun 18 18:23:46 ubuntu-phablet bluetoothd[2244]: src/event.
Jun 18 18:23:46 ubuntu-phablet bluetoothd[2244]: src/adapter.
Related branches
- Charles Kerr (community): Approve
- PS Jenkins bot: Approve (continuous-integration)
-
Diff: 452 lines (+201/-6)7 files modifiedplugins/bluetooth/PageComponent.qml (+45/-1)
plugins/bluetooth/bluetooth.cpp (+20/-2)
plugins/bluetooth/bluetooth.h (+10/-0)
plugins/bluetooth/device.cpp (+25/-0)
plugins/bluetooth/device.h (+9/-0)
plugins/bluetooth/devicemodel.cpp (+74/-0)
plugins/bluetooth/devicemodel.h (+18/-3)
After setting trusted to yes, it worked fine:
python3 `which bluez-test-device` trusted 00:0C:8A:B5:21:56 yes