Thread (8 messages) read the whole thread 8 messages, 4 authors, 2007-01-15

[Bluez-devel] a2dpd: audio connection breaks every 300 seconds

From: Robert Huitl <hidden>
Date: 2007-01-15 01:57:20

Hi,

I have some problems using a2dpd. It works just fine for some time, but every 
300 seconds the sound starts choking. At this time, a2dpd prints this line:

A2DPD[155.135]: a2dp_transfer_raw: Wrote -1 not 603 bytes.

Then the sound stops for a short time while a2dpd re-establishes the 
connection and sound will be fine for another 300 seconds.

Restarting a2dpd does not reset the 300 seconds time interval, so the problem 
is probably not with a2dpd but bluez itself. Disabling WLAN does not help 
either.

Headset: Jabra BT 620s
System: Gentoo Linux with kernel 2.6.18-suspend2-r1
plugz: CVS (updated today)
bluez-utils: 3.7
bluez-libs: 3.7
Bluetooth: Thinkpad X41's internal USB bluetooth adapter
Sound is played by Amarok using the Xine engine with ALSA output. VLC playback 
has the same problem.


My .a2dpdrc:

[a2dpd]
rate=44100
enablereversestereo=1
cmdplay=dcop amarok player play
...
enableavrcp=1
enablerereadconfig=1
enableredirectalsa=0
address=00:13:17:71:A7:E7
alsaoutput=plughw:0,0
sbcbitpool=53


I attached the complete logfile. It was created by a slightly modified version 
of a2dpd that tries to resend the data several times (with 1/10/20 us 
delay) - to no avail.

Any ideas? Did anyone observe this problem as well? Is it specific to my 
headset?

Regards,
  Robert

Attachments

Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help