bluetooth a2dp connection problem

Mario Huelsegge huelsegge at gmx.de
Sat Oct 31 22:48:37 CET 2009


hallo,

i have a problem with my b-speech calypso bluetooth headset and a2dp. i
configured my shr-u (bluez4) as described on
http://wiki.openmoko.org/wiki/A2DP . after starting mplayer to listen to
some music over bluetooth, mplayer stops and bluetoothd gives these errors:

bluetoothd[2938]: Found AV Remote
bluetoothd[2938]: Adapter /org/bluez/2938/hci0 has been enabled
bluetoothd[2938]: Computer is classified as laptop
bluetoothd[2938]: Current device class is 0x4a010c
bluetoothd[2938]: Setting 0x00010c for major/minor device class
bluetoothd[2938]: Changing major/minor class to 0x4a010c
bluetoothd[2938]: Accepted new client connection on unix socket (fd=16)
bluetoothd[2938]: Audio API: BT_REQUEST <- BT_GET_CAPABILITIES
bluetoothd[2938]: avdtp_ref(0x2a041730): ref=2
bluetoothd[2938]: adapter_get_device(00:2B:7D:02:AE:B4)
bluetoothd[2938]: link_key_request (sba=00:06:2B:17:96:C3,
dba=00:2B:7D:02:AE:B4)
bluetoothd[2938]: kernel auth requirements = 0x04
bluetoothd[2938]: stored link key type = 0x00
bluetoothd[2938]: Connection refused (111)
bluetoothd[2938]: Disconnected from 00:2B:7D:02:AE:B4
bluetoothd[2938]: discovery failed
bluetoothd[2938]: Audio API: BT_ERROR -> BT_GET_CAPABILITIES
bluetoothd[2938]: avdtp_unref(0x2a041730): ref=1
bluetoothd[2938]: avdtp_unref(0x2a041730): ref=0
bluetoothd[2938]: avdtp_unref(0x2a041730): freeing session and removing from
list
bluetoothd[2938]: Unix client disconnected (fd=16)
bluetoothd[2938]: client_free(0x2a03cf98)
bluetoothd[2938]: link_key_request (sba=00:06:2B:17:96:C3,
dba=00:2B:7D:02:AE:B4)
bluetoothd[2938]: kernel auth requirements = 0x00
bluetoothd[2938]: stored link key type = 0x00
bluetoothd[2938]: adapter_get_device(00:2B:7D:02:AE:B4)
bluetoothd[2938]: AVDTP: incoming connect from 00:2B:7D:02:AE:B4
bluetoothd[2938]: avdtp_unref(0x2a041730): ref=0
bluetoothd[2938]: avdtp_unref(0x2a041730): freeing session and removing from
list
bluetoothd[2938]: session_cb

the interesting thing is that after trying to start mplayer several times,
it works!
any ideas why this is happening? it is quite uncomfortable to start mplayer
again and again to finally listen to music over bluetooth.

this is the output of bluetoothd after a successful connection:

bluetoothd[2938]: link_key_request (sba=00:06:2B:17:96:C3,
dba=00:2B:7D:02:AE:B4)
bluetoothd[2938]: kernel auth requirements = 0x00
bluetoothd[2938]: stored link key type = 0x00
bluetoothd[2938]: adapter_get_device(00:2B:7D:02:AE:B4)
bluetoothd[2938]: AVDTP: incoming connect from 00:2B:7D:02:AE:B4
bluetoothd[2938]: avdtp_unref(0x2a041730): ref=0
bluetoothd[2938]: avdtp_unref(0x2a041730): freeing session and removing from
list
bluetoothd[2938]: session_cb
bluetoothd[2938]: Accepted new client connection on unix socket (fd=16)
bluetoothd[2938]: Audio API: BT_REQUEST <- BT_GET_CAPABILITIES
bluetoothd[2938]: avdtp_ref(0x2a041730): ref=2
bluetoothd[2938]: state change attempted from connecting to connecting
bluetoothd[2938]: AVDTP: connected signaling channel to 00:2B:7D:02:AE:B4
bluetoothd[2938]: AVDTP imtu=672, omtu=895
bluetoothd[2938]: session_cb
bluetoothd[2938]: DISCOVER request succeeded
bluetoothd[2938]: seid 1 type 1 media 0 in use 0
bluetoothd[2938]: session_cb
bluetoothd[2938]: GET_CAPABILITIES request succeeded
bluetoothd[2938]: seid 1 type 1 media 0

-- 
View this message in context: http://n2.nabble.com/bluetooth-a2dp-connection-problem-tp3925316p3925316.html
Sent from the Openmoko Community mailing list archive at Nabble.com.



More information about the community mailing list