All of lore.kernel.org
 help / color / mirror / Atom feed
From: "Frédéric DALLEAU" <frederic.dalleau@palmsource.com>
To: BlueZ development <bluez-devel@lists.sourceforge.net>
Subject: Re: [Bluez-devel] a2pdbtsco	won'tcompile	(FIX)	plus	xmmserror(trials andtribulations)	howcool is	this!!!	new patch
Date: Fri, 18 Aug 2006 11:59:44 +0200	[thread overview]
Message-ID: <44E58F90.2010108@palmsource.com> (raw)
In-Reply-To: <056BF200E9632F4285220E570FEED673E7FA81@GBMDDMH202AMSX.gb001.siemens.net>

Hi,

Could you give me the failing log? Is the alsa plugin setup as default =

or explicitly set to xmms?
A few comments about the traces :

avdtp: Accepting incoming connection

That line shows we are awaiting an incoming connexion, you should always ha=
ve it since starting a2dpd. If you start up a2dpd without sending sound, th=
is is one of the two last lines. Nothing should be displayed after.


avdtp: socket 7: Connection from 12:5C:2A:44:0D:00, mtu=3D672

That one show we received an incoming connexion, if we don't have this =

one, it's the headset that do not connect. It will be difficult to know =

why! Try to switch off then on!


avdtp: socket 7: Received failed result=3D-1 (errno=3D11:Resource
temporarily unavailable)
This one is too say we wait for answer but it is just a timeout.

 =

socket 7: Received 2 bytes
00000: 00 01
Those two lines follow the connection from the headset. It's an AVDTP_DISCO=
VER we answer by rejecting the DISCOVER, but we launch xmms who in turn wil=
l start a brand new connection.


Forked xmms --play

That line show we forked to start xmms. It should appear a few seconds =

after the previous one.


Fr=E9d=E9ric




Waldram, Andrew (SBS UK) a =E9crit :
>  =

> Fr=E9d=E9ric
>
> Tried everything you sugested still the same play from start will not sta=
rt xmms (mormaly see below) and pressing pause wait 15 sec then play result=
s in nothing. I would say it was my headphones but it did work from avrcp a=
nd your first patch.
>
> Hcidump does show the press's but a2dpd does not show anything at all jus=
t sits waiting incomming connection.
>
> After repeated tries I did get it once to start xmms (output follows) so =
I'm confident my configuration is correct (could it be timming/parsing blue=
tooth response)
>
> The logs look a little  strange and it doesn't work 99.9% of the time =

>
> I've put markers where I think something may be wrong can you think of an=
ything else I can tru to pin this down (so close yet so far).
>
> On a plus note your latest patches seem to have reduced the latency for s=
kip forward and back .
>   =

Really? I'm really sure to have done nothing about this :D
>  Accepting incoming tcp stream connection
> New connection to bluetooth [44100 hz]
> avrcp: Accepting incoming connection
> avdtp: Accepting incoming connection
> avdtp: socket 7: Connection from 12:5C:2A:44:0D:00, mtu=3D672
> avdtp: socket 7: Received failed result=3D-1 (errno=3D11:Resource
> temporarily unavailable)<------------------------------------------------=
-------
> avdtp: socket 7: Received failed result=3D-1 (errno=3D11:Resource
> temporarily unavailable)<------------------------------------------------=
-------
> socket 7: Received 2 bytes
> 00000: 00 01
> DEBUG: a2dp_handle_avdtp_message: (errno=3D11:Resource temporarily
> unavailable)Unexpected headset directive 1  <----------------------------=
---------------------------
> DEBUG: a2dp_handle_avdtp_message: Answering command packet
> (msgtype=3DMESSAGE_TYPE_REJECT,signal=3D1)
> avdtp: socket 7: Received frame, start xmms --play
> avdtp: socket 7: timed out
> Forked xmms --play
> Message: device: pcm.a2dpd
> immsd: version 3.0.1 ready...
> DEBUG: _snd_pcm_a2dpd_open: (errno=3D0:Success)name pcm.a2dpd mode 1
> DEBUG: a2dp_alloc: (errno=3D0:Success)Init
> DEBUG: a2dp_alloc: (errno=3D0:Success)OK
> DEBUG: a2dp_params: (errno=3D0:Success)a2dp 0x8295e18
> DEBUG: a2dp_params: (errno=3D0:Success)format S16_LE rate 44100 channels 2
> DEBUG: a2dp_params: (errno=3D0:Success)frame_bytes 4 period_bytes 8192
> period_size 2048 buffer_size 4096
> DEBUG: a2dp_prepare: (errno=3D0:Success)a2dp 0x8295e18
> Accepted 7
> PCM thread 0.7 started
> Accepting incoming tcp stream connection
> DEBUG: a2dp_new: Begin
> DEBUG: a2dp_new: bdaddr/dest is 00:0D:44:2A:5C:12
> DEBUG: a2dp_alloc: Begin
> DEBUG: a2dp_connect: a2dp 0x8057810
> DEBUG: connect_stream: Begin
> DEBUG: connect_stream: Using address: 12:5C:2A:44:0D:00
> DEBUG: detect_a2dp: Begin
>
> -------------------------------------------------------------------------=
--------- =

>
> -----Original Message-----
> From: bluez-devel-bounces@lists.sourceforge.net [mailto:bluez-devel-bounc=
es@lists.sourceforge.net] On Behalf Of Brad Midgley
> Sent: 17 August 2006 15:07
> To: BlueZ development
> Subject: Re: [Bluez-devel] a2pdbtsco won'tcompile (FIX) plus xmmserror(tr=
ials andtribulations) howcool is this!!! new patch
>
> Fr=E9d=E9ric
>
>   =

>> Try to use the latest patch http://fdalleau.free.fr/patch_to_try
>> Minor changes has been done. It worked all night long!
>>     =

>
> FYI I just applied this.
>
> Brad
>
> -------------------------------------------------------------------------
> Using Tomcat but need to do more? Need to support web services, security?
> Get stuff done quickly with pre-integrated technology to make your job ea=
sier
> Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
> http://sel.as-us.falkag.net/sel?cmd=3Dlnk&kid=3D120709&bid=3D263057&dat=
=3D121642
> _______________________________________________
> Bluez-devel mailing list
> Bluez-devel@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/bluez-devel
>
> -------------------------------------------------------------------------
> Using Tomcat but need to do more? Need to support web services, security?
> Get stuff done quickly with pre-integrated technology to make your job ea=
sier
> Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
> http://sel.as-us.falkag.net/sel?cmd=3Dlnk&kid=3D120709&bid=3D263057&dat=
=3D121642
> _______________________________________________
> Bluez-devel mailing list
> Bluez-devel@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/bluez-devel
>   =



-------------------------------------------------------------------------
Using Tomcat but need to do more? Need to support web services, security?
Get stuff done quickly with pre-integrated technology to make your job easi=
er
Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
http://sel.as-us.falkag.net/sel?cmd=3Dlnk&kid=3D120709&bid=3D263057&dat=3D1=
21642
_______________________________________________
Bluez-devel mailing list
Bluez-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bluez-devel

  reply	other threads:[~2006-08-18  9:59 UTC|newest]

Thread overview: 46+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2006-08-01  6:25 [Bluez-devel] a2pd btsco won't compile (FIX) plus xmms error Andrew Waldram
2006-08-01  8:41 ` Frédéric DALLEAU
2006-08-01  8:55   ` Frédéric DALLEAU
2006-08-01 12:39     ` Waldram, Andrew (SBS UK)
2006-08-01 13:09       ` Frédéric DALLEAU
2006-08-01 15:46         ` Brad Midgley
2006-08-02  8:45           ` Waldram, Andrew (SBS UK)
2006-08-03  7:49             ` [Bluez-devel] a2pd btsco won't compile (FIX) plus xmms error (trials and tribulations) how cool is this!!! Waldram, Andrew (SBS UK)
2006-08-04  8:04               ` Frédéric DALLEAU
2006-08-04  8:46                 ` Waldram, Andrew (SBS UK)
2006-08-04 15:09                   ` [Bluez-devel] a2pd btsco won't compile (FIX) plus xmms error (trials and tribulations) how cool is this!!! new patch Frédéric DALLEAU
2006-08-05 13:54                     ` Waldram, Andrew (SBS UK)
2006-08-05 15:03                       ` [Bluez-devel] a2pd btsco won't compile (FIX) plus xmms error(trials " Waldram, Andrew (SBS UK)
2006-08-08  7:59                         ` [Bluez-devel] a2pd btsco won't compile (FIX) plus xmmserror(trials " Waldram, Andrew (SBS UK)
2006-08-08  8:39                           ` Frédéric DALLEAU
2006-08-08 10:04                             ` Waldram, Andrew (SBS UK)
2006-08-08 14:48                               ` Frédéric DALLEAU
2006-08-08 15:07                                 ` Waldram, Andrew (SBS UK)
2006-08-08 16:37                                   ` Frédéric DALLEAU
2006-08-09  7:42                                     ` Waldram, Andrew (SBS UK)
2006-08-10  7:53                                       ` [Bluez-devel] a2pd btsco won'tcompile (FIX) plus xmmserror(trials and tribulations) howcool " Waldram, Andrew (SBS UK)
2006-08-10 16:05                                         ` Frédéric DALLEAU
2006-08-10 16:14                                           ` Brad Midgley
2006-08-11  7:53                                           ` Waldram, Andrew (SBS UK)
2006-08-12  9:31                                             ` [Bluez-devel] a2pdbtsco won'tcompile (FIX) plus xmmserror(trials andtribulations) " Waldram, Andrew (SBS UK)
2006-08-16 14:56                                               ` Frédéric DALLEAU
2006-08-17  7:37                                                 ` Waldram, Andrew (SBS UK)
2006-08-17  8:02                                                   ` Frédéric DALLEAU
2006-08-17  8:08                                                     ` Waldram, Andrew (SBS UK)
2006-08-17  8:18                                                       ` Frédéric DALLEAU
2006-08-17  8:32                                                         ` Waldram, Andrew (SBS UK)
2006-08-17 14:06                                                     ` Brad Midgley
2006-08-18  8:33                                                       ` Waldram, Andrew (SBS UK)
2006-08-18  9:59                                                         ` Frédéric DALLEAU [this message]
2006-08-18 12:24                                                           ` Waldram, Andrew (SBS UK)
2006-08-18 13:16                                                             ` Frédéric DALLEAU
2006-08-18 13:24                                                               ` Waldram, Andrew (SBS UK)
2006-08-08 15:13                                 ` [Bluez-devel] a2pd btsco won't compile (FIX) plus xmmserror(trials and tribulations) how cool " Peter Robinson
2006-08-08 16:39                                   ` Frédéric DALLEAU
2006-08-15 16:03                                     ` Steven Singer
2006-08-16 13:33                                       ` Frédéric DALLEAU
2006-08-16 14:35                                         ` Waldram, Andrew (SBS UK)
2006-08-16 15:28                                         ` Brad Midgley
2006-08-16 16:10                                           ` Frédéric DALLEAU
2006-08-16 16:22                                             ` Brad Midgley
  -- strict thread matches above, loose matches on Subject: below --
2006-08-18 16:33 [Bluez-devel] a2pdbtsco won'tcompile (FIX) plus xmmserror(trials andtribulations) howcool " Andrew Waldram

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=44E58F90.2010108@palmsource.com \
    --to=frederic.dalleau@palmsource.com \
    --cc=bluez-devel@lists.sourceforge.net \
    /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 an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.