Hi guys ,
Sorry this is a bit noddy but I'm not a developer
the latest changes to a2pd plugin stop btsco compiling as your trying to
re-use variables.
Adding
bin_PROGRAMS = a2dpd
a2dpd_SOURCES = a2dpd.c a2dplib.c a2dp_timer.c a2dp_ipc.c
----->>>>> a2dpd_CFLAGS = $(AM_CFLAGS)
to the makefile.am in the pluggin filder will fix it by renaming the
variable timer and icp during compile time,
it almost a no-op just fixes the compiler dont know if thats the right
way to do it though.
Also when I use XMMS with my HP bluetooth headphones then every time a
track finishes the the headphones stop (next also does this), but
alsaplayer is fine.
here is whats happening during skip
SBC Bandwidth = 26 kbps [26703 bps]
SBC Bandwidth = 26 kbps [27324 bps]
SBC Bandwidth = 26 kbps [27324 bps]
Awaiting command
SBC Bandwidth = 26 kbps [27324 bps]
SBC Bandwidth = 26 kbps [27324 bps]
DEBUG: a2dp_stop: a2dp 0x82668d8
DEBUG: a2dp_stop: Listen thread terminating
Thread in signal handler 14
Error while receiving -1 (errno=4:Interrupted system call)
listen_thread: ending perfeclty
DEBUG: a2dp_stop: Listen thread terminated
DEBUG: a2dp_stop: OK
DEBUG: a2dp_stop: a2dp 0x82668d8
DEBUG: a2dp_stop: Listen thread terminating
DEBUG: a2dp_stop: Listen thread terminated
DEBUG: a2dp_stop: OK
DEBUG: a2dp_close: a2dp Destroying 0x82668d8
DEBUG: a2dp_close: OK
DEBUG: _snd_pcm_a2dp_open: name pcm.headphone mode 1
DEBUG: _snd_pcm_a2dp_open: bdaddr/dest is 00:0D:44:2A:5C:12
DEBUG: a2dp_constraint: TEST a2dp 0x82668d8
DEBUG: a2dp_params: a2dp 0x82668d8
DEBUG: a2dp_params: format S16_LE rate 44100 channels 2
DEBUG: a2dp_params: frame_bytes 4 period_bytes 8192 period_size 2048
buffer_size 4096
DEBUG: a2dp_prepare: a2dp 0x82668d8
SBC Bandwidth = 19 kbps [19872 bps]
SBC Bandwidth = 26 kbps [26703 bps]
SBC Bandwidth = 26 kbps [26703 bps]
Yet it doesn't start playing again , but restarting xmms start sound
again
-------------------------------------------------------------------------
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to share your
opinions on IT & business topics through brief surveys -- and earn cash
http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV
_______________________________________________
Bluez-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/bluez-devel
=
Ok on it this evening
-----Original Message-----
From: [email protected] [mailto:bluez-devel-bounces=
@lists.sourceforge.net] On Behalf Of Fr=E9d=E9ric DALLEAU
Sent: 18 August 2006 14:17
To: BlueZ development
Subject: Re: [Bluez-devel] a2pdbtsco won'tcompile (FIX) plus xmmserror(tria=
ls andtribulations) howcool is this!!! new patch
Hi Andrew,
Are these 3 assumption valid at the same time?
- Hcidump does show the connections
- a2dpd does nothing at all just sits there looking pretty
- AVDTP(s): Discover rej: transaction 0
If these three points are absolutly true at a time, then you have another s=
oftware answering the bluetooth connection. It's not an a2dpd as the main t=
cpsocket would be busy. I thought it wasn't possible but I can't see anothe=
r point since you have an answer that a2dpd do not display. Curiously, this=
software also reject the avdtp_discover as do a2dpd. Aven't you forgotten =
an a2recv or any other bluetooth software in your startup scripts? It may b=
e kde or gnome-bluetooth related too I don't now what they do with a2dp...
Try the following to make sure :
# a2dpd MUST NOT be running
killall -9 a2dpd
sudo hcidump L2CAP
Then connect your headset normally (Pressed play 2 times from switched off =
headset switched on then pressed play), you should see the following :
HCI sniffer - Bluetooth packet analyzer ver 1.28
device: hci0 snap_len: 1028 filter: 0x8
> L2CAP(s): Connect req: psm 25 scid 0x0041 <------=
---------------------- The headset wants to connect to psm 25
< L2CAP(s): Connect rsp: dcid 0x0000 scid 0x0041 result 2 status 0 =
Connection refused - PSM not supported <------=
---------------------- Refused as nobody listen that psm
If the connection is accepted we will know that a2dpd do not answer, now we=
must find who.
open a root shell and type 'ps uax' to see all running processes
then for each pid try 'kill -9 pid' until you find the good one :D
Hope we get it one day :D
Fr=E9d=E9ric
Waldram, Andrew (SBS UK) a =E9crit :
> =
> This is what I get when it's failing you can see why I don't have a clue
>
> Accepting incoming tcp stream connection
> New connection to bluetooth [44100 hz]
> avrcp: Accepting incoming connection
> avdtp: Accepting incoming connection
>
> Pressed play 2 times from switched off headset switched on then pressed p=
lay.
>
> Hcidump does show the connections but a2dpd does nothing at all just sits=
there looking pretty.
>
> HCI sniffer - Bluetooth packet analyzer ver 1.28
> device: hci0 snap_len: 1028 filter: 0x400
> =
>> AVDTP(s): Discover cmd: transaction 0
>> =
> < AVDTP(s): Discover rej: transaction 0
> Error code 6
> =
>> AVDTP(s): Discover cmd: transaction 0
>> =
> < AVDTP(s): Discover rej: transaction 0
> Error code 6
>
> =
>>> Is the alsa plugin setup as default or explicitly set to xmms?
>>> =
> Explicitly set to xmms =
>
> Of interest the only time I got it to work was when a2dpd was running in =
the forground (from console) never works when running from deamon.
>
> All other avtp funtions work great play pause<10secs skip and rev
>
> Volume also works great but as that's a built in hardware funstion of the=
headset ;-)
>
> -------------------------------------------------------------------------=
--------- =
>
>
>
> -----Original Message-----
> From: [email protected] [mailto:bluez-devel-bounc=
[email protected]] On Behalf Of Fr=E9d=E9ric DALLEAU
> Sent: 18 August 2006 11:00
> To: BlueZ development
> Subject: Re: [Bluez-devel] a2pdbtsco won'tcompile (FIX) plus xmmserror(tr=
ials andtribulations) howcool is this!!! new patch
>
> 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 =
have it since starting a2dpd. If you start up a2dpd without sending sound, =
this 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_DIS=
COVER we answer by rejecting the DISCOVER, but we launch xmms who in turn w=
ill 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 st=
art xmms (mormaly see below) and pressing pause wait 15 sec then play resul=
ts in nothing. I would say it was my headphones but it did work from avrcp =
and your first patch.
>>
>> Hcidump does show the press's but a2dpd does not show anything at all ju=
st 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 blu=
etooth 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 a=
nything 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 =
skip 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: [email protected] [mailto:bluez-devel-boun=
[email protected]] On Behalf Of Brad Midgley
>> Sent: 17 August 2006 15:07
>> To: BlueZ development
>> Subject: Re: [Bluez-devel] a2pdbtsco won'tcompile (FIX) plus xmmserror(t=
rials 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 e=
asier
>> Download IBM WebSphere Application Server v.1.0.1 based on Apache Geroni=
mo
>> http://sel.as-us.falkag.net/sel?cmd=3Dlnk&kid=3D120709&bid=3D263057&dat=
=3D121642
>> _______________________________________________
>> Bluez-devel mailing list
>> [email protected]
>> 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 e=
asier
>> Download IBM WebSphere Application Server v.1.0.1 based on Apache Geroni=
mo
>> http://sel.as-us.falkag.net/sel?cmd=3Dlnk&kid=3D120709&bid=3D263057&dat=
=3D121642
>> _______________________________________________
>> Bluez-devel mailing list
>> [email protected]
>> 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
> [email protected]
> 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
> [email protected]
> 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
[email protected]
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
[email protected]
https://lists.sourceforge.net/lists/listinfo/bluez-devel
Hi Andrew,
Are these 3 assumption valid at the same time?
- Hcidump does show the connections
- a2dpd does nothing at all just sits there looking pretty
- AVDTP(s): Discover rej: transaction 0
If these three points are absolutly true at a time, then you have another s=
oftware answering the bluetooth connection. It's not an a2dpd as the main t=
cpsocket would be busy. I thought it wasn't possible but I can't see anothe=
r point since you have an answer that a2dpd do not display. Curiously, this=
software also reject the avdtp_discover as do a2dpd. Aven't you forgotten =
an a2recv or any other bluetooth software in your startup scripts? It may b=
e kde or gnome-bluetooth related too I don't now what they do with a2dp...
Try the following to make sure :
# a2dpd MUST NOT be running
killall -9 a2dpd
sudo hcidump L2CAP
Then connect your headset normally (Pressed play 2 times from switched off =
headset switched on then pressed play), you should see the following :
HCI sniffer - Bluetooth packet analyzer ver 1.28
device: hci0 snap_len: 1028 filter: 0x8
> L2CAP(s): Connect req: psm 25 scid 0x0041 <------=
---------------------- The headset wants to connect to psm 25
< L2CAP(s): Connect rsp: dcid 0x0000 scid 0x0041 result 2 status 0 =
Connection refused - PSM not supported <------=
---------------------- Refused as nobody listen that psm
If the connection is accepted we will know that a2dpd do not answer, now we=
must find who.
open a root shell and type 'ps uax' to see all running processes
then for each pid try 'kill -9 pid' until you find the good one :D
Hope we get it one day :D
Fr=E9d=E9ric
Waldram, Andrew (SBS UK) a =E9crit :
> =
> This is what I get when it's failing you can see why I don't have a clue
>
> Accepting incoming tcp stream connection
> New connection to bluetooth [44100 hz]
> avrcp: Accepting incoming connection
> avdtp: Accepting incoming connection
>
> Pressed play 2 times from switched off headset switched on then pressed p=
lay.
>
> Hcidump does show the connections but a2dpd does nothing at all just sits=
there looking pretty.
>
> HCI sniffer - Bluetooth packet analyzer ver 1.28
> device: hci0 snap_len: 1028 filter: 0x400
> =
>> AVDTP(s): Discover cmd: transaction 0
>> =
> < AVDTP(s): Discover rej: transaction 0
> Error code 6
> =
>> AVDTP(s): Discover cmd: transaction 0
>> =
> < AVDTP(s): Discover rej: transaction 0
> Error code 6
>
> =
>>> Is the alsa plugin setup as default or explicitly set to xmms?
>>> =
> Explicitly set to xmms =
>
> Of interest the only time I got it to work was when a2dpd was running in =
the forground (from console) never works when running from deamon.
>
> All other avtp funtions work great play pause<10secs skip and rev
>
> Volume also works great but as that's a built in hardware funstion of the=
headset ;-)
>
> -------------------------------------------------------------------------=
--------- =
>
>
>
> -----Original Message-----
> From: [email protected] [mailto:bluez-devel-bounc=
[email protected]] On Behalf Of Fr=E9d=E9ric DALLEAU
> Sent: 18 August 2006 11:00
> To: BlueZ development
> Subject: Re: [Bluez-devel] a2pdbtsco won'tcompile (FIX) plus xmmserror(tr=
ials andtribulations) howcool is this!!! new patch
>
> 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 =
have it since starting a2dpd. If you start up a2dpd without sending sound, =
this 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_DIS=
COVER we answer by rejecting the DISCOVER, but we launch xmms who in turn w=
ill 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 st=
art xmms (mormaly see below) and pressing pause wait 15 sec then play resul=
ts in nothing. I would say it was my headphones but it did work from avrcp =
and your first patch.
>>
>> Hcidump does show the press's but a2dpd does not show anything at all ju=
st 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 blu=
etooth 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 a=
nything 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 =
skip 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: [email protected] [mailto:bluez-devel-boun=
[email protected]] On Behalf Of Brad Midgley
>> Sent: 17 August 2006 15:07
>> To: BlueZ development
>> Subject: Re: [Bluez-devel] a2pdbtsco won'tcompile (FIX) plus xmmserror(t=
rials 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 e=
asier
>> Download IBM WebSphere Application Server v.1.0.1 based on Apache Geroni=
mo
>> http://sel.as-us.falkag.net/sel?cmd=3Dlnk&kid=3D120709&bid=3D263057&dat=
=3D121642
>> _______________________________________________
>> Bluez-devel mailing list
>> [email protected]
>> 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 e=
asier
>> Download IBM WebSphere Application Server v.1.0.1 based on Apache Geroni=
mo
>> http://sel.as-us.falkag.net/sel?cmd=3Dlnk&kid=3D120709&bid=3D263057&dat=
=3D121642
>> _______________________________________________
>> Bluez-devel mailing list
>> [email protected]
>> 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
> [email protected]
> 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
> [email protected]
> 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
[email protected]
https://lists.sourceforge.net/lists/listinfo/bluez-devel
=
This is what I get when it's failing you can see why I don't have a clue
Accepting incoming tcp stream connection
New connection to bluetooth [44100 hz]
avrcp: Accepting incoming connection
avdtp: Accepting incoming connection
Pressed play 2 times from switched off headset switched on then pressed pla=
y.
Hcidump does show the connections but a2dpd does nothing at all just sits t=
here looking pretty.
HCI sniffer - Bluetooth packet analyzer ver 1.28
device: hci0 snap_len: 1028 filter: 0x400
> AVDTP(s): Discover cmd: transaction 0
< AVDTP(s): Discover rej: transaction 0
Error code 6
> AVDTP(s): Discover cmd: transaction 0
< AVDTP(s): Discover rej: transaction 0
Error code 6
>>Is the alsa plugin setup as default or explicitly set to xmms?
Explicitly set to xmms =
Of interest the only time I got it to work was when a2dpd was running in th=
e forground (from console) never works when running from deamon.
All other avtp funtions work great play pause<10secs skip and rev
Volume also works great but as that's a built in hardware funstion of the h=
eadset ;-)
---------------------------------------------------------------------------=
------- =
-----Original Message-----
From: [email protected] [mailto:bluez-devel-bounces=
@lists.sourceforge.net] On Behalf Of Fr=E9d=E9ric DALLEAU
Sent: 18 August 2006 11:00
To: BlueZ development
Subject: Re: [Bluez-devel] a2pdbtsco won'tcompile (FIX) plus xmmserror(tria=
ls andtribulations) howcool is this!!! new patch
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: [email protected] [mailto:bluez-devel-bounc=
[email protected]] 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
> [email protected]
> 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
> [email protected]
> 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
[email protected]
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
[email protected]
https://lists.sourceforge.net/lists/listinfo/bluez-devel
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: [email protected] [mailto:bluez-devel-bounc=
[email protected]] 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
> [email protected]
> 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
> [email protected]
> 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
[email protected]
https://lists.sourceforge.net/lists/listinfo/bluez-devel
=
Fr=E9d=E9ric
Tried everything you sugested still the same play from start will not start=
xmms (mormaly see below) and pressing pause wait 15 sec then play results =
in nothing. I would say it was my headphones but it did work from avrcp and=
your first patch.
Hcidump does show the press's but a2dpd does not show anything at all just =
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 blueto=
oth 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 anyt=
hing 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 ski=
p forward and back .
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: [email protected] [mailto:bluez-devel-bounces=
@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(tria=
ls 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 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
[email protected]
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
[email protected]
https://lists.sourceforge.net/lists/listinfo/bluez-devel
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 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
[email protected]
https://lists.sourceforge.net/lists/listinfo/bluez-devel
> Which is that against?
>
> Patch1 =
> Patch to try v1 =
> =
As I use cvs diff, it will be relative to latest cvs.
You may have to checkout again. Sorry :D
Fr=E9d=E9ric
-------------------------------------------------------------------------
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
[email protected]
https://lists.sourceforge.net/lists/listinfo/bluez-devel
Hi,
Try to use the latest patch http://fdalleau.free.fr/patch_to_try
Minor changes has been done. It worked all night long!
Fr=E9d=E9ric
Waldram, Andrew (SBS UK) a =E9crit :
> Thanks for the reply no worries where not saving the planet ;-)
>
> Think it's probably
>
> >>Make sure you have a cmdnew=3D line in .a2dprc.
>
> As I didn't know that was an option now ;-)
>
> I'll do it this evening
>
> On my headset play/pause is a pretty mute point as it's the same button.
>
> My headset also times out but you can tell if its on yer ead as it give a=
downward arpegio? =
>
> I'll try advertising the services too
>
>
> -------------------------------------------------------------------------=
--------- =
>
>
> -----Original Message-----
> From: [email protected] [mailto:bluez-devel-bounc=
[email protected]] On Behalf Of Fr=E9d=E9ric DALLEAU
> Sent: 16 August 2006 15:56
> To: BlueZ development
> Subject: Re: [Bluez-devel] a2pdbtsco won'tcompile (FIX) plus xmmserror(tr=
ials andtribulations) howcool is this!!! new patch
>
> Hi Andrew,
>
> Sorry to have waited so long, thank you for the tests! I really appreciat=
e!
>
> When I asked you the hcidump, I thought that the headset would not =
> connect to the daemon.
> But the first test shows us that the heaset sends Discover cmd and the =
> Discover rej answer is sent. I really doubt it is something else than =
> a2dpd (avrecv?) who answer. So I assume we got the message. Thus, there =
> is no reason why xmms is not started. Make sure you have a cmdnew=3D line =
> in .a2dprc. Try giving full path to xmms in config file.
> The command line parser is really weak only the first param is used : =
> things like 'xmms --play' will work, but 'xmms xyz --play ' won't. even =
> using a space between =3D and xmms will fail. Also using more than one =
> space between xmms and --play will fail! To see if it has been parsed =
> correctly, there are some 'forked...' messages in a2dpd output. TAB =
> instead of space will fail too. In fact, the line must be exactly: =
> cmdnew=3Dxmms[space]--play
>
> Apart from that, here are a few keys in order to have more informations =
> : It seems that the headset will feel better if the sdp record is =
> advertised first : sdptool add A2SRC; sdptool add AVRTG
>
> Make sure only one instance of a2dpd is started by issuing 'killall =
> a2dpd' or 'killall -9 a2dpd' before testing.
>
> The daemon is slow to react if you are not connected so make sure you =
> wait a few seconds before pressing play multiple times.
>
> When the headset is disconnected, the only accepted command is play. In =
> other words, pause, next and prev only works when sound is sent. There =
> are two distinct plays : one when sound has been sent during the last =
> previous 15 seconds. The other one is when there has been no sound : =
> headset initiated connexion. Do you see some "avdtp:" prefixed messages =
> in a2dpd output?
>
> Last, my HP headphone must be switched on first (long press on play =3D> =
> blue led blinking slowly), then only play can be pressed (short press) =
> to make connection. And it will automatically switch off on timeout. So =
> sometimes, you believe it is on, and it is not, so pressing anything =
> will fail.
>
> Thanks,
> Fr=E9d=E9ric.
>
>
>
> -------------------------------------------------------------------------
> 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
> [email protected]
> 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
> [email protected]
> 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
[email protected]
https://lists.sourceforge.net/lists/listinfo/bluez-devel
Which is that against?
Patch1 =
Patch to try v1 =
;-) =
---------------------------------------------------------------------------=
------- =
SIEMENS =
Andrew Waldram
Technical Implementations Group =
Server Specialist - South =
* Tel: +44 (0) 1344 396619
* Mob: +44 (0) 7808 827469
* Fax: +44 (0) 1344 358056 =
* Email: [email protected] =
This e-mail contains confidential information and is for the exclusive use =
of the addressee/s. If you are not the addressee, then any distribution, co=
pying or use of this e-mail is prohibited. If received in error, please adv=
ise the sender and delete it immediately. We accept no liability for any lo=
ss or damage suffered by any person arising from use of this e-mail. =
Siemens Business Services Limited =
Registered No: 1203466 England =
Registered Office: Siemens House, Oldbury, Bracknell, Berkshire, RG12 8FZ =
-----Original Message-----
From: [email protected] [mailto:bluez-devel-bounces=
@lists.sourceforge.net] On Behalf Of Fr=E9d=E9ric DALLEAU
Sent: 17 August 2006 09:03
To: BlueZ development
Subject: Re: [Bluez-devel] a2pdbtsco won'tcompile (FIX) plus xmmserror(tria=
ls andtribulations) howcool is this!!! new patch
Hi,
Try to use the latest patch http://fdalleau.free.fr/patch_to_try
Minor changes has been done. It worked all night long!
Fr=E9d=E9ric
Waldram, Andrew (SBS UK) a =E9crit :
> Thanks for the reply no worries where not saving the planet ;-)
>
> Think it's probably
>
> >>Make sure you have a cmdnew=3D line in .a2dprc.
>
> As I didn't know that was an option now ;-)
>
> I'll do it this evening
>
> On my headset play/pause is a pretty mute point as it's the same button.
>
> My headset also times out but you can tell if its on yer ead as it give a=
downward arpegio? =
>
> I'll try advertising the services too
>
>
> -------------------------------------------------------------------------=
--------- =
>
>
> -----Original Message-----
> From: [email protected] [mailto:bluez-devel-bounc=
[email protected]] On Behalf Of Fr=E9d=E9ric DALLEAU
> Sent: 16 August 2006 15:56
> To: BlueZ development
> Subject: Re: [Bluez-devel] a2pdbtsco won'tcompile (FIX) plus xmmserror(tr=
ials andtribulations) howcool is this!!! new patch
>
> Hi Andrew,
>
> Sorry to have waited so long, thank you for the tests! I really appreciat=
e!
>
> When I asked you the hcidump, I thought that the headset would not =
> connect to the daemon.
> But the first test shows us that the heaset sends Discover cmd and the =
> Discover rej answer is sent. I really doubt it is something else than =
> a2dpd (avrecv?) who answer. So I assume we got the message. Thus, there =
> is no reason why xmms is not started. Make sure you have a cmdnew=3D line =
> in .a2dprc. Try giving full path to xmms in config file.
> The command line parser is really weak only the first param is used : =
> things like 'xmms --play' will work, but 'xmms xyz --play ' won't. even =
> using a space between =3D and xmms will fail. Also using more than one =
> space between xmms and --play will fail! To see if it has been parsed =
> correctly, there are some 'forked...' messages in a2dpd output. TAB =
> instead of space will fail too. In fact, the line must be exactly: =
> cmdnew=3Dxmms[space]--play
>
> Apart from that, here are a few keys in order to have more informations =
> : It seems that the headset will feel better if the sdp record is =
> advertised first : sdptool add A2SRC; sdptool add AVRTG
>
> Make sure only one instance of a2dpd is started by issuing 'killall =
> a2dpd' or 'killall -9 a2dpd' before testing.
>
> The daemon is slow to react if you are not connected so make sure you =
> wait a few seconds before pressing play multiple times.
>
> When the headset is disconnected, the only accepted command is play. In =
> other words, pause, next and prev only works when sound is sent. There =
> are two distinct plays : one when sound has been sent during the last =
> previous 15 seconds. The other one is when there has been no sound : =
> headset initiated connexion. Do you see some "avdtp:" prefixed messages =
> in a2dpd output?
>
> Last, my HP headphone must be switched on first (long press on play =3D> =
> blue led blinking slowly), then only play can be pressed (short press) =
> to make connection. And it will automatically switch off on timeout. So =
> sometimes, you believe it is on, and it is not, so pressing anything =
> will fail.
>
> Thanks,
> Fr=E9d=E9ric.
>
>
>
> -------------------------------------------------------------------------
> 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
> [email protected]
> 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
> [email protected]
> 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
[email protected]
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
[email protected]
https://lists.sourceforge.net/lists/listinfo/bluez-devel
Ok On it tonight =
Let you Know =
---------------------------------------------------------------------------=
------- =
-----Original Message-----
From: [email protected] [mailto:bluez-devel-bounces=
@lists.sourceforge.net] On Behalf Of Fr=E9d=E9ric DALLEAU
Sent: 17 August 2006 09:18
To: BlueZ development
Subject: Re: [Bluez-devel] a2pdbtsco won'tcompile (FIX) plus xmmserror(tria=
ls andtribulations) howcool is this!!! new patch
> Which is that against?
>
> Patch1 =
> Patch to try v1 =
> =
As I use cvs diff, it will be relative to latest cvs.
You may have to checkout again. Sorry :D
Fr=E9d=E9ric
-------------------------------------------------------------------------
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
[email protected]
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
[email protected]
https://lists.sourceforge.net/lists/listinfo/bluez-devel
Thanks for the reply no worries where not saving the planet ;-)
Think it's probably
>>Make sure you have a cmdnew=3D line in .a2dprc.
As I didn't know that was an option now ;-)
I'll do it this evening
On my headset play/pause is a pretty mute point as it's the same button.
My headset also times out but you can tell if its on yer ead as it give a d=
ownward arpegio? =
I'll try advertising the services too
---------------------------------------------------------------------------=
------- =
-----Original Message-----
From: [email protected] [mailto:bluez-devel-bounces=
@lists.sourceforge.net] On Behalf Of Fr=E9d=E9ric DALLEAU
Sent: 16 August 2006 15:56
To: BlueZ development
Subject: Re: [Bluez-devel] a2pdbtsco won'tcompile (FIX) plus xmmserror(tria=
ls andtribulations) howcool is this!!! new patch
Hi Andrew,
Sorry to have waited so long, thank you for the tests! I really appreciate!
When I asked you the hcidump, I thought that the headset would not =
connect to the daemon.
But the first test shows us that the heaset sends Discover cmd and the =
Discover rej answer is sent. I really doubt it is something else than =
a2dpd (avrecv?) who answer. So I assume we got the message. Thus, there =
is no reason why xmms is not started. Make sure you have a cmdnew=3D line =
in .a2dprc. Try giving full path to xmms in config file.
The command line parser is really weak only the first param is used : =
things like 'xmms --play' will work, but 'xmms xyz --play ' won't. even =
using a space between =3D and xmms will fail. Also using more than one =
space between xmms and --play will fail! To see if it has been parsed =
correctly, there are some 'forked...' messages in a2dpd output. TAB =
instead of space will fail too. In fact, the line must be exactly: =
cmdnew=3Dxmms[space]--play
Apart from that, here are a few keys in order to have more informations =
: It seems that the headset will feel better if the sdp record is =
advertised first : sdptool add A2SRC; sdptool add AVRTG
Make sure only one instance of a2dpd is started by issuing 'killall =
a2dpd' or 'killall -9 a2dpd' before testing.
The daemon is slow to react if you are not connected so make sure you =
wait a few seconds before pressing play multiple times.
When the headset is disconnected, the only accepted command is play. In =
other words, pause, next and prev only works when sound is sent. There =
are two distinct plays : one when sound has been sent during the last =
previous 15 seconds. The other one is when there has been no sound : =
headset initiated connexion. Do you see some "avdtp:" prefixed messages =
in a2dpd output?
Last, my HP headphone must be switched on first (long press on play =3D> =
blue led blinking slowly), then only play can be pressed (short press) =
to make connection. And it will automatically switch off on timeout. So =
sometimes, you believe it is on, and it is not, so pressing anything =
will fail.
Thanks,
Fr=E9d=E9ric.
-------------------------------------------------------------------------
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
[email protected]
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
[email protected]
https://lists.sourceforge.net/lists/listinfo/bluez-devel
Fr=E9d=E9ric
> What about the release plans? What is missing?
integration testing with the alsa sco plugin and overall documentation.
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 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
[email protected]
https://lists.sourceforge.net/lists/listinfo/bluez-devel
>> This was the problem for 100% cpu usage, it is now fixed but not yet in =
cvs.
>> However we still wonder why it freezed Andrew's computer.
>> =
>
> great... send me the final patch if it's ready for cvs.
> =
Brad,
I just repatched the patch :D . I use long integer, and reset the frame =
counter after a big value. Drawback : you can hear a crack but this =
happens after about 500 hours (depending upon the wisely named constant =
MAXTOTALCOUNT). However, this one is nearly not tested as I'm busy =
elsewhere. Feel free to have a look.
You can find it here http://fdalleau.free.fr/patch_to_try
It also feature a new rate key in .a2dprc. You can say rate=3D32000 or =
rate=3D44100 to try different headsets. It works with Sonorix.
What about the release plans? What is missing?
Regards,
Fr=E9d=E9ric
-------------------------------------------------------------------------
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
[email protected]
https://lists.sourceforge.net/lists/listinfo/bluez-devel
Fr=E9d=E9ric
> This was the problem for 100% cpu usage, it is now fixed but not yet in c=
vs.
> However we still wonder why it freezed Andrew's computer.
great... send me the final patch if it's ready for cvs.
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 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
[email protected]
https://lists.sourceforge.net/lists/listinfo/bluez-devel
=
Fr=E9d=E9ric
Did you get my hcidump reply?
Probably more important did you understand what I was trying to show?
---------------------------------------------------------------------------=
------- =
SIEMENS =
Andrew Waldram
Technical Implementations Group =
Server Specialist - South =
* Tel: +44 (0) 1344 396619
* Mob: +44 (0) 7808 827469
* Fax: +44 (0) 1344 358056 =
* Email: [email protected] =
This e-mail contains confidential information and is for the exclusive use =
of the addressee/s. If you are not the addressee, then any distribution, co=
pying or use of this e-mail is prohibited. If received in error, please adv=
ise the sender and delete it immediately. We accept no liability for any lo=
ss or damage suffered by any person arising from use of this e-mail. =
Siemens Business Services Limited =
Registered No: 1203466 England =
Registered Office: Siemens House, Oldbury, Bracknell, Berkshire, RG12 8FZ =
-----Original Message-----
From: [email protected] [mailto:bluez-devel-bounces=
@lists.sourceforge.net] On Behalf Of Fr=E9d=E9ric DALLEAU
Sent: 16 August 2006 14:33
To: BlueZ development
Subject: Re: [Bluez-devel] a2pd btsco won't compile (FIX) plus xmmserror(tr=
ials and tribulations) how cool is this!!! new patch
Hi,
This was the problem for 100% cpu usage, it is now fixed but not yet in cvs.
However we still wonder why it freezed Andrew's computer.
Fr=E9d=E9ric
Steven Singer a =E9crit :
> Fr=E9d=E9ric DALLEAU wrote:
> =
>> certainly, but for now i'm not used to gdb, this will come
>> moreover, i will still have to wait 36 minutes before it crashes
>> =
>
> Call me paranoid, but 36 minutes is the time after which a 32 bit
> microsecond counter will half-wrap.
>
> So, if you were doing 32 bit calculations from a base time in units
> of microseconds then after 36 minutes the calculations will wrap
> giving negative results. This might make your system think that it has
> to do some work now as opposed to at some time in the future. This
> could lead to a busy loop (which will then stop after another 36
> minutes).
>
> - Steven
> =
-------------------------------------------------------------------------
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
[email protected]
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
[email protected]
https://lists.sourceforge.net/lists/listinfo/bluez-devel
Hi Andrew,
Sorry to have waited so long, thank you for the tests! I really appreciate!
When I asked you the hcidump, I thought that the headset would not =
connect to the daemon.
But the first test shows us that the heaset sends Discover cmd and the =
Discover rej answer is sent. I really doubt it is something else than =
a2dpd (avrecv?) who answer. So I assume we got the message. Thus, there =
is no reason why xmms is not started. Make sure you have a cmdnew=3D line =
in .a2dprc. Try giving full path to xmms in config file.
The command line parser is really weak only the first param is used : =
things like 'xmms --play' will work, but 'xmms xyz --play ' won't. even =
using a space between =3D and xmms will fail. Also using more than one =
space between xmms and --play will fail! To see if it has been parsed =
correctly, there are some 'forked...' messages in a2dpd output. TAB =
instead of space will fail too. In fact, the line must be exactly: =
cmdnew=3Dxmms[space]--play
Apart from that, here are a few keys in order to have more informations =
: It seems that the headset will feel better if the sdp record is =
advertised first : sdptool add A2SRC; sdptool add AVRTG
Make sure only one instance of a2dpd is started by issuing 'killall =
a2dpd' or 'killall -9 a2dpd' before testing.
The daemon is slow to react if you are not connected so make sure you =
wait a few seconds before pressing play multiple times.
When the headset is disconnected, the only accepted command is play. In =
other words, pause, next and prev only works when sound is sent. There =
are two distinct plays : one when sound has been sent during the last =
previous 15 seconds. The other one is when there has been no sound : =
headset initiated connexion. Do you see some "avdtp:" prefixed messages =
in a2dpd output?
Last, my HP headphone must be switched on first (long press on play =3D> =
blue led blinking slowly), then only play can be pressed (short press) =
to make connection. And it will automatically switch off on timeout. So =
sometimes, you believe it is on, and it is not, so pressing anything =
will fail.
Thanks,
Fr=E9d=E9ric.
-------------------------------------------------------------------------
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
[email protected]
https://lists.sourceforge.net/lists/listinfo/bluez-devel
Hi,
This was the problem for 100% cpu usage, it is now fixed but not yet in cvs.
However we still wonder why it freezed Andrew's computer.
Fr=E9d=E9ric
Steven Singer a =E9crit :
> Fr=E9d=E9ric DALLEAU wrote:
> =
>> certainly, but for now i'm not used to gdb, this will come
>> moreover, i will still have to wait 36 minutes before it crashes
>> =
>
> Call me paranoid, but 36 minutes is the time after which a 32 bit
> microsecond counter will half-wrap.
>
> So, if you were doing 32 bit calculations from a base time in units
> of microseconds then after 36 minutes the calculations will wrap
> giving negative results. This might make your system think that it has
> to do some work now as opposed to at some time in the future. This
> could lead to a busy loop (which will then stop after another 36
> minutes).
>
> - Steven
> =
-------------------------------------------------------------------------
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
[email protected]
https://lists.sourceforge.net/lists/listinfo/bluez-devel
Fr=E9d=E9ric DALLEAU wrote:
> certainly, but for now i'm not used to gdb, this will come
> moreover, i will still have to wait 36 minutes before it crashes
Call me paranoid, but 36 minutes is the time after which a 32 bit
microsecond counter will half-wrap.
So, if you were doing 32 bit calculations from a base time in units
of microseconds then after 36 minutes the calculations will wrap
giving negative results. This might make your system think that it has
to do some work now as opposed to at some time in the future. This
could lead to a busy loop (which will then stop after another 36
minutes).
- Steven
-- =
To access the latest news from CSR copy this link into a web browser: http=
://http://www.csr.com/email_sig.php
-------------------------------------------------------------------------
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
[email protected]
https://lists.sourceforge.net/lists/listinfo/bluez-devel
Sorry for the length but I have snipped out the chaf??
=
from starting a2dpd session 2 play press's
HCI sniffer - Bluetooth packet analyzer ver 1.28
device: hci0 snap_len: 1028 filter: 0x400
> AVDTP(s): Discover cmd: transaction 0
< AVDTP(s): Discover rej: transaction 0
Error code 6
> AVDTP(s): Discover cmd: transaction 0
< AVDTP(s): Discover rej: transaction 0
Error code 6
no Xmms no sound ;-(
start xmms manualy press play on xmms
play -> pause wait 15 secs play (repeatedly no response)
< AVDTP(m): ver 2 cc 0 pt 1 seqn 994 time 2430864 ssrc 1
< AVDTP(m): ver 2 cc 0 pt 1 seqn 995 time 2433312 ssrc 1
< AVDTP(s): Close cmd: transaction 5
ACP SEID 1
< AVDTP(m): ver 1 ext cc 0 pt 8 seqn 1251 time 2433312 ssrc 1
> AVDTP(s): Close rsp: transaction 5
play (repeatedly no response)
press stop on xmms the play on xmms
< AVDTP(m): ver 1 pad cc 0 pt 1 seqn 1536 time 1090519040 ssrc 65535
> AVDTP(s): Discover rsp: transaction 6
ACP SEID 1 - Audio Sink
< AVDTP(m): ver 1 pad ext cc 0 pt 2 seqn 1032 time 1090519040 ssrc 65535
> AVDTP(s): Capabilities rsp: transaction 7
Media Transport
Media Codec - SBC
32kHz 44.1kHz 48kHz
Mono DualChannel Stereo JointStereo
4 8 12 16 Blocks
4 8 Subbands
SNR Loudness
Bitpool Range 2-250
< AVDTP(m): ver 2 cc 0 pt 3 seqn 1028 time 16779014 ssrc 8726
> AVDTP(s): Set config rsp: transaction 8
< AVDTP(m): ver 2 ext cc 0 pt 6 seqn 1028 time 16779014 ssrc 8726
> AVDTP(s): Open rsp: transaction 9
< AVDTP(m): ver 2 pad cc 0 pt 7 seqn 1024 time 1107313664 ssrc 0
> AVDTP(s): Start rsp: transaction 10
Strangley the streams I had before do not occur but music plays??
skip and pause<15 sec play work but nothing now gets added to the output (h=
ave
we changed thread ????
Press pause >15 =
< AVDTP(m): ver 2 pad ext cc 0 pt 8 seqn 1102 time 20869200 ssrc 1
> AVDTP(s): Close rsp: transaction 11
press play again
> AVDTP(s): Discover cmd: transaction 0
< AVDTP(s): Discover rej: transaction 0
Error code 6
< AVDTP(s): Discover cmd: transaction 12
> AVDTP(s): Discover rsp: transaction 12
ACP SEID 1 - Audio Sink
< AVDTP(s): Capabilities cmd: transaction 13
ACP SEID 1
> AVDTP(s): Capabilities rsp: transaction 13
Media Transport
Media Codec - SBC
32kHz 44.1kHz 48kHz
Mono DualChannel Stereo JointStereo
4 8 12 16 Blocks
4 8 Subbands
SNR Loudness
Bitpool Range 2-250
< AVDTP(s): Set config cmd: transaction 14
ACP SEID 1 - INT SEID 1
Media Transport
Media Codec - SBC
44.1kHz
Stereo
16 Blocks
8 Subbands
SNR
Bitpool Range 2-250
> AVDTP(s): Set config rsp: transaction 14
< AVDTP(s): Open cmd: transaction 15
ACP SEID 1
> AVDTP(s): Open rsp: transaction 15
< AVDTP(s): Start cmd: transaction 0
ACP SEID 1
> AVDTP(s): Start rsp: transaction 0
< AVDTP(m): ver 2 cc 0 pt 1 seqn 1 time 0 ssrc 1
< AVDTP(m): ver 2 cc 0 pt 1 seqn 2 time 2448 ssrc 1
< AVDTP(m): ver 2 cc 0 pt 1 seqn 3 time 4896 ssrc 1
< AVDTP(m): ver 2 cc 0 pt 1 seqn 4 time 7344 ssrc 1
< AVDTP(m): ver 2 cc 0 pt 1 seqn 5 time 9792 ssrc 1
< AVDTP(m): ver 2 cc 0 pt 1 seqn 6 time 12240 ssrc 1
< AVDTP(m): ver 2 cc 0 pt 1 seqn 7 time 14688 ssrc 1
< AVDTP(m): ver 2 cc 0 pt 1 seqn 8 time 17136 ssrc 1
< AVDTP(m): ver 2 cc 0 pt 1 seqn 9 time 19584 ssrc 1
< AVDTP(m): ver 2 cc 0 pt 1 seqn 10 time 22032 ssrc 1
< AVDTP(m): ver 2 cc 0 pt 1 seqn 11 time 24480 ssrc 1
Whoo hoo worked this time !!!!!
Now it shows streams again ????? weird
well think thats got it
start play not working
pause > 15 sec failing
pause > 15 sec working
---------------------------------------------------------------------------=
------- =
-----Original Message-----
From: [email protected] [mailto:bluez-devel-bounces=
@lists.sourceforge.net] On Behalf Of Waldram, Andrew (SBS UK)
Sent: 11 August 2006 08:53
To: BlueZ development
Subject: Re: [Bluez-devel] a2pdbtsco won'tcompile (FIX) plus xmmserror(tria=
ls andtribulations) howcool is this!!! new patch
I'll give it a spin this evenning =
'Are you sure the previous patch was so good ??? :D'
Nah the new ones better found it difilcult to play sound on locked machine =
;-)
---------------------------------------------------------------------------=
------- =
-----Original Message-----
From: [email protected] [mailto:bluez-devel-bounces=
@lists.sourceforge.net] On Behalf Of Fr=E9d=E9ric DALLEAU
Sent: 10 August 2006 17:05
To: BlueZ development
Subject: Re: [Bluez-devel] a2pd btsco won'tcompile (FIX) plus xmmserror(tri=
als and tribulations) howcool is this!!! new patch
Hi Andrew;
>First good news your patch does fix the lock extensive testing (sit and wa=
it) and no locks.
> =
>
This patch correct an integer overflow, if it is not heat, maybe the =
overflow does something in the kernel?
In any case, it is better to have it corrected.
>Then the not so good avrcp seems very flaky now =
> =
>
Looking to traces, it seems that I do not received any data.
hcidump could help us to see what happens at bluez level.
Try hcidump first to see if you receive a packet. Be very fast I only =
need a few first line, and you'll be flooded when sound start
use it like that : sudo hcidump AVDTP
HCI sniffer - Bluetooth packet analyzer ver 1.23
device: hci0 snap_len: 1028 filter: 0x400
> AVDTP(s): Discover cmd: transaction 0
< AVDTP(s): Discover rej: transaction 0
This is what the headset sends us :
> AVDTP(s): Discover cmd: transaction 0
This is what we answer :
< AVDTP(s): Discover rej: transaction 0
Then music should start.
>This is a regression from your previous patch where pause always worked an=
d pressing play on the headphones started xmms if it wasn't running.
> =
>
Are you sure the previous patch was so good ??? :D
Fr=E9d=E9ric
-------------------------------------------------------------------------
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
[email protected]
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
[email protected]
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
[email protected]
https://lists.sourceforge.net/lists/listinfo/bluez-devel
I'll give it a spin this evenning =
'Are you sure the previous patch was so good ??? :D'
Nah the new ones better found it difilcult to play sound on locked machine =
;-)
---------------------------------------------------------------------------=
------- =
-----Original Message-----
From: [email protected] [mailto:bluez-devel-bounces=
@lists.sourceforge.net] On Behalf Of Fr=E9d=E9ric DALLEAU
Sent: 10 August 2006 17:05
To: BlueZ development
Subject: Re: [Bluez-devel] a2pd btsco won'tcompile (FIX) plus xmmserror(tri=
als and tribulations) howcool is this!!! new patch
Hi Andrew;
>First good news your patch does fix the lock extensive testing (sit and wa=
it) and no locks.
> =
>
This patch correct an integer overflow, if it is not heat, maybe the =
overflow does something in the kernel?
In any case, it is better to have it corrected.
>Then the not so good avrcp seems very flaky now =
> =
>
Looking to traces, it seems that I do not received any data.
hcidump could help us to see what happens at bluez level.
Try hcidump first to see if you receive a packet. Be very fast I only =
need a few first line, and you'll be flooded when sound start
use it like that : sudo hcidump AVDTP
HCI sniffer - Bluetooth packet analyzer ver 1.23
device: hci0 snap_len: 1028 filter: 0x400
> AVDTP(s): Discover cmd: transaction 0
< AVDTP(s): Discover rej: transaction 0
This is what the headset sends us :
> AVDTP(s): Discover cmd: transaction 0
This is what we answer :
< AVDTP(s): Discover rej: transaction 0
Then music should start.
>This is a regression from your previous patch where pause always worked an=
d pressing play on the headphones started xmms if it wasn't running.
> =
>
Are you sure the previous patch was so good ??? :D
Fr=E9d=E9ric
-------------------------------------------------------------------------
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
[email protected]
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
[email protected]
https://lists.sourceforge.net/lists/listinfo/bluez-devel
Fr=E9d=E9ric
>>Then the not so good avrcp seems very flaky now =
fyi, I think I forgot to comment on volume control with avrcp. I put
code in the playground that I understood from the ieee1394 docs would
control volume on the set. It didn't work, so I may be doing it wrong or
it may just not be implemented in the set. the avrcp spec is a mix of
bluetooth and ieee1394 which leads to a lack of clarity on these points.
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 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
[email protected]
https://lists.sourceforge.net/lists/listinfo/bluez-devel
Hi Andrew;
>First good news your patch does fix the lock extensive testing (sit and wa=
it) and no locks.
> =
>
This patch correct an integer overflow, if it is not heat, maybe the =
overflow does something in the kernel?
In any case, it is better to have it corrected.
>Then the not so good avrcp seems very flaky now =
> =
>
Looking to traces, it seems that I do not received any data.
hcidump could help us to see what happens at bluez level.
Try hcidump first to see if you receive a packet. Be very fast I only =
need a few first line, and you'll be flooded when sound start
use it like that : sudo hcidump AVDTP
HCI sniffer - Bluetooth packet analyzer ver 1.23
device: hci0 snap_len: 1028 filter: 0x400
> AVDTP(s): Discover cmd: transaction 0
< AVDTP(s): Discover rej: transaction 0
This is what the headset sends us :
> AVDTP(s): Discover cmd: transaction 0
This is what we answer :
< AVDTP(s): Discover rej: transaction 0
Then music should start.
>This is a regression from your previous patch where pause always worked an=
d pressing play on the headphones started xmms if it wasn't running.
> =
>
Are you sure the previous patch was so good ??? :D
Fr=E9d=E9ric
-------------------------------------------------------------------------
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
[email protected]
https://lists.sourceforge.net/lists/listinfo/bluez-devel
Hi Fr=E9d=E9ric,
First good news your patch does fix the lock extensive testing (sit and wai=
t) and no locks.
Then the not so good avrcp seems very flaky now =
Symptoms
Start a2dpd =
read_config_string: [a2dpd] 'address'=3D'00:0D:44:2A:5C:12'
read_config_string: [a2dpd] 'cmdplay'=3D'xmms --play'
read_config_string: [a2dpd] 'cmdpause'=3D'xmms --pause'
read_config_string: [a2dpd] 'cmdprev'=3D'xmms --rew'
read_config_string: [a2dpd] 'cmdnext'=3D'xmms --fwd'
read_config_string: [a2dpd] 'cmdnew'=3D'xmms --play'
read_config_string: [a2dpd] 'logfile'=3D'/tmp/a2dpd.log'
a2dpd [Aug 9 2006 18:10:25] starting .../usr/bin/a2dpd
addr=3D00:0D:44:2A:5C:12 timer=3D4000 us [Aug 9 2006 18:10:25]
setscheduler returns 0 (errno=3D0:Success)
Accepting incoming tcp stream connection
New connection to bluetooth
avrcp: Accepting incoming connection
avdtp: Accepting incoming connection
Press play nothing happens at all it as if the laptops not listening at all=
for connections from headphone
Ok the resart a2dpd and the xmms the headphones =
Music plays....
Skip forward and back both OK
Pause < 10 secs OK
Pause > 10 secs 1 in 3 works (seems strange that as I'd have thought it'd w=
ork or not work).
avrcp: socket 9: Connection from 12:5C:2A:44:0D:00, mtu=3D672
[pause] xmms --pause
Forked xmms --pause
[1] Receiving failed on socket 0.6 error (-1/4 bytes) errno=3D11:Resource
temporarily unavailable
Client thread 0.6 ending: timeout
Destroying lpA2dp, destroy_count is 2001
DEBUG: a2dp_destroy: Begin
DEBUG: a2dp_free: Begin
DEBUG: a2dp_destroy: a2dp_destroy(0x8055fe8) OK
avrcp: socket 9: timed out
Pressing play now does nothing (sometimes)
This is a regression from your previous patch where pause always worked and=
pressing play on the headphones started xmms if it wasn't running.
Andy
---------------------------------------------------------------------------=
------- =
-----Original Message-----
From: [email protected] [mailto:bluez-devel-bounces=
@lists.sourceforge.net] On Behalf Of Waldram, Andrew (SBS UK)
Sent: 09 August 2006 08:42
To: BlueZ development
Subject: Re: [Bluez-devel] a2pd btsco won'tcompile (FIX) plus xmmserror(tri=
als and tribulations) howcool is this!!! new patch
Hi,
I'll have to try the new patch tonight I missed you yesterday by 30 minutes
Didn't think to check my work mail from home as didn't expect you to come u=
p with something to test so quick.
I tested multiple kernels =
2.6.14 - stock =
2.6.15 - Ubuntu
2.6.16 - Custom -> modded to allow non standard dtv card to function.
All showed the same symtoms 30 minutes locked
I ran top and when locked the cpu was showing 6.6% might've been top to slo=
w to react
The laptop wasn't warm to touch so it looks to me that if it is the overflo=
w then my Machines dyes ;-) as soon as resources vanish. =
---------------------------------------------------------------------------=
------- =
-----Original Message-----
From: [email protected] [mailto:bluez-devel-bounces=
@lists.sourceforge.net] On Behalf Of Fr=E9d=E9ric DALLEAU
Sent: 08 August 2006 17:37
To: BlueZ development
Subject: Re: [Bluez-devel] a2pd btsco won't compile (FIX) plus xmmserror(tr=
ials and tribulations) how cool is this!!! new patch
Hi, I put the patch online as I have no time to test it tonight but it =
should be ok if you wana try.
Will post a real one tomorrow when tested..
http://fdalleau.free.fr/patch_to_try
>Sounds like you've got a handle on the issue though.
>
>It's not patience but gratitude for all your hard work ;-)
> =
>
Don't worry too much, I get paid for that!
Fr=E9d=E9ric.
-------------------------------------------------------------------------
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
[email protected]
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
[email protected]
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
[email protected]
https://lists.sourceforge.net/lists/listinfo/bluez-devel
Hi,
I'll have to try the new patch tonight I missed you yesterday by 30 minutes
Didn't think to check my work mail from home as didn't expect you to come u=
p with something to test so quick.
I tested multiple kernels =
2.6.14 - stock =
2.6.15 - Ubuntu
2.6.16 - Custom -> modded to allow non standard dtv card to function.
All showed the same symtoms 30 minutes locked
I ran top and when locked the cpu was showing 6.6% might've been top to slo=
w to react
The laptop wasn't warm to touch so it looks to me that if it is the overflo=
w then my Machines dyes ;-) as soon as resources vanish. =
---------------------------------------------------------------------------=
------- =
-----Original Message-----
From: [email protected] [mailto:bluez-devel-bounces=
@lists.sourceforge.net] On Behalf Of Fr=E9d=E9ric DALLEAU
Sent: 08 August 2006 17:37
To: BlueZ development
Subject: Re: [Bluez-devel] a2pd btsco won't compile (FIX) plus xmmserror(tr=
ials and tribulations) how cool is this!!! new patch
Hi, I put the patch online as I have no time to test it tonight but it =
should be ok if you wana try.
Will post a real one tomorrow when tested..
http://fdalleau.free.fr/patch_to_try
>Sounds like you've got a handle on the issue though.
>
>It's not patience but gratitude for all your hard work ;-)
> =
>
Don't worry too much, I get paid for that!
Fr=E9d=E9ric.
-------------------------------------------------------------------------
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
[email protected]
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
[email protected]
https://lists.sourceforge.net/lists/listinfo/bluez-devel
>Could you not use gdb, or various other debugging tools to catch these?
>
> =
>
Hi,
certainly, but for now i'm not used to gdb, this will come
moreover, i will still have to wait 36 minutes before it crashes
Fr=E9d=E9ric
-------------------------------------------------------------------------
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
[email protected]
https://lists.sourceforge.net/lists/listinfo/bluez-devel
Hi, I put the patch online as I have no time to test it tonight but it =
should be ok if you wana try.
Will post a real one tomorrow when tested..
http://fdalleau.free.fr/patch_to_try
>Sounds like you've got a handle on the issue though.
>
>It's not patience but gratitude for all your hard work ;-)
> =
>
Don't worry too much, I get paid for that!
Fr=E9d=E9ric.
-------------------------------------------------------------------------
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
[email protected]
https://lists.sourceforge.net/lists/listinfo/bluez-devel
On 8/8/06, Fr=E9d=E9ric DALLEAU <[email protected]> wrote:
> Andrew,
>
> I ran the test you told me, on my computer I noticed the process started
> using 100% cpu time after 35 mins. Two hours later the computer was
> still alive. Certainly an overflow when calculating delays. The relation
> with the freeze is not clear. My only assumption for now is that taking
> so much cpu time can overheat a computer. It should not freeze, but it
> is not excluded. Are you using an overclocked computer? Fan lowering
> software?
>
> The mail thread clearly state the problem is 2.6.17 mh3+ related. If
> you're not already 2.6.17, there need to try 2.6.16.
>
> I'm isolating the cpu time prob, this is long but easy to reproduce. So
> it should be corrected soon.
>
> Thank you for all your patience :D
Could you not use gdb, or various other debugging tools to catch these?
Peter
-------------------------------------------------------------------------
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
[email protected]
https://lists.sourceforge.net/lists/listinfo/bluez-devel
Fr=E9d=E9ric
Thanks for your time,
No my laptop is not overclocked single pIII 1Ghz =
Ubuntu stock 2.6.15-26 6.06 kernel with patches for apanel and fujacpi adde=
d =
These patches are to allow ancillary buttons and screen brightness to be co=
ntrolled
I'd be supprised if my machine stops overheated as I'd have thought my fan =
would ramp up prior to problem, but some of my acpi/apanel modules use poll=
ing (sloppy I know) that they kill the machine when resources are scarce.
Sounds like you've got a handle on the issue though.
It's not patience but gratitude for all your hard work ;-)
---------------------------------------------------------------------------=
------- =
-----Original Message-----
From: [email protected] [mailto:bluez-devel-bounces=
@lists.sourceforge.net] On Behalf Of Fr=E9d=E9ric DALLEAU
Sent: 08 August 2006 15:48
To: BlueZ development
Subject: Re: [Bluez-devel] a2pd btsco won't compile (FIX) plus xmmserror(tr=
ials and tribulations) how cool is this!!! new patch
Andrew,
I ran the test you told me, on my computer I noticed the process started =
using 100% cpu time after 35 mins. Two hours later the computer was =
still alive. Certainly an overflow when calculating delays. The relation =
with the freeze is not clear. My only assumption for now is that taking =
so much cpu time can overheat a computer. It should not freeze, but it =
is not excluded. Are you using an overclocked computer? Fan lowering =
software?
The mail thread clearly state the problem is 2.6.17 mh3+ related. If =
you're not already 2.6.17, there is need to try 2.6.16.
I'm isolating the cpu time prob, this is long but easy to reproduce. So =
it should be corrected soon.
Thank you for all your patience :D
Fr=E9d=E9ric
Waldram, Andrew (SBS UK) a =E9crit :
> =
>It's a real lock no mouse capslock or numlock
>
>Four sec power button press to shut off =
>
>Start it from rc.local kernel 2.6.15 (has done it on the last 3)
>
>Sudo -u andy -H a2dpd -d +v
>
>Don't use it as default so it's not the default alsa device =
>
>Normal soundcard (i810) sound still functions.
>
>It still does it if you've been using the headphones then desconnect them,=
approx 30 mins later locked.
>
>It's fine while headphones in use (fell asleep with them on 3 hours all OK)
>
>Tmp is mounted as logging starts in it OK.
>
>Will try a custom 2.6.16 I have hanging around ;-) tonight. =
>
>--------------------------------------------------------------------------=
-------- =
>
>
>
>-----Original Message-----
>From: [email protected] [mailto:bluez-devel-bounce=
[email protected]] On Behalf Of Fr=E9d=E9ric DALLEAU
>Sent: 08 August 2006 09:40
>To: BlueZ development
>Subject: Re: [Bluez-devel] a2pd btsco won't compile (FIX) plus xmmserror(t=
rials and tribulations) how cool is this!!! new patch
>
>Hi Andrew,
>
>By lock solid do you mean system freeze or a 100% cpu time? Does your =
>mouse move? Do capslock & numlock still light on/off?
>When you start it as a daemon, how do you do it? Is it from a =
>shell/rootshell/startup script/sysinit?
>Are you sure that you have not attempted to use headset, it is not your =
>default alsa plugin, and you have not started xmms. If it is default, =
>another application could have started sound.
>
>
>Since we only work in user mode, we should not lock solid the system! I =
>used to consider this assumption valid when I was a Windows programmer =
>so it should be under linux :D ...
>
>This reminds me the lock problem that was signaled last week, Look at =
>this thread:
>http://sourceforge.net/mailarchive/forum.php?thread_id=3D29109531&forum_id=
=3D1881
>
>It said :
>
> After upgrading I discovered that my machine freezes after being left
> idle for approximately 30 min.
>
>...
>this looks like a problem with the kthread API. We converted BNEP, CMTP
>
> and HIDP to it with 2.6.17-mh3. So a 2.6.17-mh2 kernel should work
> without any problems.
>
>If you have unbuntu, you will certainly have multiple kernel to boot, =
>can you try an older one to see if it is the same.
>
>
>Moreover, I confirm that the log file is filed while in daemon mode. =
>Maybe the daemon is started before /tmp is mounted. Try another =
>location, simply add
>
>logfile=3D/what_you_want_but_you_need_write_permission
>
>to the config file before startup.
>
>
>Fr=E9d=E9ric
>
>
>
>Waldram, Andrew (SBS UK) a =E9crit :
>
> =
>
>>Still have the issue were if I start it as a deamon (a2dpd -d +v) then af=
ter about 30 minutes my system just locks solid
>>
>>This only happenes if you have no connection i.e the deamon is started bu=
t you have not attempted to use headset.
>>
>>I thought initialy it was loging but after you've added the logging code =
guess not.
>>
>>Got no idea how to debug this as nothing appears in any log it just lock=
s solid.
>>
>>
>>-------------------------------------------------------------------------=
--------- =
>>
>>
>>-----Original Message-----
>>From: [email protected] [mailto:bluez-devel-bounc=
[email protected]] On Behalf Of Waldram, Andrew (SBS UK)
>>Sent: 05 August 2006 16:03
>>To: BlueZ development
>>Subject: Re: [Bluez-devel] a2pd btsco won't compile (FIX) plus xmmserror(=
trials and tribulations) how cool is this!!! new patch
>>
>>Hi again =
>>
>>It's permissions needed to start a2dp as sudo -u andy -H a2dpd =
>>Else xmms and the controls didn't synchronise (had extra xmms sesions app=
earing )
>>
>>Now seems pretty slick =
>>
>>Will continue to play and report back later after day to day use..
>>-------------------------------------------------------------------------=
--------- =
>>
>>-----Original Message-----
>>From: [email protected] [mailto:bluez-devel-bounc=
[email protected]] On Behalf Of Waldram, Andrew (SBS UK)
>>Sent: 05 August 2006 14:55
>>To: BlueZ development
>>Subject: Re: [Bluez-devel] a2pd btsco won't compile (FIX) plus xmms error=
(trials and tribulations) how cool is this!!! new patch
>>
>>Hi
>>
>>Don't know if its my headphones but pressing play does not start xmms.
>>
>>If I manuly start Xmms then fwd rev play pause work
>>
>>But still once 10 secs has done then pressinf play on the headphones does=
nothing and if I press play on xmms it still just doesn't work
>>
>>Accepting incoming tcp stream connection
>>[pause] xmms --pause
>>Forked xmms --pause <----------------------Pause press ;-)
>>[1] Receiving failed on socket 0.6 error (-1/4 bytes) errno=3D11:Resource
>>temporarily unavailable <--------------------- press play repeatedly on=
head phones nothing happens
>>Client thread 0.6 ending: timeout =
>>Destroying lpA2dp, destroy_count is 2001
>>DEBUG: a2dp_destroy: Begin
>>DEBUG: a2dp_free: Begin
>>DEBUG: a2dp_destroy: a2dp_destroy(0x80561f0) OK
>>avrcp: socket 9: timed out
>>Accepted 6
>>PCM thread 0.6 started < ------------------------------ press play on xm=
ms =
>>DEBUG: a2dp_new: Begin
>>DEBUG: a2dp_new: bdaddr/dest is 00:0D:44:2A:5C:12
>>DEBUG: a2dp_alloc: Begin
>>DEBUG: a2dp_connect: a2dp 0x8076d58
>>DEBUG: connect_stream: Begin
>>DEBUG: connect_stream: Using address: 12:5C:2A:44:0D:00
>>DEBUG: detect_a2dp: Begin
>>Accepting incoming tcp stream connection
>>DEBUG: detect_a2dp: Found A2DP Sink
>>DEBUG: connect_stream: Found A2DP Sink at the destination (psm_cmd=3D25)
>>DEBUG: do_connect: Begin
>>DEBUG: do_connect: Connecting to bluetooth
>>DEBUG: do_connect: (errno=3D111:Connection refused)Can't connect to
>>12:5C:2A:44:0D:00 on psm 25. Connection refused(111)
>>DEBUG: do_connect: (errno=3D77:File descriptor in bad state)Can't connect=
to
>>12:5C:2A:44:0D:00 on psm 25. File descriptor in bad state(77)
>>DEBUG: do_connect: (errno=3D77:File descriptor in bad state)Can't connect=
to
>>12:5C:2A:44:0D:00 on psm 25. File descriptor in bad state(77)
>>DEBUG: connect_stream: cannot open psm_cmd =3D 25
>>
>>Any ideas
>>
>>
>>-------------------------------------------------------------------------=
--------- =
>>
>>
>>-----Original Message-----
>>From: [email protected] [mailto:bluez-devel-bounc=
[email protected]] On Behalf Of Fr=E9d=E9ric DALLEAU
>>Sent: 04 August 2006 16:09
>>To: BlueZ development
>>Subject: Re: [Bluez-devel] a2pd btsco won't compile (FIX) plus xmms error=
(trials and tribulations) how cool is this!!! new patch
>>
>>Hi all,
>>
>>Now the a2dpd handles avrcp too. Only play / pause / next / prev but =
>>other commands if any should go straight away.
>>
>>Waldram, Andrew (SBS UK) a =E9crit :
>>
>> =
>>
>> =
>>
>>>When you say you integrated it into a2dpd do you mean all the a2recv stu=
ff, if so doean't that make the deamon a xmms dependant tool?
>>>
>>>
>>> =
>>>
>>> =
>>>
>>No thanks to the config file
>>
>> =
>>
>> =
>>
>>>It'd be real cool if it'd parse a config file so something like the foll=
owing could be done
>>>
>>>/etc/a2dpd.conf
>>>
>>>
>>> =
>>>
>>> =
>>>
>>done, see attachment
>>$HOME/.a2dprc for now
>>
>> =
>>
>> =
>>
>>>For now, it is not yet handled but you see the daemon receive a frame of =
>>>the form 0x00 0x01 (AVDTP_DISCOVER).
>>>I will try today reject the frame and system(xmms --play).
>>>
>>>
>>> =
>>>
>>> =
>>>
>>done, see patch
>>
>>Two commands line options appeared:
>>-d forks (+d no fork) on startup
>>-v redirect output to stdout (+v to logfile specified in rc def : =
>>/tmp/a2dpd.log)
>>
>>If your headset is avrcp, what can you do :
>>start a2dpd
>>press play on the headset, and it will start up xmms. You should hear mus=
ic
>>press play again, it will pause xmms.
>>press play again, music restart.
>>press next or prev to switch song.
>>
>>you can also try alsamixer -D ctl.a2dpd
>>
>>Fr=E9d=E9ric
>>
>>
>>
>>-------------------------------------------------------------------------
>>Take Surveys. Earn Cash. Influence the Future of IT
>>Join SourceForge.net's Techsay panel and you'll get the chance to share y=
our
>>opinions on IT & business topics through brief surveys -- and earn cash
>>http://www.techsay.com/default.php?page=3Djoin.php&p=3Dsourceforge&CID=3D=
DEVDEV
>>_______________________________________________
>>Bluez-devel mailing list
>>[email protected]
>>https://lists.sourceforge.net/lists/listinfo/bluez-devel
>>
>>-------------------------------------------------------------------------
>>Take Surveys. Earn Cash. Influence the Future of IT
>>Join SourceForge.net's Techsay panel and you'll get the chance to share y=
our
>>opinions on IT & business topics through brief surveys -- and earn cash
>>http://www.techsay.com/default.php?page=3Djoin.php&p=3Dsourceforge&CID=3D=
DEVDEV
>>_______________________________________________
>>Bluez-devel mailing list
>>[email protected]
>>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
>>[email protected]
>>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 eas=
ier
>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=3D=
121642
>_______________________________________________
>Bluez-devel mailing list
>[email protected]
>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 eas=
ier
>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=3D=
121642
>_______________________________________________
>Bluez-devel mailing list
>[email protected]
>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
[email protected]
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
[email protected]
https://lists.sourceforge.net/lists/listinfo/bluez-devel
Andrew,
I ran the test you told me, on my computer I noticed the process started =
using 100% cpu time after 35 mins. Two hours later the computer was =
still alive. Certainly an overflow when calculating delays. The relation =
with the freeze is not clear. My only assumption for now is that taking =
so much cpu time can overheat a computer. It should not freeze, but it =
is not excluded. Are you using an overclocked computer? Fan lowering =
software?
The mail thread clearly state the problem is 2.6.17 mh3+ related. If =
you're not already 2.6.17, there is need to try 2.6.16.
I'm isolating the cpu time prob, this is long but easy to reproduce. So =
it should be corrected soon.
Thank you for all your patience :D
Fr=E9d=E9ric
Waldram, Andrew (SBS UK) a =E9crit :
> =
>It's a real lock no mouse capslock or numlock
>
>Four sec power button press to shut off =
>
>Start it from rc.local kernel 2.6.15 (has done it on the last 3)
>
>Sudo -u andy -H a2dpd -d +v
>
>Don't use it as default so it's not the default alsa device =
>
>Normal soundcard (i810) sound still functions.
>
>It still does it if you've been using the headphones then desconnect them,=
approx 30 mins later locked.
>
>It's fine while headphones in use (fell asleep with them on 3 hours all OK)
>
>Tmp is mounted as logging starts in it OK.
>
>Will try a custom 2.6.16 I have hanging around ;-) tonight. =
>
>--------------------------------------------------------------------------=
-------- =
>
>
>
>-----Original Message-----
>From: [email protected] [mailto:bluez-devel-bounce=
[email protected]] On Behalf Of Fr=E9d=E9ric DALLEAU
>Sent: 08 August 2006 09:40
>To: BlueZ development
>Subject: Re: [Bluez-devel] a2pd btsco won't compile (FIX) plus xmmserror(t=
rials and tribulations) how cool is this!!! new patch
>
>Hi Andrew,
>
>By lock solid do you mean system freeze or a 100% cpu time? Does your =
>mouse move? Do capslock & numlock still light on/off?
>When you start it as a daemon, how do you do it? Is it from a =
>shell/rootshell/startup script/sysinit?
>Are you sure that you have not attempted to use headset, it is not your =
>default alsa plugin, and you have not started xmms. If it is default, =
>another application could have started sound.
>
>
>Since we only work in user mode, we should not lock solid the system! I =
>used to consider this assumption valid when I was a Windows programmer =
>so it should be under linux :D ...
>
>This reminds me the lock problem that was signaled last week, Look at =
>this thread:
>http://sourceforge.net/mailarchive/forum.php?thread_id=3D29109531&forum_id=
=3D1881
>
>It said :
>
> After upgrading I discovered that my machine freezes after being left
> idle for approximately 30 min.
>
>...
>this looks like a problem with the kthread API. We converted BNEP, CMTP
>
> and HIDP to it with 2.6.17-mh3. So a 2.6.17-mh2 kernel should work
> without any problems.
>
>If you have unbuntu, you will certainly have multiple kernel to boot, =
>can you try an older one to see if it is the same.
>
>
>Moreover, I confirm that the log file is filed while in daemon mode. =
>Maybe the daemon is started before /tmp is mounted. Try another =
>location, simply add
>
>logfile=3D/what_you_want_but_you_need_write_permission
>
>to the config file before startup.
>
>
>Fr=E9d=E9ric
>
>
>
>Waldram, Andrew (SBS UK) a =E9crit :
>
> =
>
>>Still have the issue were if I start it as a deamon (a2dpd -d +v) then af=
ter about 30 minutes my system just locks solid
>>
>>This only happenes if you have no connection i.e the deamon is started bu=
t you have not attempted to use headset.
>>
>>I thought initialy it was loging but after you've added the logging code =
guess not.
>>
>>Got no idea how to debug this as nothing appears in any log it just lock=
s solid.
>>
>>
>>-------------------------------------------------------------------------=
--------- =
>>
>>
>>-----Original Message-----
>>From: [email protected] [mailto:bluez-devel-bounc=
[email protected]] On Behalf Of Waldram, Andrew (SBS UK)
>>Sent: 05 August 2006 16:03
>>To: BlueZ development
>>Subject: Re: [Bluez-devel] a2pd btsco won't compile (FIX) plus xmmserror(=
trials and tribulations) how cool is this!!! new patch
>>
>>Hi again =
>>
>>It's permissions needed to start a2dp as sudo -u andy -H a2dpd =
>>Else xmms and the controls didn't synchronise (had extra xmms sesions app=
earing )
>>
>>Now seems pretty slick =
>>
>>Will continue to play and report back later after day to day use..
>>-------------------------------------------------------------------------=
--------- =
>>
>>-----Original Message-----
>>From: [email protected] [mailto:bluez-devel-bounc=
[email protected]] On Behalf Of Waldram, Andrew (SBS UK)
>>Sent: 05 August 2006 14:55
>>To: BlueZ development
>>Subject: Re: [Bluez-devel] a2pd btsco won't compile (FIX) plus xmms error=
(trials and tribulations) how cool is this!!! new patch
>>
>>Hi
>>
>>Don't know if its my headphones but pressing play does not start xmms.
>>
>>If I manuly start Xmms then fwd rev play pause work
>>
>>But still once 10 secs has done then pressinf play on the headphones does=
nothing and if I press play on xmms it still just doesn't work
>>
>>Accepting incoming tcp stream connection
>>[pause] xmms --pause
>>Forked xmms --pause <----------------------Pause press ;-)
>>[1] Receiving failed on socket 0.6 error (-1/4 bytes) errno=3D11:Resource
>>temporarily unavailable <--------------------- press play repeatedly on=
head phones nothing happens
>>Client thread 0.6 ending: timeout =
>>Destroying lpA2dp, destroy_count is 2001
>>DEBUG: a2dp_destroy: Begin
>>DEBUG: a2dp_free: Begin
>>DEBUG: a2dp_destroy: a2dp_destroy(0x80561f0) OK
>>avrcp: socket 9: timed out
>>Accepted 6
>>PCM thread 0.6 started < ------------------------------ press play on xm=
ms =
>>DEBUG: a2dp_new: Begin
>>DEBUG: a2dp_new: bdaddr/dest is 00:0D:44:2A:5C:12
>>DEBUG: a2dp_alloc: Begin
>>DEBUG: a2dp_connect: a2dp 0x8076d58
>>DEBUG: connect_stream: Begin
>>DEBUG: connect_stream: Using address: 12:5C:2A:44:0D:00
>>DEBUG: detect_a2dp: Begin
>>Accepting incoming tcp stream connection
>>DEBUG: detect_a2dp: Found A2DP Sink
>>DEBUG: connect_stream: Found A2DP Sink at the destination (psm_cmd=3D25)
>>DEBUG: do_connect: Begin
>>DEBUG: do_connect: Connecting to bluetooth
>>DEBUG: do_connect: (errno=3D111:Connection refused)Can't connect to
>>12:5C:2A:44:0D:00 on psm 25. Connection refused(111)
>>DEBUG: do_connect: (errno=3D77:File descriptor in bad state)Can't connect=
to
>>12:5C:2A:44:0D:00 on psm 25. File descriptor in bad state(77)
>>DEBUG: do_connect: (errno=3D77:File descriptor in bad state)Can't connect=
to
>>12:5C:2A:44:0D:00 on psm 25. File descriptor in bad state(77)
>>DEBUG: connect_stream: cannot open psm_cmd =3D 25
>>
>>Any ideas
>>
>>
>>-------------------------------------------------------------------------=
--------- =
>>
>>
>>-----Original Message-----
>>From: [email protected] [mailto:bluez-devel-bounc=
[email protected]] On Behalf Of Fr=E9d=E9ric DALLEAU
>>Sent: 04 August 2006 16:09
>>To: BlueZ development
>>Subject: Re: [Bluez-devel] a2pd btsco won't compile (FIX) plus xmms error=
(trials and tribulations) how cool is this!!! new patch
>>
>>Hi all,
>>
>>Now the a2dpd handles avrcp too. Only play / pause / next / prev but =
>>other commands if any should go straight away.
>>
>>Waldram, Andrew (SBS UK) a =E9crit :
>>
>> =
>>
>> =
>>
>>>When you say you integrated it into a2dpd do you mean all the a2recv stu=
ff, if so doean't that make the deamon a xmms dependant tool?
>>>
>>>
>>> =
>>>
>>> =
>>>
>>No thanks to the config file
>>
>> =
>>
>> =
>>
>>>It'd be real cool if it'd parse a config file so something like the foll=
owing could be done
>>>
>>>/etc/a2dpd.conf
>>>
>>>
>>> =
>>>
>>> =
>>>
>>done, see attachment
>>$HOME/.a2dprc for now
>>
>> =
>>
>> =
>>
>>>For now, it is not yet handled but you see the daemon receive a frame of =
>>>the form 0x00 0x01 (AVDTP_DISCOVER).
>>>I will try today reject the frame and system(xmms --play).
>>>
>>>
>>> =
>>>
>>> =
>>>
>>done, see patch
>>
>>Two commands line options appeared:
>>-d forks (+d no fork) on startup
>>-v redirect output to stdout (+v to logfile specified in rc def : =
>>/tmp/a2dpd.log)
>>
>>If your headset is avrcp, what can you do :
>>start a2dpd
>>press play on the headset, and it will start up xmms. You should hear mus=
ic
>>press play again, it will pause xmms.
>>press play again, music restart.
>>press next or prev to switch song.
>>
>>you can also try alsamixer -D ctl.a2dpd
>>
>>Fr=E9d=E9ric
>>
>>
>>
>>-------------------------------------------------------------------------
>>Take Surveys. Earn Cash. Influence the Future of IT
>>Join SourceForge.net's Techsay panel and you'll get the chance to share y=
our
>>opinions on IT & business topics through brief surveys -- and earn cash
>>http://www.techsay.com/default.php?page=3Djoin.php&p=3Dsourceforge&CID=3D=
DEVDEV
>>_______________________________________________
>>Bluez-devel mailing list
>>[email protected]
>>https://lists.sourceforge.net/lists/listinfo/bluez-devel
>>
>>-------------------------------------------------------------------------
>>Take Surveys. Earn Cash. Influence the Future of IT
>>Join SourceForge.net's Techsay panel and you'll get the chance to share y=
our
>>opinions on IT & business topics through brief surveys -- and earn cash
>>http://www.techsay.com/default.php?page=3Djoin.php&p=3Dsourceforge&CID=3D=
DEVDEV
>>_______________________________________________
>>Bluez-devel mailing list
>>[email protected]
>>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
>>[email protected]
>>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 eas=
ier
>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=3D=
121642
>_______________________________________________
>Bluez-devel mailing list
>[email protected]
>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 eas=
ier
>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=3D=
121642
>_______________________________________________
>Bluez-devel mailing list
>[email protected]
>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
[email protected]
https://lists.sourceforge.net/lists/listinfo/bluez-devel
=
It's a real lock no mouse capslock or numlock
Four sec power button press to shut off =
Start it from rc.local kernel 2.6.15 (has done it on the last 3)
Sudo -u andy -H a2dpd -d +v
Don't use it as default so it's not the default alsa device =
Normal soundcard (i810) sound still functions.
It still does it if you've been using the headphones then desconnect them, =
approx 30 mins later locked.
It's fine while headphones in use (fell asleep with them on 3 hours all OK)
Tmp is mounted as logging starts in it OK.
Will try a custom 2.6.16 I have hanging around ;-) tonight. =
---------------------------------------------------------------------------=
------- =
-----Original Message-----
From: [email protected] [mailto:bluez-devel-bounces=
@lists.sourceforge.net] On Behalf Of Fr=E9d=E9ric DALLEAU
Sent: 08 August 2006 09:40
To: BlueZ development
Subject: Re: [Bluez-devel] a2pd btsco won't compile (FIX) plus xmmserror(tr=
ials and tribulations) how cool is this!!! new patch
Hi Andrew,
By lock solid do you mean system freeze or a 100% cpu time? Does your =
mouse move? Do capslock & numlock still light on/off?
When you start it as a daemon, how do you do it? Is it from a =
shell/rootshell/startup script/sysinit?
Are you sure that you have not attempted to use headset, it is not your =
default alsa plugin, and you have not started xmms. If it is default, =
another application could have started sound.
Since we only work in user mode, we should not lock solid the system! I =
used to consider this assumption valid when I was a Windows programmer =
so it should be under linux :D ...
This reminds me the lock problem that was signaled last week, Look at =
this thread:
http://sourceforge.net/mailarchive/forum.php?thread_id=3D29109531&forum_id=
=3D1881
It said :
After upgrading I discovered that my machine freezes after being left
idle for approximately 30 min.
...
this looks like a problem with the kthread API. We converted BNEP, CMTP
and HIDP to it with 2.6.17-mh3. So a 2.6.17-mh2 kernel should work
without any problems.
If you have unbuntu, you will certainly have multiple kernel to boot, =
can you try an older one to see if it is the same.
Moreover, I confirm that the log file is filed while in daemon mode. =
Maybe the daemon is started before /tmp is mounted. Try another =
location, simply add
logfile=3D/what_you_want_but_you_need_write_permission
to the config file before startup.
Fr=E9d=E9ric
Waldram, Andrew (SBS UK) a =E9crit :
> =
>Still have the issue were if I start it as a deamon (a2dpd -d +v) then aft=
er about 30 minutes my system just locks solid
>
>This only happenes if you have no connection i.e the deamon is started but=
you have not attempted to use headset.
>
>I thought initialy it was loging but after you've added the logging code g=
uess not.
>
>Got no idea how to debug this as nothing appears in any log it just locks=
solid.
>
>
>--------------------------------------------------------------------------=
-------- =
>
>
>-----Original Message-----
>From: [email protected] [mailto:bluez-devel-bounce=
[email protected]] On Behalf Of Waldram, Andrew (SBS UK)
>Sent: 05 August 2006 16:03
>To: BlueZ development
>Subject: Re: [Bluez-devel] a2pd btsco won't compile (FIX) plus xmmserror(t=
rials and tribulations) how cool is this!!! new patch
>
>Hi again =
>
>It's permissions needed to start a2dp as sudo -u andy -H a2dpd =
>Else xmms and the controls didn't synchronise (had extra xmms sesions appe=
aring )
>
>Now seems pretty slick =
>
>Will continue to play and report back later after day to day use..
>--------------------------------------------------------------------------=
-------- =
>
>-----Original Message-----
>From: [email protected] [mailto:bluez-devel-bounce=
[email protected]] On Behalf Of Waldram, Andrew (SBS UK)
>Sent: 05 August 2006 14:55
>To: BlueZ development
>Subject: Re: [Bluez-devel] a2pd btsco won't compile (FIX) plus xmms error(=
trials and tribulations) how cool is this!!! new patch
>
> Hi
>
>Don't know if its my headphones but pressing play does not start xmms.
>
>If I manuly start Xmms then fwd rev play pause work
>
>But still once 10 secs has done then pressinf play on the headphones does =
nothing and if I press play on xmms it still just doesn't work
>
>Accepting incoming tcp stream connection
>[pause] xmms --pause
>Forked xmms --pause <----------------------Pause press ;-)
>[1] Receiving failed on socket 0.6 error (-1/4 bytes) errno=3D11:Resource
>temporarily unavailable <--------------------- press play repeatedly on =
head phones nothing happens
>Client thread 0.6 ending: timeout =
>Destroying lpA2dp, destroy_count is 2001
>DEBUG: a2dp_destroy: Begin
>DEBUG: a2dp_free: Begin
>DEBUG: a2dp_destroy: a2dp_destroy(0x80561f0) OK
>avrcp: socket 9: timed out
>Accepted 6
>PCM thread 0.6 started < ------------------------------ press play on xmm=
s =
>DEBUG: a2dp_new: Begin
>DEBUG: a2dp_new: bdaddr/dest is 00:0D:44:2A:5C:12
>DEBUG: a2dp_alloc: Begin
>DEBUG: a2dp_connect: a2dp 0x8076d58
>DEBUG: connect_stream: Begin
>DEBUG: connect_stream: Using address: 12:5C:2A:44:0D:00
>DEBUG: detect_a2dp: Begin
>Accepting incoming tcp stream connection
>DEBUG: detect_a2dp: Found A2DP Sink
>DEBUG: connect_stream: Found A2DP Sink at the destination (psm_cmd=3D25)
>DEBUG: do_connect: Begin
>DEBUG: do_connect: Connecting to bluetooth
>DEBUG: do_connect: (errno=3D111:Connection refused)Can't connect to
>12:5C:2A:44:0D:00 on psm 25. Connection refused(111)
>DEBUG: do_connect: (errno=3D77:File descriptor in bad state)Can't connect =
to
>12:5C:2A:44:0D:00 on psm 25. File descriptor in bad state(77)
>DEBUG: do_connect: (errno=3D77:File descriptor in bad state)Can't connect =
to
>12:5C:2A:44:0D:00 on psm 25. File descriptor in bad state(77)
>DEBUG: connect_stream: cannot open psm_cmd =3D 25
>
>Any ideas
>
>
>--------------------------------------------------------------------------=
-------- =
>
>
>-----Original Message-----
>From: [email protected] [mailto:bluez-devel-bounce=
[email protected]] On Behalf Of Fr=E9d=E9ric DALLEAU
>Sent: 04 August 2006 16:09
>To: BlueZ development
>Subject: Re: [Bluez-devel] a2pd btsco won't compile (FIX) plus xmms error =
(trials and tribulations) how cool is this!!! new patch
>
>Hi all,
>
>Now the a2dpd handles avrcp too. Only play / pause / next / prev but =
>other commands if any should go straight away.
>
>Waldram, Andrew (SBS UK) a =E9crit :
>
> =
>
>>When you say you integrated it into a2dpd do you mean all the a2recv stuf=
f, if so doean't that make the deamon a xmms dependant tool?
>> =
>>
>> =
>>
>No thanks to the config file
>
> =
>
>>It'd be real cool if it'd parse a config file so something like the follo=
wing could be done
>>
>>/etc/a2dpd.conf
>> =
>>
>> =
>>
>done, see attachment
>$HOME/.a2dprc for now
>
> =
>
>>For now, it is not yet handled but you see the daemon receive a frame of =
>>the form 0x00 0x01 (AVDTP_DISCOVER).
>>I will try today reject the frame and system(xmms --play).
>> =
>>
>> =
>>
>done, see patch
>
>Two commands line options appeared:
>-d forks (+d no fork) on startup
>-v redirect output to stdout (+v to logfile specified in rc def : =
>/tmp/a2dpd.log)
>
>If your headset is avrcp, what can you do :
>start a2dpd
>press play on the headset, and it will start up xmms. You should hear music
>press play again, it will pause xmms.
>press play again, music restart.
>press next or prev to switch song.
>
>you can also try alsamixer -D ctl.a2dpd
>
>Fr=E9d=E9ric
>
>
>
>-------------------------------------------------------------------------
>Take Surveys. Earn Cash. Influence the Future of IT
>Join SourceForge.net's Techsay panel and you'll get the chance to share yo=
ur
>opinions on IT & business topics through brief surveys -- and earn cash
>http://www.techsay.com/default.php?page=3Djoin.php&p=3Dsourceforge&CID=3DD=
EVDEV
>_______________________________________________
>Bluez-devel mailing list
>[email protected]
>https://lists.sourceforge.net/lists/listinfo/bluez-devel
>
>-------------------------------------------------------------------------
>Take Surveys. Earn Cash. Influence the Future of IT
>Join SourceForge.net's Techsay panel and you'll get the chance to share yo=
ur
>opinions on IT & business topics through brief surveys -- and earn cash
>http://www.techsay.com/default.php?page=3Djoin.php&p=3Dsourceforge&CID=3DD=
EVDEV
>_______________________________________________
>Bluez-devel mailing list
>[email protected]
>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 eas=
ier
>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=3D=
121642
>_______________________________________________
>Bluez-devel mailing list
>[email protected]
>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
[email protected]
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
[email protected]
https://lists.sourceforge.net/lists/listinfo/bluez-devel
Hi Andrew,
By lock solid do you mean system freeze or a 100% cpu time? Does your =
mouse move? Do capslock & numlock still light on/off?
When you start it as a daemon, how do you do it? Is it from a =
shell/rootshell/startup script/sysinit?
Are you sure that you have not attempted to use headset, it is not your =
default alsa plugin, and you have not started xmms. If it is default, =
another application could have started sound.
Since we only work in user mode, we should not lock solid the system! I =
used to consider this assumption valid when I was a Windows programmer =
so it should be under linux :D ...
This reminds me the lock problem that was signaled last week, Look at =
this thread:
http://sourceforge.net/mailarchive/forum.php?thread_id=3D29109531&forum_id=
=3D1881
It said :
After upgrading I discovered that my machine freezes after being left
idle for approximately 30 min.
...
this looks like a problem with the kthread API. We converted BNEP, CMTP
and HIDP to it with 2.6.17-mh3. So a 2.6.17-mh2 kernel should work
without any problems.
If you have unbuntu, you will certainly have multiple kernel to boot, =
can you try an older one to see if it is the same.
Moreover, I confirm that the log file is filed while in daemon mode. =
Maybe the daemon is started before /tmp is mounted. Try another =
location, simply add
logfile=3D/what_you_want_but_you_need_write_permission
to the config file before startup.
Fr=E9d=E9ric
Waldram, Andrew (SBS UK) a =E9crit :
> =
>Still have the issue were if I start it as a deamon (a2dpd -d +v) then aft=
er about 30 minutes my system just locks solid
>
>This only happenes if you have no connection i.e the deamon is started but=
you have not attempted to use headset.
>
>I thought initialy it was loging but after you've added the logging code g=
uess not.
>
>Got no idea how to debug this as nothing appears in any log it just locks=
solid.
>
>
>--------------------------------------------------------------------------=
-------- =
>
>
>-----Original Message-----
>From: [email protected] [mailto:bluez-devel-bounce=
[email protected]] On Behalf Of Waldram, Andrew (SBS UK)
>Sent: 05 August 2006 16:03
>To: BlueZ development
>Subject: Re: [Bluez-devel] a2pd btsco won't compile (FIX) plus xmmserror(t=
rials and tribulations) how cool is this!!! new patch
>
>Hi again =
>
>It's permissions needed to start a2dp as sudo -u andy -H a2dpd =
>Else xmms and the controls didn't synchronise (had extra xmms sesions appe=
aring )
>
>Now seems pretty slick =
>
>Will continue to play and report back later after day to day use..
>--------------------------------------------------------------------------=
-------- =
>
>-----Original Message-----
>From: [email protected] [mailto:bluez-devel-bounce=
[email protected]] On Behalf Of Waldram, Andrew (SBS UK)
>Sent: 05 August 2006 14:55
>To: BlueZ development
>Subject: Re: [Bluez-devel] a2pd btsco won't compile (FIX) plus xmms error(=
trials and tribulations) how cool is this!!! new patch
>
> Hi
>
>Don't know if its my headphones but pressing play does not start xmms.
>
>If I manuly start Xmms then fwd rev play pause work
>
>But still once 10 secs has done then pressinf play on the headphones does =
nothing and if I press play on xmms it still just doesn't work
>
>Accepting incoming tcp stream connection
>[pause] xmms --pause
>Forked xmms --pause <----------------------Pause press ;-)
>[1] Receiving failed on socket 0.6 error (-1/4 bytes) errno=3D11:Resource
>temporarily unavailable <--------------------- press play repeatedly on =
head phones nothing happens
>Client thread 0.6 ending: timeout =
>Destroying lpA2dp, destroy_count is 2001
>DEBUG: a2dp_destroy: Begin
>DEBUG: a2dp_free: Begin
>DEBUG: a2dp_destroy: a2dp_destroy(0x80561f0) OK
>avrcp: socket 9: timed out
>Accepted 6
>PCM thread 0.6 started < ------------------------------ press play on xmm=
s =
>DEBUG: a2dp_new: Begin
>DEBUG: a2dp_new: bdaddr/dest is 00:0D:44:2A:5C:12
>DEBUG: a2dp_alloc: Begin
>DEBUG: a2dp_connect: a2dp 0x8076d58
>DEBUG: connect_stream: Begin
>DEBUG: connect_stream: Using address: 12:5C:2A:44:0D:00
>DEBUG: detect_a2dp: Begin
>Accepting incoming tcp stream connection
>DEBUG: detect_a2dp: Found A2DP Sink
>DEBUG: connect_stream: Found A2DP Sink at the destination (psm_cmd=3D25)
>DEBUG: do_connect: Begin
>DEBUG: do_connect: Connecting to bluetooth
>DEBUG: do_connect: (errno=3D111:Connection refused)Can't connect to
>12:5C:2A:44:0D:00 on psm 25. Connection refused(111)
>DEBUG: do_connect: (errno=3D77:File descriptor in bad state)Can't connect =
to
>12:5C:2A:44:0D:00 on psm 25. File descriptor in bad state(77)
>DEBUG: do_connect: (errno=3D77:File descriptor in bad state)Can't connect =
to
>12:5C:2A:44:0D:00 on psm 25. File descriptor in bad state(77)
>DEBUG: connect_stream: cannot open psm_cmd =3D 25
>
>Any ideas
>
>
>--------------------------------------------------------------------------=
-------- =
>
>
>-----Original Message-----
>From: [email protected] [mailto:bluez-devel-bounce=
[email protected]] On Behalf Of Fr=E9d=E9ric DALLEAU
>Sent: 04 August 2006 16:09
>To: BlueZ development
>Subject: Re: [Bluez-devel] a2pd btsco won't compile (FIX) plus xmms error =
(trials and tribulations) how cool is this!!! new patch
>
>Hi all,
>
>Now the a2dpd handles avrcp too. Only play / pause / next / prev but =
>other commands if any should go straight away.
>
>Waldram, Andrew (SBS UK) a =E9crit :
>
> =
>
>>When you say you integrated it into a2dpd do you mean all the a2recv stuf=
f, if so doean't that make the deamon a xmms dependant tool?
>> =
>>
>> =
>>
>No thanks to the config file
>
> =
>
>>It'd be real cool if it'd parse a config file so something like the follo=
wing could be done
>>
>>/etc/a2dpd.conf
>> =
>>
>> =
>>
>done, see attachment
>$HOME/.a2dprc for now
>
> =
>
>>For now, it is not yet handled but you see the daemon receive a frame of =
>>the form 0x00 0x01 (AVDTP_DISCOVER).
>>I will try today reject the frame and system(xmms --play).
>> =
>>
>> =
>>
>done, see patch
>
>Two commands line options appeared:
>-d forks (+d no fork) on startup
>-v redirect output to stdout (+v to logfile specified in rc def : =
>/tmp/a2dpd.log)
>
>If your headset is avrcp, what can you do :
>start a2dpd
>press play on the headset, and it will start up xmms. You should hear music
>press play again, it will pause xmms.
>press play again, music restart.
>press next or prev to switch song.
>
>you can also try alsamixer -D ctl.a2dpd
>
>Fr=E9d=E9ric
>
>
>
>-------------------------------------------------------------------------
>Take Surveys. Earn Cash. Influence the Future of IT
>Join SourceForge.net's Techsay panel and you'll get the chance to share yo=
ur
>opinions on IT & business topics through brief surveys -- and earn cash
>http://www.techsay.com/default.php?page=3Djoin.php&p=3Dsourceforge&CID=3DD=
EVDEV
>_______________________________________________
>Bluez-devel mailing list
>[email protected]
>https://lists.sourceforge.net/lists/listinfo/bluez-devel
>
>-------------------------------------------------------------------------
>Take Surveys. Earn Cash. Influence the Future of IT
>Join SourceForge.net's Techsay panel and you'll get the chance to share yo=
ur
>opinions on IT & business topics through brief surveys -- and earn cash
>http://www.techsay.com/default.php?page=3Djoin.php&p=3Dsourceforge&CID=3DD=
EVDEV
>_______________________________________________
>Bluez-devel mailing list
>[email protected]
>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 eas=
ier
>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=3D=
121642
>_______________________________________________
>Bluez-devel mailing list
>[email protected]
>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
[email protected]
https://lists.sourceforge.net/lists/listinfo/bluez-devel
=
Still have the issue were if I start it as a deamon (a2dpd -d +v) then afte=
r about 30 minutes my system just locks solid
This only happenes if you have no connection i.e the deamon is started but =
you have not attempted to use headset.
I thought initialy it was loging but after you've added the logging code gu=
ess not.
Got no idea how to debug this as nothing appears in any log it just locks =
solid.
---------------------------------------------------------------------------=
------- =
-----Original Message-----
From: [email protected] [mailto:bluez-devel-bounces=
@lists.sourceforge.net] On Behalf Of Waldram, Andrew (SBS UK)
Sent: 05 August 2006 16:03
To: BlueZ development
Subject: Re: [Bluez-devel] a2pd btsco won't compile (FIX) plus xmmserror(tr=
ials and tribulations) how cool is this!!! new patch
Hi again =
It's permissions needed to start a2dp as sudo -u andy -H a2dpd =
Else xmms and the controls didn't synchronise (had extra xmms sesions appea=
ring )
Now seems pretty slick =
Will continue to play and report back later after day to day use..
---------------------------------------------------------------------------=
------- =
-----Original Message-----
From: [email protected] [mailto:bluez-devel-bounces=
@lists.sourceforge.net] On Behalf Of Waldram, Andrew (SBS UK)
Sent: 05 August 2006 14:55
To: BlueZ development
Subject: Re: [Bluez-devel] a2pd btsco won't compile (FIX) plus xmms error(t=
rials and tribulations) how cool is this!!! new patch
Hi
Don't know if its my headphones but pressing play does not start xmms.
If I manuly start Xmms then fwd rev play pause work
But still once 10 secs has done then pressinf play on the headphones does n=
othing and if I press play on xmms it still just doesn't work
Accepting incoming tcp stream connection
[pause] xmms --pause
Forked xmms --pause <----------------------Pause press ;-)
[1] Receiving failed on socket 0.6 error (-1/4 bytes) errno=3D11:Resource
temporarily unavailable <--------------------- press play repeatedly on h=
ead phones nothing happens
Client thread 0.6 ending: timeout =
Destroying lpA2dp, destroy_count is 2001
DEBUG: a2dp_destroy: Begin
DEBUG: a2dp_free: Begin
DEBUG: a2dp_destroy: a2dp_destroy(0x80561f0) OK
avrcp: socket 9: timed out
Accepted 6
PCM thread 0.6 started < ------------------------------ press play on xmms =
DEBUG: a2dp_new: Begin
DEBUG: a2dp_new: bdaddr/dest is 00:0D:44:2A:5C:12
DEBUG: a2dp_alloc: Begin
DEBUG: a2dp_connect: a2dp 0x8076d58
DEBUG: connect_stream: Begin
DEBUG: connect_stream: Using address: 12:5C:2A:44:0D:00
DEBUG: detect_a2dp: Begin
Accepting incoming tcp stream connection
DEBUG: detect_a2dp: Found A2DP Sink
DEBUG: connect_stream: Found A2DP Sink at the destination (psm_cmd=3D25)
DEBUG: do_connect: Begin
DEBUG: do_connect: Connecting to bluetooth
DEBUG: do_connect: (errno=3D111:Connection refused)Can't connect to
12:5C:2A:44:0D:00 on psm 25. Connection refused(111)
DEBUG: do_connect: (errno=3D77:File descriptor in bad state)Can't connect to
12:5C:2A:44:0D:00 on psm 25. File descriptor in bad state(77)
DEBUG: do_connect: (errno=3D77:File descriptor in bad state)Can't connect to
12:5C:2A:44:0D:00 on psm 25. File descriptor in bad state(77)
DEBUG: connect_stream: cannot open psm_cmd =3D 25
Any ideas
---------------------------------------------------------------------------=
------- =
-----Original Message-----
From: [email protected] [mailto:bluez-devel-bounces=
@lists.sourceforge.net] On Behalf Of Fr=E9d=E9ric DALLEAU
Sent: 04 August 2006 16:09
To: BlueZ development
Subject: Re: [Bluez-devel] a2pd btsco won't compile (FIX) plus xmms error (=
trials and tribulations) how cool is this!!! new patch
Hi all,
Now the a2dpd handles avrcp too. Only play / pause / next / prev but =
other commands if any should go straight away.
Waldram, Andrew (SBS UK) a =E9crit :
>When you say you integrated it into a2dpd do you mean all the a2recv stuff=
, if so doean't that make the deamon a xmms dependant tool?
> =
>
No thanks to the config file
>It'd be real cool if it'd parse a config file so something like the follow=
ing could be done
>
>/etc/a2dpd.conf
> =
>
done, see attachment
$HOME/.a2dprc for now
>For now, it is not yet handled but you see the daemon receive a frame of =
>the form 0x00 0x01 (AVDTP_DISCOVER).
>I will try today reject the frame and system(xmms --play).
> =
>
done, see patch
Two commands line options appeared:
-d forks (+d no fork) on startup
-v redirect output to stdout (+v to logfile specified in rc def : =
/tmp/a2dpd.log)
If your headset is avrcp, what can you do :
start a2dpd
press play on the headset, and it will start up xmms. You should hear music
press play again, it will pause xmms.
press play again, music restart.
press next or prev to switch song.
you can also try alsamixer -D ctl.a2dpd
Fr=E9d=E9ric
-------------------------------------------------------------------------
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to share your
opinions on IT & business topics through brief surveys -- and earn cash
http://www.techsay.com/default.php?page=3Djoin.php&p=3Dsourceforge&CID=3DDE=
VDEV
_______________________________________________
Bluez-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/bluez-devel
-------------------------------------------------------------------------
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to share your
opinions on IT & business topics through brief surveys -- and earn cash
http://www.techsay.com/default.php?page=3Djoin.php&p=3Dsourceforge&CID=3DDE=
VDEV
_______________________________________________
Bluez-devel mailing list
[email protected]
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
[email protected]
https://lists.sourceforge.net/lists/listinfo/bluez-devel
Hi again =
It's permissions needed to start a2dp as sudo -u andy -H a2dpd =
Else xmms and the controls didn't synchronise (had extra xmms sesions appea=
ring )
Now seems pretty slick =
Will continue to play and report back later after day to day use..
---------------------------------------------------------------------------=
------- =
-----Original Message-----
From: [email protected] [mailto:bluez-devel-bounces=
@lists.sourceforge.net] On Behalf Of Waldram, Andrew (SBS UK)
Sent: 05 August 2006 14:55
To: BlueZ development
Subject: Re: [Bluez-devel] a2pd btsco won't compile (FIX) plus xmms error(t=
rials and tribulations) how cool is this!!! new patch
Hi
Don't know if its my headphones but pressing play does not start xmms.
If I manuly start Xmms then fwd rev play pause work
But still once 10 secs has done then pressinf play on the headphones does n=
othing and if I press play on xmms it still just doesn't work
Accepting incoming tcp stream connection
[pause] xmms --pause
Forked xmms --pause <----------------------Pause press ;-)
[1] Receiving failed on socket 0.6 error (-1/4 bytes) errno=3D11:Resource
temporarily unavailable <--------------------- press play repeatedly on h=
ead phones nothing happens
Client thread 0.6 ending: timeout =
Destroying lpA2dp, destroy_count is 2001
DEBUG: a2dp_destroy: Begin
DEBUG: a2dp_free: Begin
DEBUG: a2dp_destroy: a2dp_destroy(0x80561f0) OK
avrcp: socket 9: timed out
Accepted 6
PCM thread 0.6 started < ------------------------------ press play on xmms =
DEBUG: a2dp_new: Begin
DEBUG: a2dp_new: bdaddr/dest is 00:0D:44:2A:5C:12
DEBUG: a2dp_alloc: Begin
DEBUG: a2dp_connect: a2dp 0x8076d58
DEBUG: connect_stream: Begin
DEBUG: connect_stream: Using address: 12:5C:2A:44:0D:00
DEBUG: detect_a2dp: Begin
Accepting incoming tcp stream connection
DEBUG: detect_a2dp: Found A2DP Sink
DEBUG: connect_stream: Found A2DP Sink at the destination (psm_cmd=3D25)
DEBUG: do_connect: Begin
DEBUG: do_connect: Connecting to bluetooth
DEBUG: do_connect: (errno=3D111:Connection refused)Can't connect to
12:5C:2A:44:0D:00 on psm 25. Connection refused(111)
DEBUG: do_connect: (errno=3D77:File descriptor in bad state)Can't connect to
12:5C:2A:44:0D:00 on psm 25. File descriptor in bad state(77)
DEBUG: do_connect: (errno=3D77:File descriptor in bad state)Can't connect to
12:5C:2A:44:0D:00 on psm 25. File descriptor in bad state(77)
DEBUG: connect_stream: cannot open psm_cmd =3D 25
Any ideas
---------------------------------------------------------------------------=
------- =
-----Original Message-----
From: [email protected] [mailto:bluez-devel-bounces=
@lists.sourceforge.net] On Behalf Of Fr=E9d=E9ric DALLEAU
Sent: 04 August 2006 16:09
To: BlueZ development
Subject: Re: [Bluez-devel] a2pd btsco won't compile (FIX) plus xmms error (=
trials and tribulations) how cool is this!!! new patch
Hi all,
Now the a2dpd handles avrcp too. Only play / pause / next / prev but =
other commands if any should go straight away.
Waldram, Andrew (SBS UK) a =E9crit :
>When you say you integrated it into a2dpd do you mean all the a2recv stuff=
, if so doean't that make the deamon a xmms dependant tool?
> =
>
No thanks to the config file
>It'd be real cool if it'd parse a config file so something like the follow=
ing could be done
>
>/etc/a2dpd.conf
> =
>
done, see attachment
$HOME/.a2dprc for now
>For now, it is not yet handled but you see the daemon receive a frame of =
>the form 0x00 0x01 (AVDTP_DISCOVER).
>I will try today reject the frame and system(xmms --play).
> =
>
done, see patch
Two commands line options appeared:
-d forks (+d no fork) on startup
-v redirect output to stdout (+v to logfile specified in rc def : =
/tmp/a2dpd.log)
If your headset is avrcp, what can you do :
start a2dpd
press play on the headset, and it will start up xmms. You should hear music
press play again, it will pause xmms.
press play again, music restart.
press next or prev to switch song.
you can also try alsamixer -D ctl.a2dpd
Fr=E9d=E9ric
-------------------------------------------------------------------------
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to share your
opinions on IT & business topics through brief surveys -- and earn cash
http://www.techsay.com/default.php?page=3Djoin.php&p=3Dsourceforge&CID=3DDE=
VDEV
_______________________________________________
Bluez-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/bluez-devel
-------------------------------------------------------------------------
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to share your
opinions on IT & business topics through brief surveys -- and earn cash
http://www.techsay.com/default.php?page=3Djoin.php&p=3Dsourceforge&CID=3DDE=
VDEV
_______________________________________________
Bluez-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/bluez-devel
Hi
Don't know if its my headphones but pressing play does not start xmms.
If I manuly start Xmms then fwd rev play pause work
But still once 10 secs has done then pressinf play on the headphones does n=
othing and if I press play on xmms it still just doesn't work
Accepting incoming tcp stream connection
[pause] xmms --pause
Forked xmms --pause <----------------------Pause press ;-)
[1] Receiving failed on socket 0.6 error (-1/4 bytes) errno=3D11:Resource
temporarily unavailable <--------------------- press play repeatedly on h=
ead phones nothing happens
Client thread 0.6 ending: timeout =
Destroying lpA2dp, destroy_count is 2001
DEBUG: a2dp_destroy: Begin
DEBUG: a2dp_free: Begin
DEBUG: a2dp_destroy: a2dp_destroy(0x80561f0) OK
avrcp: socket 9: timed out
Accepted 6
PCM thread 0.6 started < ------------------------------ press play on xmms =
DEBUG: a2dp_new: Begin
DEBUG: a2dp_new: bdaddr/dest is 00:0D:44:2A:5C:12
DEBUG: a2dp_alloc: Begin
DEBUG: a2dp_connect: a2dp 0x8076d58
DEBUG: connect_stream: Begin
DEBUG: connect_stream: Using address: 12:5C:2A:44:0D:00
DEBUG: detect_a2dp: Begin
Accepting incoming tcp stream connection
DEBUG: detect_a2dp: Found A2DP Sink
DEBUG: connect_stream: Found A2DP Sink at the destination (psm_cmd=3D25)
DEBUG: do_connect: Begin
DEBUG: do_connect: Connecting to bluetooth
DEBUG: do_connect: (errno=3D111:Connection refused)Can't connect to
12:5C:2A:44:0D:00 on psm 25. Connection refused(111)
DEBUG: do_connect: (errno=3D77:File descriptor in bad state)Can't connect to
12:5C:2A:44:0D:00 on psm 25. File descriptor in bad state(77)
DEBUG: do_connect: (errno=3D77:File descriptor in bad state)Can't connect to
12:5C:2A:44:0D:00 on psm 25. File descriptor in bad state(77)
DEBUG: connect_stream: cannot open psm_cmd =3D 25
Any ideas
---------------------------------------------------------------------------=
------- =
-----Original Message-----
From: [email protected] [mailto:bluez-devel-bounces=
@lists.sourceforge.net] On Behalf Of Fr=E9d=E9ric DALLEAU
Sent: 04 August 2006 16:09
To: BlueZ development
Subject: Re: [Bluez-devel] a2pd btsco won't compile (FIX) plus xmms error (=
trials and tribulations) how cool is this!!! new patch
Hi all,
Now the a2dpd handles avrcp too. Only play / pause / next / prev but =
other commands if any should go straight away.
Waldram, Andrew (SBS UK) a =E9crit :
>When you say you integrated it into a2dpd do you mean all the a2recv stuff=
, if so doean't that make the deamon a xmms dependant tool?
> =
>
No thanks to the config file
>It'd be real cool if it'd parse a config file so something like the follow=
ing could be done
>
>/etc/a2dpd.conf
> =
>
done, see attachment
$HOME/.a2dprc for now
>For now, it is not yet handled but you see the daemon receive a frame of =
>the form 0x00 0x01 (AVDTP_DISCOVER).
>I will try today reject the frame and system(xmms --play).
> =
>
done, see patch
Two commands line options appeared:
-d forks (+d no fork) on startup
-v redirect output to stdout (+v to logfile specified in rc def : =
/tmp/a2dpd.log)
If your headset is avrcp, what can you do :
start a2dpd
press play on the headset, and it will start up xmms. You should hear music
press play again, it will pause xmms.
press play again, music restart.
press next or prev to switch song.
you can also try alsamixer -D ctl.a2dpd
Fr=E9d=E9ric
-------------------------------------------------------------------------
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to share your
opinions on IT & business topics through brief surveys -- and earn cash
http://www.techsay.com/default.php?page=3Djoin.php&p=3Dsourceforge&CID=3DDE=
VDEV
_______________________________________________
Bluez-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/bluez-devel
_______________________________________________
Bluez-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/bluez-devel
Hi,
Glad it worked for you =
Thought it was something along those lines as the button press did cause a =
response.
I followed you up until
"I will try today reject the frame and system(xmms --play)."
Don't understand are your saying you'll handle the call by issuing xmms -- =
play so the links recreated from the PC end ??
Or try and handle the call and create the link from a2dp headset initiated =
conextion??
Must admit you guys rock I tried this stuff 6-8 months ago and nothing work=
ed now it all works (a bit of spit and polish required) but definitely work=
s.
Watch out UWB ;-)
When you say you integrated it into a2dpd do you mean all the a2recv stuff,=
if so doean't that make the deamon a xmms dependant tool?
It'd be real cool if it'd parse a config file so something like the followi=
ng could be done
/etc/a2dpd.conf
Device 00:0D:44:2A:5C:12
Play xmms -p
Pause xmms -p
........etc
This way any app could be catered for
Please ignore the capitals Outlook being an arse !!!
---------------------------------------------------------------------------=
------- =
SIEMENS =
Andrew Waldram
Technical Implementations Group =
Server Specialist - South =
* Tel: +44 (0) 1344 396619
* Mob: +44 (0) 7808 827469
* Fax: +44 (0) 1344 358056 =
* Email: [email protected] =
This e-mail contains confidential information and is for the exclusive use =
of the addressee/s. If you are not the addressee, then any distribution, co=
pying or use of this e-mail is prohibited. If received in error, please adv=
ise the sender and delete it immediately. We accept no liability for any lo=
ss or damage suffered by any person arising from use of this e-mail. =
Siemens Business Services Limited =
Registered No: 1203466 England =
Registered Office: Siemens House, Oldbury, Bracknell, Berkshire, RG12 8FZ =
-----Original Message-----
From: [email protected] [mailto:bluez-devel-bounces=
@lists.sourceforge.net] On Behalf Of Fr=E9d=E9ric DALLEAU
Sent: 04 August 2006 09:04
To: BlueZ development
Subject: Re: [Bluez-devel] a2pd btsco won't compile (FIX) plus xmms error (=
trials and tribulations) how cool is this!!!
Hi,
Until today I've not even tried anything avrcp related.
I then executed your script and for my pleasure, it worked.
I patched a bit and integrated everything in a2dpd.
Now, the 10 seconds delay correspond to the delay used by a2dpd to close =
the bluetooth stream. No sound will disconnect bluetooth.
When after that you press the play button, you create an a2dp headset =
initiated connexion.
For now, it is not yet handled but you see the daemon receive a frame of =
the form 0x00 0x01 (AVDTP_DISCOVER).
I will try today reject the frame and system(xmms --play).
Fr=E9d=E9ric.
Waldram, Andrew (SBS UK) a =E9crit :
>Just thought I'd let you know of my success's and problems with my HP
>blutooth headphones (a2dpd & avrcp) and broadcom bcm2045 dongle
>
>Modified acrecv.c replacing the printk's with appropiate system("xmms
>-s") comands recompiled
>
>Ran this script
>
> #!/bin/sh -e
>#
># BTXMMS
>#
>
>sdptool add AVRTG
>
>
>if [ -x /usr/bin/a2dpd ]; then
> /home/andy/blueheadphones/avrecv &
> vlc &
> xmms &
> /usr/bin/a2dpd 00:0D:44:2A:5C:12 =
>fi
># fi
> =
>
>exit 0
>
>Pressed play on the screen and sound in all it's beauty came from my
>speakers (this wasn't new) then press next on the headphones and viola
>the track jumped forward same for back and pause.
>
>Then the fly in the ointment
>
>If you press pause (either on xmms or headphones) wait 10 secs then
>press play again on headphones it appears the heaphones recreate a avrcp
>connection but no a2dpd (bugger bugger bugger) the only way out of this
>is switch off the headphones and restart.
>
>This is the log output
>
>PCM thread 0.5 started after
>DEBUG: a2dp_params: (errno=3D0:Success)a2dp 0x821d4e8
>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 0x821d4e8
>Accepting incoming stream connection
>DEBUG: a2dp_prepare: (errno=3D4:Interrupted system call)a2dp 0x821d4e8
><--------------- PAUSE Pressed
>[1] Receiving failed on socket 0.5 error (-1/4 bytes) errno=3D11:Resource
>temporarily unavailable
>Client thread 0.5 ending: timeout
>Destroying lpA2dp, destroy_count is 5001
>DEBUG: a2dp_destroy: Begin
>DEBUG: a2dp_free: Begin
>DEBUG: a2dp_destroy: a2dp_destroy(0x8053090) OK
>Connectedreceived 0 bytes:
>
>transaction_label =3D 0
>packet_type =3D 0
>cr =3D 1
>ipid =3D 0
>pid =3D e11
>zeroes =3D 0
>ctype =3D 9
>subunit_type =3D 9
>subunit_id =3D 0
>opcode =3D 7c
>operand0 =3D 4b
>operand1 =3D 0
>accepting next connection
>DEBUG: a2dp_wait_connection: Begin
>DEBUG: a2dp_wait_connection: Connected [imtu 672, omtu 0, flush_to
>65535]
>
>socket 5: Connection from 12:5C:2A:44:0D:00, mtu=3D672
><----------------- Play Pressed on headphones
>socket 5: Received 2 bytes
>00000: 00 01
>
>
>This is with a Broadcom BCM2045 usb dongle standars Ubuntu 6.06 kernel
>(checked looks like the patch is applied).
>HP fa303 headset =
> =
>
>------------------------------------------------------------------------
>---------- =
>
>
>-------------------------------------------------------------------------
>Take Surveys. Earn Cash. Influence the Future of IT
>Join SourceForge.net's Techsay panel and you'll get the chance to share yo=
ur
>opinions on IT & business topics through brief surveys -- and earn cash
>http://www.techsay.com/default.php?page=3Djoin.php&p=3Dsourceforge&CID=3DD=
EVDEV
>_______________________________________________
>Bluez-devel mailing list
>[email protected]
>https://lists.sourceforge.net/lists/listinfo/bluez-devel
> =
>
-------------------------------------------------------------------------
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to share your
opinions on IT & business topics through brief surveys -- and earn cash
http://www.techsay.com/default.php?page=3Djoin.php&p=3Dsourceforge&CID=3DDE=
VDEV
_______________________________________________
Bluez-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/bluez-devel
-------------------------------------------------------------------------
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to share your
opinions on IT & business topics through brief surveys -- and earn cash
http://www.techsay.com/default.php?page=3Djoin.php&p=3Dsourceforge&CID=3DDE=
VDEV
_______________________________________________
Bluez-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/bluez-devel
Hi,
Until today I've not even tried anything avrcp related.
I then executed your script and for my pleasure, it worked.
I patched a bit and integrated everything in a2dpd.
Now, the 10 seconds delay correspond to the delay used by a2dpd to close =
the bluetooth stream. No sound will disconnect bluetooth.
When after that you press the play button, you create an a2dp headset =
initiated connexion.
For now, it is not yet handled but you see the daemon receive a frame of =
the form 0x00 0x01 (AVDTP_DISCOVER).
I will try today reject the frame and system(xmms --play).
Fr=E9d=E9ric.
Waldram, Andrew (SBS UK) a =E9crit :
>Just thought I'd let you know of my success's and problems with my HP
>blutooth headphones (a2dpd & avrcp) and broadcom bcm2045 dongle
>
>Modified acrecv.c replacing the printk's with appropiate system("xmms
>-s") comands recompiled
>
>Ran this script
>
> #!/bin/sh -e
>#
># BTXMMS
>#
>
>sdptool add AVRTG
>
>
>if [ -x /usr/bin/a2dpd ]; then
> /home/andy/blueheadphones/avrecv &
> vlc &
> xmms &
> /usr/bin/a2dpd 00:0D:44:2A:5C:12 =
>fi
># fi
> =
>
>exit 0
>
>Pressed play on the screen and sound in all it's beauty came from my
>speakers (this wasn't new) then press next on the headphones and viola
>the track jumped forward same for back and pause.
>
>Then the fly in the ointment
>
>If you press pause (either on xmms or headphones) wait 10 secs then
>press play again on headphones it appears the heaphones recreate a avrcp
>connection but no a2dpd (bugger bugger bugger) the only way out of this
>is switch off the headphones and restart.
>
>This is the log output
>
>PCM thread 0.5 started after
>DEBUG: a2dp_params: (errno=3D0:Success)a2dp 0x821d4e8
>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 0x821d4e8
>Accepting incoming stream connection
>DEBUG: a2dp_prepare: (errno=3D4:Interrupted system call)a2dp 0x821d4e8
><--------------- PAUSE Pressed
>[1] Receiving failed on socket 0.5 error (-1/4 bytes) errno=3D11:Resource
>temporarily unavailable
>Client thread 0.5 ending: timeout
>Destroying lpA2dp, destroy_count is 5001
>DEBUG: a2dp_destroy: Begin
>DEBUG: a2dp_free: Begin
>DEBUG: a2dp_destroy: a2dp_destroy(0x8053090) OK
>Connectedreceived 0 bytes:
>
>transaction_label =3D 0
>packet_type =3D 0
>cr =3D 1
>ipid =3D 0
>pid =3D e11
>zeroes =3D 0
>ctype =3D 9
>subunit_type =3D 9
>subunit_id =3D 0
>opcode =3D 7c
>operand0 =3D 4b
>operand1 =3D 0
>accepting next connection
>DEBUG: a2dp_wait_connection: Begin
>DEBUG: a2dp_wait_connection: Connected [imtu 672, omtu 0, flush_to
>65535]
>
>socket 5: Connection from 12:5C:2A:44:0D:00, mtu=3D672
><----------------- Play Pressed on headphones
>socket 5: Received 2 bytes
>00000: 00 01
>
>
>This is with a Broadcom BCM2045 usb dongle standars Ubuntu 6.06 kernel
>(checked looks like the patch is applied).
>HP fa303 headset =
> =
>
>------------------------------------------------------------------------
>---------- =
>
>
>-------------------------------------------------------------------------
>Take Surveys. Earn Cash. Influence the Future of IT
>Join SourceForge.net's Techsay panel and you'll get the chance to share yo=
ur
>opinions on IT & business topics through brief surveys -- and earn cash
>http://www.techsay.com/default.php?page=3Djoin.php&p=3Dsourceforge&CID=3DD=
EVDEV
>_______________________________________________
>Bluez-devel mailing list
>[email protected]
>https://lists.sourceforge.net/lists/listinfo/bluez-devel
> =
>
-------------------------------------------------------------------------
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to share your
opinions on IT & business topics through brief surveys -- and earn cash
http://www.techsay.com/default.php?page=3Djoin.php&p=3Dsourceforge&CID=3DDE=
VDEV
_______________________________________________
Bluez-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/bluez-devel
Just thought I'd let you know of my success's and problems with my HP
blutooth headphones (a2dpd & avrcp) and broadcom bcm2045 dongle
Modified acrecv.c replacing the printk's with appropiate system("xmms
-s") comands recompiled
Ran this script
#!/bin/sh -e
#
# BTXMMS
#
sdptool add AVRTG
if [ -x /usr/bin/a2dpd ]; then
/home/andy/blueheadphones/avrecv &
vlc &
xmms &
/usr/bin/a2dpd 00:0D:44:2A:5C:12
fi
# fi
exit 0
Pressed play on the screen and sound in all it's beauty came from my
speakers (this wasn't new) then press next on the headphones and viola
the track jumped forward same for back and pause.
Then the fly in the ointment
If you press pause (either on xmms or headphones) wait 10 secs then
press play again on headphones it appears the heaphones recreate a avrcp
connection but no a2dpd (bugger bugger bugger) the only way out of this
is switch off the headphones and restart.
This is the log output
PCM thread 0.5 started
DEBUG: a2dp_params: (errno=0:Success)a2dp 0x821d4e8
DEBUG: a2dp_params: (errno=0:Success)format S16_LE rate 44100 channels 2
DEBUG: a2dp_params: (errno=0:Success)frame_bytes 4 period_bytes 8192
period_size 2048 buffer_size 4096
DEBUG: a2dp_prepare: (errno=0:Success)a2dp 0x821d4e8
Accepting incoming stream connection
DEBUG: a2dp_prepare: (errno=4:Interrupted system call)a2dp 0x821d4e8
<--------------- PAUSE Pressed
[1] Receiving failed on socket 0.5 error (-1/4 bytes) errno=11:Resource
temporarily unavailable
Client thread 0.5 ending: timeout
Destroying lpA2dp, destroy_count is 5001
DEBUG: a2dp_destroy: Begin
DEBUG: a2dp_free: Begin
DEBUG: a2dp_destroy: a2dp_destroy(0x8053090) OK
Connectedreceived 0 bytes:
transaction_label = 0
packet_type = 0
cr = 1
ipid = 0
pid = e11
zeroes = 0
ctype = 9
subunit_type = 9
subunit_id = 0
opcode = 7c
operand0 = 4b
operand1 = 0
accepting next connection
DEBUG: a2dp_wait_connection: Begin
DEBUG: a2dp_wait_connection: Connected [imtu 672, omtu 0, flush_to
65535]
socket 5: Connection from 12:5C:2A:44:0D:00, mtu=672
<----------------- Play Pressed on headphones
socket 5: Received 2 bytes
00000: 00 01
This is with a Broadcom BCM2045 usb dongle standars Ubuntu 6.06 kernel
(checked looks like the patch is applied).
HP fa303 headset
------------------------------------------------------------------------
----------
-------------------------------------------------------------------------
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to share your
opinions on IT & business topics through brief surveys -- and earn cash
http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV
_______________________________________________
Bluez-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/bluez-devel
Not sure about wavez name as
http://www.wavez.org is already taken
Wavez.com exists
There appears to be a Wintel program WaveZ Ver.1.70beta for
Windows95/98/NT4.0/Win2000 in existence
Given this lot isn't the name a little confusing
Also for a release shouldn't a2dpd actualy bahave like a deamon.
i.e
1. confuration file to parse bt id (/etc/bluez/a2dpd.conf ot maybe
/etc/default)
2. runs as a deamon in background as default
3. example init scrips supplies would be cool
At present if you atttempt to run a2dpd in the background from sysv
startup (at least on my Ubuntu 6.06) it locks ths machine solid after
about 30 minutes.
If you attempt to output to a file i.e a2dpd 00:11:22:33:44:55 >
/home/andy/bt.log then nothing is written to the file until you kill
a2dpd
But if you a2dpd 00:11:22:33:44:55 > /dev/tty1 then it appears on the
terminal
a2dpd 00:11:22:33:44:55 > /dev/null appears to cure the hang so I think
its probably related to all the DEBUG output messages.
After being negative I'd just like to thank you for all the work you've
done it works really well already.
------------------------------------------------------------------------
----------
SIEMENS
Andrew Waldram
Technical Implementations Group
Server Specialist - South
* Tel: +44 (0) 1344 396619
* Mob: +44 (0) 7808 827469
* Fax: +44 (0) 1344 358056
* Email: [email protected]
This e-mail contains confidential information and is for the exclusive
use of the addressee/s. If you are not the addressee, then any
distribution, copying or use of this e-mail is prohibited. If received
in error, please advise the sender and delete it immediately. We accept
no liability for any loss or damage suffered by any person arising from
use of this e-mail.
Siemens Business Services Limited
Registered No: 1203466 England
Registered Office: Siemens House, Oldbury, Bracknell, Berkshire, RG12
8FZ
-----Original Message-----
From: [email protected]
[mailto:[email protected]] On Behalf Of Brad
Midgley
Sent: 01 August 2006 16:46
To: BlueZ development
Subject: Re: [Bluez-devel] a2pd btsco won't compile (FIX) plus xmms
error
Guys
>>Maybe the build doc in the plugin directory needs updating ???
I've been waffling on how to go forward. What do you think of this plan?
- minimal update to btsco documents to bring in line
- make a btsco snapshot release .43
- use new wavez sourceforge project for alsa (both sco and a2dp)
plugins, for a2play test code and eventually gstreamer plugins
- create wavez as a cvs project (was tempted by svn but there's a
learning curve for everyone)
- leave out libsbc from the new project so we cleanly use the standalone
library
- eventually remove pieces from bluetooth-alsa's btsco project (alsa
plugins etc) to leave it mostly as it originally was, just the kernel
sco audio
- obviously refactor the documentation, simplifying btsco and updating
wavez
I want to send the message especially for distros that wavez is where
they should put packaging effort and all the plugins there will be past
experimental and worth giving to users.
Brad
------------------------------------------------------------------------
-
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to share
your
opinions on IT & business topics through brief surveys -- and earn cash
http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDE
V
_______________________________________________
Bluez-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/bluez-devel
-------------------------------------------------------------------------
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to share your
opinions on IT & business topics through brief surveys -- and earn cash
http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV
_______________________________________________
Bluez-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/bluez-devel
Guys
>>Maybe the build doc in the plugin directory needs updating ???
I've been waffling on how to go forward. What do you think of this plan?
- minimal update to btsco documents to bring in line
- make a btsco snapshot release .43
- use new wavez sourceforge project for alsa (both sco and a2dp)
plugins, for a2play test code and eventually gstreamer plugins
- create wavez as a cvs project (was tempted by svn but there's a
learning curve for everyone)
- leave out libsbc from the new project so we cleanly use the standalone
library
- eventually remove pieces from bluetooth-alsa's btsco project (alsa
plugins etc) to leave it mostly as it originally was, just the kernel
sco audio
- obviously refactor the documentation, simplifying btsco and updating wavez
I want to send the message especially for distros that wavez is where
they should put packaging effort and all the plugins there will be past
experimental and worth giving to users.
Brad
-------------------------------------------------------------------------
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to share your
opinions on IT & business topics through brief surveys -- and earn cash
http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV
_______________________________________________
Bluez-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/bluez-devel
Hi andrew
>Your right the a2dpd does not appear to suffer in xmms (thankyou)
>
>Am I right in assuming there is more development work going on with this p=
luggin than the other ??
>
>Maybe the build doc in the plugin directory needs updating ???
> =
>
Maybe :D
>As this is set as the default plugin can I just change the name in .asound=
rc and then select it in the app I choose to use ???
>This would allow all other apps to use the default device (soundcard)
> =
>
In xmms, I type 'pcm.xyz' if I want to use a specific device and =
'default' if I want to use default.
If you see what I mean.
Fr=E9d=E9ric
-------------------------------------------------------------------------
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to share your
opinions on IT & business topics through brief surveys -- and earn cash
http://www.techsay.com/default.php?page=3Djoin.php&p=3Dsourceforge&CID=3DDE=
VDEV
_______________________________________________
Bluez-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/bluez-devel
Thanks for the advice really appreciate it.
As stated if I add =
a2dpd_CFLAGS =3D $(AM_CFLAGS)
That clears the issue for me (.bootstrap was failing at the errors so .conf=
igure never ran so bust (ubuntu 6.06 (mildly modded kernel))
Your right the a2dpd does not appear to suffer in xmms (thankyou)
Am I right in assuming there is more development work going on with this pl=
uggin than the other ??
Maybe the build doc in the plugin directory needs updating ???
As this is set as the default plugin can I just change the name in .asoundr=
c and then select it in the app I choose to use ???
This would allow all other apps to use the default device (soundcard)
---------------------------------------------------------------------------=
------- =
-----Original Message-----
From: [email protected] [mailto:bluez-devel-bounces=
@lists.sourceforge.net] On Behalf Of Fr=E9d=E9ric DALLEAU
Sent: 01 August 2006 09:56
To: BlueZ development
Subject: Re: [Bluez-devel] a2pd btsco won't compile (FIX) plus xmms error
Andrew, I must add that you have to use the latest cvs. But of course =
you do!
Brad, are you scheduling a release soon?
Fr=E9d=E9ric.
Fr=E9d=E9ric DALLEAU a =E9crit :
>Hi,
>
>I use xmms everyday. Have a look at a2dpd. It's an alternative a2dp =
>plugin and a daemon. You'll easily set it up and you can find =
>documentation here :
> =
>http://sourceforge.net/mailarchive/forum.php?thread_id=3D20199009&forum_id=
=3D1881
>
>For your compilation problem, I used to get a warning about
> `LIBS' previously defined here
>and one with
> alsa-plugins/Makefile.am: object `a2dp_timer.$(OBJEXT)' created both =
>with libtool and without
> alsa-plugins/Makefile.am: object `a2dp_ipc.$(OBJEXT)' created both =
>with libtool and without
>
>I added
> a2dpd_CFLAGS =3D -pthread
>which removed the second warning...
>
>But these are only warnings which should not break compilation. As I =
>cannot reproduce your problem (ubuntu 5.1), could you please give us =
>full compiler output. This will allow for easier debbuging.
>
>Let us know about your success,
>Fr=E9d=E9ric.
>
>
>
>Andrew Waldram a =E9crit :
>
> =
>
>>Hi guys ,
>>
>>Sorry this is a bit noddy but I'm not a developer
>>
>>the latest changes to a2pd plugin stop btsco compiling as your trying to
>>re-use variables.
>>
>>Adding
>>
>>bin_PROGRAMS =3D a2dpd
>>a2dpd_SOURCES =3D a2dpd.c a2dplib.c a2dp_timer.c a2dp_ipc.c
>>----->>>>> a2dpd_CFLAGS =3D $(AM_CFLAGS)
>>
>>to the makefile.am in the pluggin filder will fix it by renaming the
>>variable timer and icp during compile time, =
>>
>>it almost a no-op just fixes the compiler dont know if thats the right
>>way to do it though.
>>
>>Also when I use XMMS with my HP bluetooth headphones then every time a
>>track finishes the the headphones stop (next also does this), but
>>alsaplayer is fine.
>>
>>here is whats happening during skip
>>
>>SBC Bandwidth =3D 26 kbps [26703 bps]
>>SBC Bandwidth =3D 26 kbps [27324 bps]
>>SBC Bandwidth =3D 26 kbps [27324 bps]
>>Awaiting command
>>SBC Bandwidth =3D 26 kbps [27324 bps]
>>SBC Bandwidth =3D 26 kbps [27324 bps]
>>DEBUG: a2dp_stop: a2dp 0x82668d8
>>DEBUG: a2dp_stop: Listen thread terminating
>>Thread in signal handler 14
>>Error while receiving -1 (errno=3D4:Interrupted system call)
>>listen_thread: ending perfeclty
>>DEBUG: a2dp_stop: Listen thread terminated
>>DEBUG: a2dp_stop: OK
>>DEBUG: a2dp_stop: a2dp 0x82668d8
>>DEBUG: a2dp_stop: Listen thread terminating
>>DEBUG: a2dp_stop: Listen thread terminated
>>DEBUG: a2dp_stop: OK
>>DEBUG: a2dp_close: a2dp Destroying 0x82668d8
>>DEBUG: a2dp_close: OK
>>DEBUG: _snd_pcm_a2dp_open: name pcm.headphone mode 1
>>DEBUG: _snd_pcm_a2dp_open: bdaddr/dest is 00:0D:44:2A:5C:12
>>DEBUG: a2dp_constraint: TEST a2dp 0x82668d8
>>DEBUG: a2dp_params: a2dp 0x82668d8
>>DEBUG: a2dp_params: format S16_LE rate 44100 channels 2
>>DEBUG: a2dp_params: frame_bytes 4 period_bytes 8192 period_size 2048
>>buffer_size 4096
>>DEBUG: a2dp_prepare: a2dp 0x82668d8
>>SBC Bandwidth =3D 19 kbps [19872 bps]
>>SBC Bandwidth =3D 26 kbps [26703 bps]
>>SBC Bandwidth =3D 26 kbps [26703 bps]
>>
>>Yet it doesn't start playing again , but restarting xmms start sound
>>again
>>
>>
>>-------------------------------------------------------------------------
>>Take Surveys. Earn Cash. Influence the Future of IT
>>Join SourceForge.net's Techsay panel and you'll get the chance to share y=
our
>>opinions on IT & business topics through brief surveys -- and earn cash
>>http://www.techsay.com/default.php?page=3Djoin.php&p=3Dsourceforge&CID=3D=
DEVDEV
>>_______________________________________________
>>Bluez-devel mailing list
>>[email protected]
>>https://lists.sourceforge.net/lists/listinfo/bluez-devel
>> =
>>
>> =
>>
>
>
>-------------------------------------------------------------------------
>Take Surveys. Earn Cash. Influence the Future of IT
>Join SourceForge.net's Techsay panel and you'll get the chance to share yo=
ur
>opinions on IT & business topics through brief surveys -- and earn cash
>http://www.techsay.com/default.php?page=3Djoin.php&p=3Dsourceforge&CID=3DD=
EVDEV
>_______________________________________________
>Bluez-devel mailing list
>[email protected]
>https://lists.sourceforge.net/lists/listinfo/bluez-devel
> =
>
-------------------------------------------------------------------------
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to share your
opinions on IT & business topics through brief surveys -- and earn cash
http://www.techsay.com/default.php?page=3Djoin.php&p=3Dsourceforge&CID=3DDE=
VDEV
_______________________________________________
Bluez-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/bluez-devel
-------------------------------------------------------------------------
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to share your
opinions on IT & business topics through brief surveys -- and earn cash
http://www.techsay.com/default.php?page=3Djoin.php&p=3Dsourceforge&CID=3DDE=
VDEV
_______________________________________________
Bluez-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/bluez-devel
Andrew, I must add that you have to use the latest cvs. But of course =
you do!
Brad, are you scheduling a release soon?
Fr=E9d=E9ric.
Fr=E9d=E9ric DALLEAU a =E9crit :
>Hi,
>
>I use xmms everyday. Have a look at a2dpd. It's an alternative a2dp =
>plugin and a daemon. You'll easily set it up and you can find =
>documentation here :
> =
>http://sourceforge.net/mailarchive/forum.php?thread_id=3D20199009&forum_id=
=3D1881
>
>For your compilation problem, I used to get a warning about
> `LIBS' previously defined here
>and one with
> alsa-plugins/Makefile.am: object `a2dp_timer.$(OBJEXT)' created both =
>with libtool and without
> alsa-plugins/Makefile.am: object `a2dp_ipc.$(OBJEXT)' created both =
>with libtool and without
>
>I added
> a2dpd_CFLAGS =3D -pthread
>which removed the second warning...
>
>But these are only warnings which should not break compilation. As I =
>cannot reproduce your problem (ubuntu 5.1), could you please give us =
>full compiler output. This will allow for easier debbuging.
>
>Let us know about your success,
>Fr=E9d=E9ric.
>
>
>
>Andrew Waldram a =E9crit :
>
> =
>
>>Hi guys ,
>>
>>Sorry this is a bit noddy but I'm not a developer
>>
>>the latest changes to a2pd plugin stop btsco compiling as your trying to
>>re-use variables.
>>
>>Adding
>>
>>bin_PROGRAMS =3D a2dpd
>>a2dpd_SOURCES =3D a2dpd.c a2dplib.c a2dp_timer.c a2dp_ipc.c
>>----->>>>> a2dpd_CFLAGS =3D $(AM_CFLAGS)
>>
>>to the makefile.am in the pluggin filder will fix it by renaming the
>>variable timer and icp during compile time, =
>>
>>it almost a no-op just fixes the compiler dont know if thats the right
>>way to do it though.
>>
>>Also when I use XMMS with my HP bluetooth headphones then every time a
>>track finishes the the headphones stop (next also does this), but
>>alsaplayer is fine.
>>
>>here is whats happening during skip
>>
>>SBC Bandwidth =3D 26 kbps [26703 bps]
>>SBC Bandwidth =3D 26 kbps [27324 bps]
>>SBC Bandwidth =3D 26 kbps [27324 bps]
>>Awaiting command
>>SBC Bandwidth =3D 26 kbps [27324 bps]
>>SBC Bandwidth =3D 26 kbps [27324 bps]
>>DEBUG: a2dp_stop: a2dp 0x82668d8
>>DEBUG: a2dp_stop: Listen thread terminating
>>Thread in signal handler 14
>>Error while receiving -1 (errno=3D4:Interrupted system call)
>>listen_thread: ending perfeclty
>>DEBUG: a2dp_stop: Listen thread terminated
>>DEBUG: a2dp_stop: OK
>>DEBUG: a2dp_stop: a2dp 0x82668d8
>>DEBUG: a2dp_stop: Listen thread terminating
>>DEBUG: a2dp_stop: Listen thread terminated
>>DEBUG: a2dp_stop: OK
>>DEBUG: a2dp_close: a2dp Destroying 0x82668d8
>>DEBUG: a2dp_close: OK
>>DEBUG: _snd_pcm_a2dp_open: name pcm.headphone mode 1
>>DEBUG: _snd_pcm_a2dp_open: bdaddr/dest is 00:0D:44:2A:5C:12
>>DEBUG: a2dp_constraint: TEST a2dp 0x82668d8
>>DEBUG: a2dp_params: a2dp 0x82668d8
>>DEBUG: a2dp_params: format S16_LE rate 44100 channels 2
>>DEBUG: a2dp_params: frame_bytes 4 period_bytes 8192 period_size 2048
>>buffer_size 4096
>>DEBUG: a2dp_prepare: a2dp 0x82668d8
>>SBC Bandwidth =3D 19 kbps [19872 bps]
>>SBC Bandwidth =3D 26 kbps [26703 bps]
>>SBC Bandwidth =3D 26 kbps [26703 bps]
>>
>>Yet it doesn't start playing again , but restarting xmms start sound
>>again
>>
>>
>>-------------------------------------------------------------------------
>>Take Surveys. Earn Cash. Influence the Future of IT
>>Join SourceForge.net's Techsay panel and you'll get the chance to share y=
our
>>opinions on IT & business topics through brief surveys -- and earn cash
>>http://www.techsay.com/default.php?page=3Djoin.php&p=3Dsourceforge&CID=3D=
DEVDEV
>>_______________________________________________
>>Bluez-devel mailing list
>>[email protected]
>>https://lists.sourceforge.net/lists/listinfo/bluez-devel
>> =
>>
>> =
>>
>
>
>-------------------------------------------------------------------------
>Take Surveys. Earn Cash. Influence the Future of IT
>Join SourceForge.net's Techsay panel and you'll get the chance to share yo=
ur
>opinions on IT & business topics through brief surveys -- and earn cash
>http://www.techsay.com/default.php?page=3Djoin.php&p=3Dsourceforge&CID=3DD=
EVDEV
>_______________________________________________
>Bluez-devel mailing list
>[email protected]
>https://lists.sourceforge.net/lists/listinfo/bluez-devel
> =
>
-------------------------------------------------------------------------
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to share your
opinions on IT & business topics through brief surveys -- and earn cash
http://www.techsay.com/default.php?page=3Djoin.php&p=3Dsourceforge&CID=3DDE=
VDEV
_______________________________________________
Bluez-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/bluez-devel
Hi,
I use xmms everyday. Have a look at a2dpd. It's an alternative a2dp =
plugin and a daemon. You'll easily set it up and you can find =
documentation here :
=
http://sourceforge.net/mailarchive/forum.php?thread_id=3D20199009&forum_id=
=3D1881
For your compilation problem, I used to get a warning about
`LIBS' previously defined here
and one with
alsa-plugins/Makefile.am: object `a2dp_timer.$(OBJEXT)' created both =
with libtool and without
alsa-plugins/Makefile.am: object `a2dp_ipc.$(OBJEXT)' created both =
with libtool and without
I added
a2dpd_CFLAGS =3D -pthread
which removed the second warning...
But these are only warnings which should not break compilation. As I =
cannot reproduce your problem (ubuntu 5.1), could you please give us =
full compiler output. This will allow for easier debbuging.
Let us know about your success,
Fr=E9d=E9ric.
Andrew Waldram a =E9crit :
>Hi guys ,
>
>Sorry this is a bit noddy but I'm not a developer
>
>the latest changes to a2pd plugin stop btsco compiling as your trying to
>re-use variables.
>
>Adding
>
>bin_PROGRAMS =3D a2dpd
>a2dpd_SOURCES =3D a2dpd.c a2dplib.c a2dp_timer.c a2dp_ipc.c
>----->>>>> a2dpd_CFLAGS =3D $(AM_CFLAGS)
>
>to the makefile.am in the pluggin filder will fix it by renaming the
>variable timer and icp during compile time, =
>
>it almost a no-op just fixes the compiler dont know if thats the right
>way to do it though.
>
>Also when I use XMMS with my HP bluetooth headphones then every time a
>track finishes the the headphones stop (next also does this), but
>alsaplayer is fine.
>
>here is whats happening during skip
>
>SBC Bandwidth =3D 26 kbps [26703 bps]
>SBC Bandwidth =3D 26 kbps [27324 bps]
>SBC Bandwidth =3D 26 kbps [27324 bps]
>Awaiting command
>SBC Bandwidth =3D 26 kbps [27324 bps]
>SBC Bandwidth =3D 26 kbps [27324 bps]
>DEBUG: a2dp_stop: a2dp 0x82668d8
>DEBUG: a2dp_stop: Listen thread terminating
>Thread in signal handler 14
>Error while receiving -1 (errno=3D4:Interrupted system call)
>listen_thread: ending perfeclty
>DEBUG: a2dp_stop: Listen thread terminated
>DEBUG: a2dp_stop: OK
>DEBUG: a2dp_stop: a2dp 0x82668d8
>DEBUG: a2dp_stop: Listen thread terminating
>DEBUG: a2dp_stop: Listen thread terminated
>DEBUG: a2dp_stop: OK
>DEBUG: a2dp_close: a2dp Destroying 0x82668d8
>DEBUG: a2dp_close: OK
>DEBUG: _snd_pcm_a2dp_open: name pcm.headphone mode 1
>DEBUG: _snd_pcm_a2dp_open: bdaddr/dest is 00:0D:44:2A:5C:12
>DEBUG: a2dp_constraint: TEST a2dp 0x82668d8
>DEBUG: a2dp_params: a2dp 0x82668d8
>DEBUG: a2dp_params: format S16_LE rate 44100 channels 2
>DEBUG: a2dp_params: frame_bytes 4 period_bytes 8192 period_size 2048
>buffer_size 4096
>DEBUG: a2dp_prepare: a2dp 0x82668d8
>SBC Bandwidth =3D 19 kbps [19872 bps]
>SBC Bandwidth =3D 26 kbps [26703 bps]
>SBC Bandwidth =3D 26 kbps [26703 bps]
>
>Yet it doesn't start playing again , but restarting xmms start sound
>again
>
>
>-------------------------------------------------------------------------
>Take Surveys. Earn Cash. Influence the Future of IT
>Join SourceForge.net's Techsay panel and you'll get the chance to share yo=
ur
>opinions on IT & business topics through brief surveys -- and earn cash
>http://www.techsay.com/default.php?page=3Djoin.php&p=3Dsourceforge&CID=3DD=
EVDEV
>_______________________________________________
>Bluez-devel mailing list
>[email protected]
>https://lists.sourceforge.net/lists/listinfo/bluez-devel
> =
>
-------------------------------------------------------------------------
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to share your
opinions on IT & business topics through brief surveys -- and earn cash
http://www.techsay.com/default.php?page=3Djoin.php&p=3Dsourceforge&CID=3DDE=
VDEV
_______________________________________________
Bluez-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/bluez-devel