<html>
    <head>
      <base href="https://bugs.freedesktop.org/">
    </head>
    <body>
      <p>
        <div>
            <b><a class="bz_bug_link 
          bz_status_NEW "
   title="NEW - cannot select a2dp profile"
   href="https://bugs.freedesktop.org/show_bug.cgi?id=92102#c26">Comment # 26</a>
              on <a class="bz_bug_link 
          bz_status_NEW "
   title="NEW - cannot select a2dp profile"
   href="https://bugs.freedesktop.org/show_bug.cgi?id=92102">bug 92102</a>
              from <span class="vcard"><a class="email" href="mailto:luiz.dentz@gmail.com" title="Luiz Augusto von Dentz <luiz.dentz@gmail.com>"> <span class="fn">Luiz Augusto von Dentz</span></a>
</span></b>
        <pre>bluetoothd[16274]: src/adapter.c:connected_callback() hci0 device
00:18:09:1F:C3:29 connected eir_len 5
bluetoothd[16274]: src/adapter.c:dev_disconnected() Device 00:18:09:1F:C3:29
disconnected, reason 3
bluetoothd[16274]: src/adapter.c:adapter_remove_connection() 
bluetoothd[16274]: plugins/policy.c:disconnect_cb() reason 3
bluetoothd[16274]: src/adapter.c:bonding_attempt_complete() hci0 bdaddr
00:18:09:1F:C3:29 type 0 status 0xe
bluetoothd[16274]: src/device.c:device_bonding_complete() bonding (nil) status
0x0e
bluetoothd[16274]: src/device.c:device_bonding_failed() status 14
bluetoothd[16274]: src/adapter.c:resume_discovery() 
bluetoothd[16274]: src/adapter.c:connected_callback() hci0 device
00:18:09:1F:C3:29 connected eir_len 5
bluetoothd[16274]: src/adapter.c:dev_disconnected() Device 00:18:09:1F:C3:29
disconnected, reason 3
bluetoothd[16274]: src/adapter.c:adapter_remove_connection() 
bluetoothd[16274]: plugins/policy.c:disconnect_cb() reason 3
bluetoothd[16274]: src/adapter.c:bonding_attempt_complete() hci0 bdaddr
00:18:09:1F:C3:29 type 0 status 0xe
bluetoothd[16274]: src/device.c:device_bonding_complete() bonding (nil) status
0x0e
bluetoothd[16274]: src/device.c:device_bonding_failed() status 14
bluetoothd[16274]: src/adapter.c:resume_discovery() 
bluetoothd[16274]: src/adapter.c:connected_callback() hci0 device
00:18:09:1F:C3:29 connected eir_len 5
bluetoothd[16274]: src/adapter.c:dev_disconnected() Device 00:18:09:1F:C3:29
disconnected, reason 3
bluetoothd[16274]: src/adapter.c:adapter_remove_connection() 
bluetoothd[16274]: plugins/policy.c:disconnect_cb() reason 3
bluetoothd[16274]: src/adapter.c:bonding_attempt_complete() hci0 bdaddr
00:18:09:1F:C3:29 type 0 status 0xe
bluetoothd[16274]: src/device.c:device_bonding_complete() bonding (nil) status
0x0e
bluetoothd[16274]: src/device.c:device_bonding_failed() status 14
bluetoothd[16274]: src/adapter.c:resume_discovery() 
bluetoothd[16274]: src/adapter.c:connected_callback() hci0 device
00:18:09:1F:C3:29 connected eir_len 5
bluetoothd[16274]: src/adapter.c:dev_disconnected() Device 00:18:09:1F:C3:29
disconnected, reason 3
bluetoothd[16274]: src/adapter.c:adapter_remove_connection() 
bluetoothd[16274]: plugins/policy.c:disconnect_cb() reason 3
bluetoothd[16274]: src/adapter.c:bonding_attempt_complete() hci0 bdaddr
00:18:09:1F:C3:29 type 0 status 0xe
bluetoothd[16274]: src/device.c:device_bonding_complete() bonding (nil) status
0x0e
bluetoothd[16274]: src/device.c:device_bonding_failed() status 14
bluetoothd[16274]: src/adapter.c:resume_discovery() 
bluetoothd[16274]: src/adapter.c:connected_callback() hci0 device
00:18:09:1F:C3:29 connected eir_len 5
bluetoothd[16274]: src/profile.c:ext_confirm() incoming connect from
00:18:09:1F:C3:29

This sounds strange, it is as if the connection is interrupted several times
before it succeeds, anyway once past this line all looks fine:

bluetoothd[16274]: src/service.c:change_state() 0x250c1a0: device
00:18:09:1F:C3:29 profile Headset Voice gateway state changed: connecting ->
connected (0)

bluetoothd[16274]: profiles/audio/sink.c:sink_set_state() State changed
/org/bluez/hci0/dev_00_18_09_1F_C3_29: SINK_STATE_CONNECTING ->
SINK_STATE_CONNECTED

And there is some client acquiring the transport:
bluetoothd[16274]: profiles/audio/transport.c:transport_set_state() State
changed /org/bluez/hci0/dev_00_18_09_1F_C3_29/fd0: TRANSPORT_STATE_IDLE ->
TRANSPORT_STATE_REQUESTING
bluetoothd[16274]: profiles/audio/transport.c:media_request_create() Request
created: method=Acquire id=4
bluetoothd[16274]: profiles/audio/transport.c:media_owner_add() Owner :1.2679
Request Acquire
bluetoothd[16274]: profiles/audio/transport.c:media_transport_set_owner()
Transport /org/bluez/hci0/dev_00_18_09_1F_C3_29/fd0 Owner :1.2679
bluetoothd[16274]: profiles/audio/avdtp.c:session_cb() 
bluetoothd[16274]: profiles/audio/avdtp.c:avdtp_parse_resp() START request
succeeded
bluetoothd[16274]: profiles/audio/a2dp.c:start_cfm() Source 0x2503830:
Start_Cfm
bluetoothd[16274]: /org/bluez/hci0/dev_00_18_09_1F_C3_29/fd0: fd(34) ready
bluetoothd[16274]: profiles/audio/transport.c:media_owner_remove() Owner
:1.2679 Request Acquire
bluetoothd[16274]: profiles/audio/transport.c:transport_set_state() State
changed /org/bluez/hci0/dev_00_18_09_1F_C3_29/fd0: TRANSPORT_STATE_REQUESTING
-> TRANSPORT_STATE_ACTIVE
bluetoothd[16274]: profiles/audio/a2dp.c:setup_unref() 0x25222c0: ref=0
bluetoothd[16274]: profiles/audio/a2dp.c:setup_free() 0x25222c0
bluetoothd[16274]: profiles/audio/avdtp.c:avdtp_unref() 0x250d620: ref=2
bluetoothd[16274]: profiles/audio/avdtp.c:avdtp_sep_set_state() stream state
changed: OPEN -> STREAMING
bluetoothd[16274]: profiles/audio/sink.c:sink_set_state() State changed
/org/bluez/hci0/dev_00_18_09_1F_C3_29: SINK_STATE_CONNECTED ->
SINK_STATE_PLAYING

Perhaps this is GDM instance taking over? Btw, have we make sure GDM instance
disables its endpoints when it is no longer active?</pre>
        </div>
      </p>


      <hr>
      <span>You are receiving this mail because:</span>

      <ul>
          <li>You are the QA Contact for the bug.</li>
          <li>You are the assignee for the bug.</li>
      </ul>
    </body>
</html>