[bluetooth] can't connect to headset
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
ubuntu-system-settings (Ubuntu) |
Fix Released
|
High
|
Mathieu Trudel-Lapierre |
Bug Description
Using the current code available at https:/
Follows the syslog:
After powering up my device (see that it tries to connect to the host)
Jul 22 18:50:08 ubuntu-phablet bluetoothd[2531]: audio/telephony
Jul 22 18:50:32 ubuntu-phablet bluetoothd[2531]: plugins/
Jul 22 18:50:32 ubuntu-phablet bluetoothd[2531]: plugins/
Jul 22 18:50:32 ubuntu-phablet bluetoothd[2531]: plugins/
Jul 22 18:50:32 ubuntu-phablet bluetoothd[2531]: plugins/
Jul 22 18:50:32 ubuntu-phablet bluetoothd[2531]: plugins/
Jul 22 18:50:32 ubuntu-phablet bluetoothd[2531]: src/adapter.
Jul 22 18:50:32 ubuntu-phablet bluetoothd[2531]: src/adapter.
Jul 22 18:50:32 ubuntu-phablet bluetoothd[2531]: src/device.
Jul 22 18:50:32 ubuntu-phablet bluetoothd[2531]: src/device.
Jul 22 18:50:32 ubuntu-phablet bluetoothd[2531]: src/device.
Jul 22 18:50:32 ubuntu-phablet bluetoothd[2531]: src/device.
Jul 22 18:50:32 ubuntu-phablet bluetoothd[2531]: No agent available for request type 0
Jul 22 18:50:32 ubuntu-phablet bluetoothd[2531]: PIN code negative reply: Operation not permitted
Jul 22 18:50:32 ubuntu-phablet pulseaudio[1639]: [pulseaudio] bluetooth-util.c: dbus: interface=
Jul 22 18:50:32 ubuntu-phablet pulseaudio[1639]: [pulseaudio] bluetooth-util.c: Device /org/bluez/
Jul 22 18:50:32 ubuntu-phablet bluetoothd[2531]: plugins/
Jul 22 18:50:32 ubuntu-phablet bluetoothd[2531]: src/event.
Jul 22 18:50:32 ubuntu-phablet bluetoothd[2531]: src/device.
Jul 22 18:50:32 ubuntu-phablet bluetoothd[2531]: src/device.
Jul 22 18:50:32 ubuntu-phablet bluetoothd[2531]: src/device.
Jul 22 18:50:32 ubuntu-phablet bluetoothd[2531]: plugins/
Jul 22 18:50:32 ubuntu-phablet pulseaudio[1639]: [pulseaudio] bluetooth-util.c: dbus: interface=
Jul 22 18:50:32 ubuntu-phablet pulseaudio[1639]: [pulseaudio] bluetooth-util.c: Device /org/bluez/
Jul 22 18:50:33 ubuntu-phablet dbus[870]: [system] Activating service name='com.
Jul 22 18:50:33 ubuntu-phablet dbus[870]: [system] Successfully activated service 'com.canonical.
When trying to connect from the system-settings UI:
Jul 22 18:50:54 ubuntu-phablet bluetoothd[2531]: plugins/
Jul 22 18:50:54 ubuntu-phablet bluetoothd[2531]: plugins/
Jul 22 18:50:54 ubuntu-phablet bluetoothd[2531]: Discovery session 0xb71b3b30 with :1.66 activated
Jul 22 18:50:54 ubuntu-phablet bluetoothd[2531]: src/adapter.
Jul 22 18:50:54 ubuntu-phablet bluetoothd[2531]: plugins/
Jul 22 18:50:55 ubuntu-phablet bluetoothd[2531]: plugins/
Jul 22 18:50:56 ubuntu-phablet kernel: [ 82.068060] healthd: battery l=95 v=4252 t=38.3 h=2 st=2 c=200 chg=u
Jul 22 18:51:02 ubuntu-phablet bluetoothd[2531]: src/adapter.
Jul 22 18:51:02 ubuntu-phablet bluetoothd[2531]: src/adapter.
Jul 22 18:51:02 ubuntu-phablet bluetoothd[2531]: src/adapter.
Jul 22 18:51:02 ubuntu-phablet bluetoothd[2531]: plugins/
Jul 22 18:51:02 ubuntu-phablet bluetoothd[2531]: plugins/
Jul 22 18:51:02 ubuntu-phablet bluetoothd[2531]: Stopping discovery
Jul 22 18:51:02 ubuntu-phablet bluetoothd[2531]: src/adapter.
Jul 22 18:51:02 ubuntu-phablet bluetoothd[2531]: src/device.
Jul 22 18:51:02 ubuntu-phablet bluetoothd[2531]: src/device.
Jul 22 18:51:02 ubuntu-phablet bluetoothd[2531]: src/device.
Jul 22 18:51:02 ubuntu-phablet bluetoothd[2531]: src/device.
Jul 22 18:51:02 ubuntu-phablet bluetoothd[2531]: src/device.
Jul 22 18:51:02 ubuntu-phablet bluetoothd[2531]: plugins/
Jul 22 18:51:02 ubuntu-phablet kernel: [ 87.840012] l2cap_sock_connect: failed -115
Jul 22 18:51:02 ubuntu-phablet pulseaudio[1639]: [pulseaudio] bluetooth-util.c: dbus: interface=
Jul 22 18:51:02 ubuntu-phablet pulseaudio[1639]: [pulseaudio] bluetooth-util.c: Device /org/bluez/
Jul 22 18:51:05 ubuntu-phablet bluetoothd[2531]: plugins/
Jul 22 18:51:05 ubuntu-phablet bluetoothd[2531]: plugins/
Jul 22 18:51:05 ubuntu-phablet bluetoothd[2531]: plugins/
Jul 22 18:51:05 ubuntu-phablet bluetoothd[2531]: plugins/
Jul 22 18:51:05 ubuntu-phablet bluetoothd[2531]: plugins/
Jul 22 18:51:05 ubuntu-phablet bluetoothd[2531]: src/adapter.
Jul 22 18:51:05 ubuntu-phablet bluetoothd[2531]: src/device.
Jul 22 18:51:06 ubuntu-phablet kernel: [ 92.096078] healthd: battery l=95 v=4276 t=38.2 h=2 st=2 c=43 chg=u
Jul 22 18:51:12 ubuntu-phablet bluetoothd[2531]: plugins/
Jul 22 18:51:12 ubuntu-phablet bluetoothd[2531]: plugins/
Jul 22 18:51:12 ubuntu-phablet bluetoothd[2531]: Discovery session 0xb71c0248 with :1.66 activated
Jul 22 18:51:12 ubuntu-phablet bluetoothd[2531]: src/adapter.
Jul 22 18:51:12 ubuntu-phablet bluetoothd[2531]: plugins/
Jul 22 18:51:16 ubuntu-phablet kernel: [ 102.126751] healthd: battery l=95 v=4272 t=38.5 h=2 st=2 c=66 chg=u
Forget and connect:
Jul 22 18:51:22 ubuntu-phablet bluetoothd[2531]: src/adapter.
Jul 22 18:51:22 ubuntu-phablet bluetoothd[2531]: src/adapter.
Jul 22 18:51:22 ubuntu-phablet bluetoothd[2531]: src/adapter.
Jul 22 18:51:22 ubuntu-phablet bluetoothd[2531]: plugins/
Jul 22 18:51:22 ubuntu-phablet bluetoothd[2531]: plugins/
Jul 22 18:51:22 ubuntu-phablet bluetoothd[2531]: Stopping discovery
Jul 22 18:51:22 ubuntu-phablet bluetoothd[2531]: plugins/
Jul 22 18:51:26 ubuntu-phablet kernel: [ 112.093911] healthd: battery l=95 v=4199 t=38.5 h=2 st=2 c=59 chg=u
Jul 22 18:51:32 ubuntu-phablet bluetoothd[2531]: plugins/
Jul 22 18:51:32 ubuntu-phablet bluetoothd[2531]: plugins/
Jul 22 18:51:32 ubuntu-phablet bluetoothd[2531]: Discovery session 0xb71b6078 with :1.66 activated
Jul 22 18:51:32 ubuntu-phablet bluetoothd[2531]: src/adapter.
Jul 22 18:51:32 ubuntu-phablet bluetoothd[2531]: plugins/
Jul 22 18:51:35 ubuntu-phablet bluetoothd[2531]: plugins/
Jul 22 18:51:35 ubuntu-phablet bluetoothd[2531]: src/event.
Jul 22 18:51:35 ubuntu-phablet bluetoothd[2531]: src/device.
Jul 22 18:51:35 ubuntu-phablet bluetoothd[2531]: src/device.
Jul 22 18:51:35 ubuntu-phablet bluetoothd[2531]: src/agent.
Jul 22 18:51:35 ubuntu-phablet bluetoothd[2531]: plugins/
Jul 22 18:51:35 ubuntu-phablet bluetoothd[2531]: plugins/
Jul 22 18:51:35 ubuntu-phablet bluetoothd[2531]: src/agent.
Jul 22 18:51:35 ubuntu-phablet bluetoothd[2531]: src/device.
Jul 22 18:51:35 ubuntu-phablet bluetoothd[2531]: src/device.
Jul 22 18:51:35 ubuntu-phablet bluetoothd[2531]: src/device.
Jul 22 18:51:35 ubuntu-phablet bluetoothd[2531]: plugins/
Jul 22 18:51:35 ubuntu-phablet pulseaudio[1639]: [pulseaudio] bluetooth-util.c: dbus: interface=
Jul 22 18:51:35 ubuntu-phablet pulseaudio[1639]: [pulseaudio] bluetooth-util.c: Device /org/bluez/
Jul 22 18:51:36 ubuntu-phablet kernel: [ 122.080909] healthd: battery l=95 v=4205 t=38.5 h=2 st=2 c=83 chg=u
Jul 22 18:51:36 ubuntu-phablet kernel: [ 122.135937] healthd: battery l=95 v=4201 t=38.6 h=2 st=2 c=34 chg=u
Jul 22 18:51:41 ubuntu-phablet bluetoothd[2531]: plugins/
Jul 22 18:51:41 ubuntu-phablet bluetoothd[2531]: src/adapter.
Jul 22 18:51:41 ubuntu-phablet bluetoothd[2531]: src/adapter.
Jul 22 18:51:41 ubuntu-phablet bluetoothd[2531]: src/adapter.
Jul 22 18:51:41 ubuntu-phablet bluetoothd[2531]: plugins/
Jul 22 18:51:41 ubuntu-phablet bluetoothd[2531]: plugins/
Jul 22 18:51:41 ubuntu-phablet bluetoothd[2531]: Stopping discovery
Jul 22 18:51:41 ubuntu-phablet bluetoothd[2531]: src/adapter.
Jul 22 18:51:41 ubuntu-phablet bluetoothd[2531]: src/device.
Jul 22 18:51:41 ubuntu-phablet bluetoothd[2531]: src/device.
Jul 22 18:51:41 ubuntu-phablet bluetoothd[2531]: src/device.
Jul 22 18:51:41 ubuntu-phablet bluetoothd[2531]: src/device.
Jul 22 18:51:41 ubuntu-phablet kernel: [ 126.973050] l2cap_sock_connect: failed -115
Jul 22 18:51:41 ubuntu-phablet bluetoothd[2531]: src/device.
Jul 22 18:51:41 ubuntu-phablet bluetoothd[2531]: plugins/
Jul 22 18:51:41 ubuntu-phablet bluetoothd[2531]: plugins/
Jul 22 18:51:41 ubuntu-phablet bluetoothd[2531]: plugins/
Jul 22 18:51:41 ubuntu-phablet bluetoothd[2531]: plugins/
Jul 22 18:51:41 ubuntu-phablet pulseaudio[1639]: [pulseaudio] bluetooth-util.c: dbus: interface=
Jul 22 18:51:41 ubuntu-phablet pulseaudio[1639]: [pulseaudio] bluetooth-util.c: Device /org/bluez/
Jul 22 18:51:42 ubuntu-phablet bluetoothd[2531]: plugins/
Jul 22 18:51:42 ubuntu-phablet bluetoothd[2531]: plugins/
Jul 22 18:51:42 ubuntu-phablet bluetoothd[2531]: plugins/
Jul 22 18:51:42 ubuntu-phablet bluetoothd[2531]: plugins/
Jul 22 18:51:42 ubuntu-phablet bluetoothd[2531]: plugins/
Jul 22 18:51:42 ubuntu-phablet bluetoothd[2531]: src/adapter.
Jul 22 18:51:42 ubuntu-phablet bluetoothd[2531]: src/device.
Jul 22 18:51:46 ubuntu-phablet kernel: [ 132.080878] healthd: battery l=95 v=4208 t=38.6 h=2 st=2 c=49 chg=u
Jul 22 18:51:51 ubuntu-phablet bluetoothd[2531]: plugins/
Jul 22 18:51:51 ubuntu-phablet bluetoothd[2531]: plugins/
Jul 22 18:51:51 ubuntu-phablet bluetoothd[2531]: Discovery session 0xb71c1628 with :1.66 activated
Jul 22 18:51:51 ubuntu-phablet bluetoothd[2531]: src/adapter.
Jul 22 18:51:51 ubuntu-phablet bluetoothd[2531]: plugins/
Jul 22 18:51:56 ubuntu-phablet kernel: [ 142.103189] healthd: battery l=95 v=4269 t=38.7 h=2 st=2 c=64 chg=u
And the output from the app:
2014-07-22 18:50:44,226 - WARNING - Bluetooth::agent
2014-07-22 18:50:55,340 - WARNING - file://
2014-07-22 18:50:59,883 - WARNING - file://
2014-07-22 18:51:27,426 - WARNING - Could not create device: "Did not receive a reply. Possible causes include: the remote application did not send a reply, the message bus security policy blocked the reply, the reply timeout expired, or the network connection was broken."
2014-07-22 18:51:31,601 - WARNING - Could not remove device: "Device creation in progress"
2014-07-22 18:51:41,228 - WARNING - file://
2014-07-22 18:52:06,432 - WARNING - Could not create device: "Did not receive a reply. Possible causes include: the remote application did not send a reply, the message bus security policy blocked the reply, the reply timeout expired, or the network connection was broken."
2014-07-22 18:52:18,384 - WARNING - file://
This is with a clean 144 image (mako), with the system-settings available from the above MR.
tags: | added: rtm14 |
Changed in ubuntu-system-settings (Ubuntu): | |
assignee: | nobody → Mathieu Trudel-Lapierre (mathieu-tl) |
importance: | Undecided → High |
Changed in ubuntu-system-settings (Ubuntu): | |
importance: | Critical → High |
tags: | added: bluetooth |
This bug is not yet in trunk, opening it here as cyphermox requested it.