From: Luiz Augusto von Dentz <luiz.dentz-von@nokia.com>
To: "ext h.patil@accenture.com" <h.patil@accenture.com>
Cc: linux-bluetooth@vger.kernel.org
Subject: Re: A2DP Connection problem
Date: Thu, 19 May 2011 12:34:19 +0300 [thread overview]
Message-ID: <1305797659.2388.11.camel@dentz-desktop> (raw)
In-Reply-To: <AA5DFB06574FF54BA4A76C3F1040DCBB11C18DE91D@INDXM3131.dir.svc.accenture.com>
Hi,
On Thu, 2011-05-19 at 14:44 +0530, ext h.patil@accenture.com wrote:
> Hi All,
>
> I am working on A2DP-bluez, using latest version of bluez which is
> 4.93, I am able to establish A2DP connection using dbus API's, after
> 10 seconds my connection is getting losted .please find the below log
> and please do help me.
>
>
>
> bluetoothd[1509]: audio/a2dp.c:a2dp_config() Configuration match:
> resuming
>
> bluetoothd[1509]: audio/unix.c:unix_ipc_sendmsg() Audio API:
> BT_RESPONSE -> BT_SET_CONFIGURATION
>
> bluetoothd[1509]: audio/a2dp.c:setup_unref() 0x54b7d3e0: ref=0
>
> bluetoothd[1509]: audio/a2dp.c:setup_free() 0x54b7d3e0
>
> bluetoothd[1509]: audio/avdtp.c:avdtp_unref() 0x54b93370: ref=3
>
> bluetoothd[1509]: audio/unix.c:client_cb() Audio API: BT_REQUEST <-
> BT_START_STREAM
>
> bluetoothd[1509]: audio/avdtp.c:avdtp_ref() 0x54b93370: ref=4
>
> bluetoothd[1509]: audio/a2dp.c:setup_ref() 0x54b7d3e0: ref=1
>
> bluetoothd[1509]: audio/avdtp.c:session_cb()
>
> bluetoothd[1509]: audio/avdtp.c:avdtp_parse_cmd() Received
> DISCOVER_CMD
>
> bluetoothd[1509]: audio/avdtp.c:session_cb()
>
> bluetoothd[1509]: START request rejected: Bad Acceptor SEID (18)
Strange, how come you manage to get a bad seid? I tough you were using
PulseAudio since I saw your messages on its mailing list, but afaik it
should not cause such behavior. Well it could also be that the remote
device is not working properly too, which device is that?
>
> bluetoothd[1509]: audio/a2dp.c:start_cfm() Sink 0x54b48aa0: Start_Cfm
>
> bluetoothd[1509]: resume failed
>
> bluetoothd[1509]: audio/unix.c:unix_ipc_error() sending error
> Input/output error(5)
>
> bluetoothd[1509]: audio/unix.c:unix_ipc_sendmsg() Audio API: BT_ERROR
> -> BT_START_STREAM
>
> bluetoothd[1509]: audio/a2dp.c:a2dp_sep_unlock() SEP 0x54b48aa0
> unlocked
>
> bluetoothd[1509]: audio/avdtp.c:avdtp_unref() 0x54b93370: ref=3
>
> bluetoothd[1509]: audio/a2dp.c:setup_unref() 0x54b7d3e0: ref=0
>
> bluetoothd[1509]: audio/a2dp.c:setup_free() 0x54b7d3e0
>
> bluetoothd[1509]: audio/avdtp.c:avdtp_unref() 0x54b93370: ref=2
>
> bluetoothd[1509]: audio/unix.c:client_cb() Unix client disconnected
> (fd=26)
>
> bluetoothd[1509]: audio/unix.c:client_free() client_free(0x54b455d0)
>
> bluetoothd[1509]: audio/avdtp.c:session_cb()
>
> bluetoothd[1509]: audio/avdtp.c:avdtp_parse_cmd() Received START_CMD
>
> bluetoothd[1509]: audio/a2dp.c:start_ind() Sink 0x54b48aa0: Start_Ind
>
> bluetoothd[1509]: audio/avdtp.c:avdtp_ref() 0x54b93370: ref=3
>
> bluetoothd[1509]: audio/avdtp.c:avdtp_sep_set_state() stream state
> changed: OPEN -> STREAMING
>
> bluetoothd[1509]: audio/avdtp.c:avdtp_unref() 0x54b93370: ref=2
>
> bluetoothd[1509]: Suspend: Connection timed out (110)
>
> bluetoothd[1509]: audio/a2dp.c:suspend_cfm() Sink 0x54b48aa0:
> Suspend_Cfm
>
> bluetoothd[1509]: Abort: Connection timed out (110)
>
> bluetoothd[1509]: audio/avdtp.c:connection_lost() Disconnected from
> 00:25:CF:03:FE:AE
>
> bluetoothd[1509]: audio/a2dp.c:abort_cfm() Sink 0x54b48aa0: Abort_Cfm
>
> bluetoothd[1509]: audio/avdtp.c:avdtp_sep_set_state() stream state
> changed: STREAMING -> IDLE
>
> bluetoothd[1509]: audio/avdtp.c:avdtp_unref() 0x54b93370: ref=1
>
> bluetoothd[1509]: audio/avdtp.c:avdtp_unref() 0x54b93370: ref=0
>
> bluetoothd[1509]: audio/avdtp.c:avdtp_unref() 0x54b93370: freeing
> session and removing from list
If there is no client connected like you can see above the stream will
auto suspend in 5 seconds. Btw this timeout normally indicates that the
remote device either crashed or is in bad state.
next prev parent reply other threads:[~2011-05-19 9:34 UTC|newest]
Thread overview: 9+ messages / expand[flat|nested] mbox.gz Atom feed top
2011-05-19 8:51 [PATCH v2 0/2] Fix change to numbers GSlist in new missed calls Dmitriy Paliy
2011-05-19 8:51 ` [PATCH v2 1/2] " Dmitriy Paliy
2011-05-19 8:51 ` [PATCH v2 2/2] Change append to prepend in pull_newmissedcalls Dmitriy Paliy
[not found] ` <AA5DFB06574FF54BA4A76C3F1040DCBB11C18DE91D@INDXM3131.dir.svc.accenture.com>
2011-05-19 9:34 ` Luiz Augusto von Dentz [this message]
2011-06-01 11:12 ` A2DP Connection problem h.patil
2011-06-01 11:35 ` Luiz Augusto von Dentz
2011-06-01 11:46 ` h.patil
2011-06-01 12:04 ` Luiz Augusto von Dentz
2011-06-02 8:43 ` h.patil
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=1305797659.2388.11.camel@dentz-desktop \
--to=luiz.dentz-von@nokia.com \
--cc=h.patil@accenture.com \
--cc=linux-bluetooth@vger.kernel.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox