* [Bluez-users] A2DP alsa no sound
@ 2006-02-23 16:22 Niv
2006-02-23 18:17 ` Brad Midgley
0 siblings, 1 reply; 5+ messages in thread
From: Niv @ 2006-02-23 16:22 UTC (permalink / raw)
To: bluez-users
I am SO glad you made a alsa plugin for the headphones.
I tried it , I hear that the headphones do pick it up , but no sound
goes throu
hcidump -X -V:
HCI sniffer - Bluetooth packet analyzer ver 1.29
device: hci0 snap_len: 1028 filter: 0xffffffff
< ACL data: handle 41 flags 0x02 dlen 12
L2CAP(s): Connect req: psm 25 scid 0x0040
> HCI Event: Number of Completed Packets (0x13) plen 5
handle 41 packets 1
> HCI Event: Max Slots Change (0x1b) plen 3
handle 41 slots 1
> ACL data: handle 41 flags 0x02 dlen 16
L2CAP(s): Connect rsp: dcid 0x0086 scid 0x0040 result 1 status 2
Connection pending - Authorization pending
> HCI Event: Mode Change (0x14) plen 6
status 0x00 handle 41 mode 0x00 interval 0
Mode: Active
> HCI Event: Max Slots Change (0x1b) plen 3
handle 41 slots 5
> ACL data: handle 41 flags 0x02 dlen 16
L2CAP(s): Connect rsp: dcid 0x0086 scid 0x0040 result 0 status 0
Connection successful
< ACL data: handle 41 flags 0x02 dlen 12
L2CAP(s): Config req: dcid 0x0086 flags 0x00 clen 0
> ACL data: handle 41 flags 0x02 dlen 16
L2CAP(s): Config req: dcid 0x0040 flags 0x00 clen 4
MTU 895
< ACL data: handle 41 flags 0x02 dlen 14
L2CAP(s): Config rsp: scid 0x0086 flags 0x00 result 0 clen 0
Success
> HCI Event: Number of Completed Packets (0x13) plen 5
handle 41 packets 1
> HCI Event: Number of Completed Packets (0x13) plen 5
handle 41 packets 1
> ACL data: handle 41 flags 0x02 dlen 14
L2CAP(s): Config rsp: scid 0x0040 flags 0x00 result 0 clen 0
Success
< ACL data: handle 41 flags 0x02 dlen 7
L2CAP(d): cid 0x0086 len 3 [psm 25]
AVDTP(s): Discover cmd: transaction 0
0000: 00 .
> HCI Event: Number of Completed Packets (0x13) plen 5
handle 41 packets 1
> ACL data: handle 41 flags 0x02 dlen 8
L2CAP(d): cid 0x0040 len 4 [psm 25]
AVDTP(s): Discover rsp: transaction 0
ACP SEID 1 - Audio Sink
< ACL data: handle 41 flags 0x02 dlen 7
L2CAP(d): cid 0x0086 len 3 [psm 25]
AVDTP(s): Capabilities cmd: transaction 1
ACP SEID 1
> HCI Event: Number of Completed Packets (0x13) plen 5
handle 41 packets 1
> ACL data: handle 41 flags 0x02 dlen 16
L2CAP(d): cid 0x0040 len 12 [psm 25]
AVDTP(s): Capabilities rsp: transaction 1
Media Transport
Media Codec - SBC
16kHz 32kHz 44.1kHz 48kHz
Mono DualChannel Stereo JointStereo
4 8 12 16 Blocks
4 8 Subbands
SNR Loudness
Bitpool Range 2-32
< ACL data: handle 41 flags 0x02 dlen 18
L2CAP(d): cid 0x0086 len 14 [psm 25]
AVDTP(s): Set config cmd: transaction 2
ACP SEID 1 - INT SEID 1
Media Transport
Media Codec - SBC
44.1kHz
Stereo
16 Blocks
8 Subbands
SNR
Bitpool Range 2-32
> HCI Event: Number of Completed Packets (0x13) plen 5
handle 41 packets 1
16 Blocks
8 Subbands
SNR
Bitpool Range 2-32
> HCI Event: Number of Completed Packets (0x13) plen 5
handle 41 packets 1
> ACL data: handle 41 flags 0x02 dlen 6
L2CAP(d): cid 0x0040 len 2 [psm 25]
AVDTP(s): Set config rsp: transaction 2
< ACL data: handle 41 flags 0x02 dlen 7
L2CAP(d): cid 0x0086 len 3 [psm 25]
AVDTP(s): Open cmd: transaction 3
ACP SEID 1
> HCI Event: Number of Completed Packets (0x13) plen 5
handle 41 packets 1
> ACL data: handle 41 flags 0x02 dlen 6
L2CAP(d): cid 0x0040 len 2 [psm 25]
AVDTP(s): Open rsp: transaction 3
< ACL data: handle 41 flags 0x02 dlen 12
L2CAP(s): Connect req: psm 25 scid 0x0042
> HCI Event: Number of Completed Packets (0x13) plen 5
handle 41 packets 1
> ACL data: handle 41 flags 0x02 dlen 16
L2CAP(s): Connect rsp: dcid 0x0087 scid 0x0042 result 1 status 2
Connection pending - Authorization pending
> ACL data: handle 41 flags 0x02 dlen 16
L2CAP(s): Connect rsp: dcid 0x0087 scid 0x0042 result 0 status 0
Connection successful
< ACL data: handle 41 flags 0x02 dlen 12
L2CAP(s): Config req: dcid 0x0087 flags 0x00 clen 0
> ACL data: handle 41 flags 0x02 dlen 16
L2CAP(s): Config req: dcid 0x0042 flags 0x00 clen 4
MTU 895
< ACL data: handle 41 flags 0x02 dlen 14
L2CAP(s): Config rsp: scid 0x0087 flags 0x00 result 0 clen 0
Success
> HCI Event: Number of Completed Packets (0x13) plen 5
handle 41 packets 1
> HCI Event: Number of Completed Packets (0x13) plen 5
handle 41 packets 1
> ACL data: handle 41 flags 0x02 dlen 14
L2CAP(s): Config rsp: scid 0x0042 flags 0x00 result 0 clen 0
Success
< ACL data: handle 41 flags 0x02 dlen 7
L2CAP(d): cid 0x0086 len 3 [psm 25]
AVDTP(s): Start cmd: transaction 4
ACP SEID 1
> HCI Event: Number of Completed Packets (0x13) plen 5
handle 41 packets 1
> ACL data: handle 41 flags 0x02 dlen 6
L2CAP(d): cid 0x0040 len 2 [psm 25]
AVDTP(s): Start rsp: transaction 4
> ACL data: handle 41 flags 0x02 dlen 12
L2CAP(s): Connect req: psm 23 scid 0x0088
< ACL data: handle 41 flags 0x02 dlen 16
L2CAP(s): Connect rsp: dcid 0x0000 scid 0x0088 result 2 status 0
Connection refused - PSM not supported
> HCI Event: Number of Completed Packets (0x13) plen 5
handle 41 packets 1
> HCI Event: Mode Change (0x14) plen 6
status 0x00 handle 41 mode 0x02 interval 200
Mode: Sniff
< ACL data: handle 41 flags 0x02 dlen 12
L2CAP(s): Disconn req: dcid 0x0087 scid 0x0042
> HCI Event: Number of Completed Packets (0x13) plen 5
handle 41 packets 1
> HCI Event: Max Slots Change (0x1b) plen 3
handle 41 slots 1
> HCI Event: Mode Change (0x14) plen 6
status 0x00 handle 41 mode 0x00 interval 0
Mode: Active
> HCI Event: Max Slots Change (0x1b) plen 3
handle 41 slots 5
> ACL data: handle 41 flags 0x02 dlen 12
L2CAP(s): Disconn rsp: dcid 0x0087 scid 0x0042
-------------------------------------------------------
This SF.Net email is sponsored by xPML, a groundbreaking scripting language
that extends applications into web and mobile media. Attend the live webcast
and join the prime developer group breaking into this new coding territory!
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=110944&bid=241720&dat=121642
_______________________________________________
Bluez-users mailing list
Bluez-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bluez-users
^ permalink raw reply [flat|nested] 5+ messages in thread* Re: [Bluez-users] A2DP alsa no sound
2006-02-23 16:22 [Bluez-users] A2DP alsa no sound Niv
@ 2006-02-23 18:17 ` Brad Midgley
2006-02-25 23:59 ` Niv
[not found] ` <4400F1DE.5070804@cs.bgu.ac.il>
0 siblings, 2 replies; 5+ messages in thread
From: Brad Midgley @ 2006-02-23 18:17 UTC (permalink / raw)
To: bluez-users
Niv
> I am SO glad you made a alsa plugin for the headphones.
> I tried it , I hear that the headphones do pick it up , but no sound
> goes throu
The plugin is a work in progress. I got stuck in getting it to do the
right thing.
Can you see from the hcidump where the plugin differs from a successful
stream via a2play?
Brad
-------------------------------------------------------
This SF.Net email is sponsored by xPML, a groundbreaking scripting language
that extends applications into web and mobile media. Attend the live webcast
and join the prime developer group breaking into this new coding territory!
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=110944&bid=241720&dat=121642
_______________________________________________
Bluez-users mailing list
Bluez-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bluez-users
^ permalink raw reply [flat|nested] 5+ messages in thread* Re: [Bluez-users] A2DP alsa no sound
2006-02-23 18:17 ` Brad Midgley
@ 2006-02-25 23:59 ` Niv
[not found] ` <4400F1DE.5070804@cs.bgu.ac.il>
1 sibling, 0 replies; 5+ messages in thread
From: Niv @ 2006-02-25 23:59 UTC (permalink / raw)
To: bluez-users
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1
here we go:
diff mpg123.piped2headphones.dump.txt pcm.headphones.dump.txt
11c11
< L2CAP(s): Connect req: psm 1 scid 0x0040
- ---
> L2CAP(s): Connect req: psm 25 scid 0x0040
25,108c25
< L2CAP(s): Connect rsp: dcid 0x0049 scid 0x0040 result 1 status 2
< Connection pending - Authorization pending
< > ACL data: handle 41 flags 0x02 dlen 16
< L2CAP(s): Connect rsp: dcid 0x0049 scid 0x0040 result 0 status 0
< Connection successful
< < ACL data: handle 41 flags 0x02 dlen 12
< L2CAP(s): Config req: dcid 0x0049 flags 0x00 clen 0
< > HCI Event: Number of Completed Packets (0x13) plen 5
< handle 41 packets 1
< > ACL data: handle 41 flags 0x02 dlen 14
< L2CAP(s): Config rsp: scid 0x0040 flags 0x00 result 0 clen 0
< Success
< > ACL data: handle 41 flags 0x02 dlen 16
< L2CAP(s): Config req: dcid 0x0040 flags 0x00 clen 4
< MTU 48
< < ACL data: handle 41 flags 0x02 dlen 14
< L2CAP(s): Config rsp: scid 0x0049 flags 0x00 result 0 clen 0
< Success
< < ACL data: handle 41 flags 0x02 dlen 24
< L2CAP(d): cid 0x0049 len 20 [psm 1]
< SDP SSA Req: tid 0x0 len 0xf
< pat uuid-16 0x110d (AdvAudio)
< max 65535
< aid(s) 0x0000 - 0xffff
< cont 00
< > HCI Event: Number of Completed Packets (0x13) plen 5
< handle 41 packets 1
< > HCI Event: Number of Completed Packets (0x13) plen 5
< handle 41 packets 1
< > ACL data: handle 41 flags 0x02 dlen 52
< L2CAP(d): cid 0x0040 len 48 [psm 1]
< SDP SSA Rsp: tid 0x0 len 0x2b
< count 38
< cont 02 00 18
< < ACL data: handle 41 flags 0x02 dlen 26
< L2CAP(d): cid 0x0049 len 22 [psm 1]
< SDP SSA Req: tid 0x1 len 0x11
< pat uuid-16 0x110d (AdvAudio)
< max 65535
< aid(s) 0x0000 - 0xffff
< cont 02 00 18
< > HCI Event: Number of Completed Packets (0x13) plen 5
< handle 41 packets 1
< > ACL data: handle 41 flags 0x02 dlen 36
< L2CAP(d): cid 0x0040 len 32 [psm 1]
< SDP SSA Rsp: tid 0x1 len 0x1b
< count 24
< record #0
< aid 0x0000 (SrvRecHndl)
< uint 0x10000
< aid 0x0001 (SrvClassIDList)
< < uuid-16 0x110b (AudioSink) >
< aid 0x0004 (ProtocolDescList)
< < < uuid-16 0x0100 (L2CAP) uint 0x19 > <
< uuid-16 0x0019 (AVDTP) uint 0x100 > >
< aid 0x0009 (BTProfileDescList)
< < < uuid-16 0x110d (AdvAudio) uint 0x100 > >
< aid 0x0311 (unknown)
< uint 0x1
< cont 00
< < ACL data: handle 41 flags 0x02 dlen 24
< L2CAP(d): cid 0x0049 len 20 [psm 1]
< SDP SSA Req: tid 0x2 len 0xf
< pat uuid-16 0x1200 (PNPInfo)
< max 65535
< aid(s) 0x0000 - 0xffff
< cont 00
< > HCI Event: Number of Completed Packets (0x13) plen 5
< handle 41 packets 1
< > ACL data: handle 41 flags 0x02 dlen 14
< L2CAP(d): cid 0x0040 len 10 [psm 1]
< SDP SSA Rsp: tid 0x2 len 0x5
< count 2
< cont 00
< < ACL data: handle 41 flags 0x02 dlen 12
< L2CAP(s): Disconn req: dcid 0x0049 scid 0x0040
< < ACL data: handle 41 flags 0x02 dlen 12
< L2CAP(s): Connect req: psm 25 scid 0x0041
< > HCI Event: Number of Completed Packets (0x13) plen 5
< handle 41 packets 1
< > HCI Event: Number of Completed Packets (0x13) plen 5
< handle 41 packets 1
< > ACL data: handle 41 flags 0x02 dlen 16
< L2CAP(s): Connect rsp: dcid 0x004a scid 0x0041 result 1 status 2
- ---
> L2CAP(s): Connect rsp: dcid 0x004d scid 0x0040 result 1 status 2
110,111d26
< > ACL data: handle 41 flags 0x02 dlen 12
< L2CAP(s): Disconn rsp: dcid 0x0049 scid 0x0040
120c35
< L2CAP(s): Connect rsp: dcid 0x004a scid 0x0041 result 0 status 0
- ---
> L2CAP(s): Connect rsp: dcid 0x004d scid 0x0040 result 0 status 0
123c38
< L2CAP(s): Config req: dcid 0x004a flags 0x00 clen 0
- ---
> L2CAP(s): Config req: dcid 0x004d flags 0x00 clen 0
125c40
< L2CAP(s): Config req: dcid 0x0041 flags 0x00 clen 4
- ---
> L2CAP(s): Config req: dcid 0x0040 flags 0x00 clen 4
128c43
< L2CAP(s): Config rsp: scid 0x004a flags 0x00 result 0 clen 0
- ---
> L2CAP(s): Config rsp: scid 0x004d flags 0x00 result 0 clen 0
135c50
< L2CAP(s): Config rsp: scid 0x0041 flags 0x00 result 0 clen 0
- ---
> L2CAP(s): Config rsp: scid 0x0040 flags 0x00 result 0 clen 0
137,138c52,53
< < ACL data: handle 41 flags 0x02 dlen 6
< L2CAP(d): cid 0x004a len 2 [psm 25]
- ---
> < ACL data: handle 41 flags 0x02 dlen 7
> L2CAP(d): cid 0x004d len 3 [psm 25]
139a55
> 0000: 00 .
143c59
< L2CAP(d): cid 0x0041 len 4 [psm 25]
- ---
> L2CAP(d): cid 0x0040 len 4 [psm 25]
147c63
< L2CAP(d): cid 0x004a len 3 [psm 25]
- ---
> L2CAP(d): cid 0x004d len 3 [psm 25]
153c69
< L2CAP(d): cid 0x0041 len 12 [psm 25]
- ---
> L2CAP(d): cid 0x0040 len 12 [psm 25]
164c80
< L2CAP(d): cid 0x004a len 14 [psm 25]
- ---
> L2CAP(d): cid 0x004d len 14 [psm 25]
178c94
< L2CAP(d): cid 0x0041 len 2 [psm 25]
- ---
> L2CAP(d): cid 0x0040 len 2 [psm 25]
181c97
< L2CAP(d): cid 0x004a len 3 [psm 25]
- ---
> L2CAP(d): cid 0x004d len 3 [psm 25]
187c103
< L2CAP(d): cid 0x0041 len 2 [psm 25]
- ---
> L2CAP(d): cid 0x0040 len 2 [psm 25]
190c106
< L2CAP(s): Connect req: psm 25 scid 0x0040
- ---
> L2CAP(s): Connect req: psm 25 scid 0x0041
194c110
< L2CAP(s): Connect rsp: dcid 0x004b scid 0x0040 result 1 status 2
- ---
> L2CAP(s): Connect rsp: dcid 0x004e scid 0x0041 result 1 status 2
197c113
< L2CAP(s): Connect rsp: dcid 0x004b scid 0x0040 result 0 status 0
- ---
> L2CAP(s): Connect rsp: dcid 0x004e scid 0x0041 result 0 status 0
200c116
< L2CAP(s): Config req: dcid 0x004b flags 0x00 clen 0
- ---
> L2CAP(s): Config req: dcid 0x004e flags 0x00 clen 0
202c118
< L2CAP(s): Config req: dcid 0x0040 flags 0x00 clen 4
- ---
> L2CAP(s): Config req: dcid 0x0041 flags 0x00 clen 4
205c121
< L2CAP(s): Config rsp: scid 0x004b flags 0x00 result 0 clen 0
- ---
> L2CAP(s): Config rsp: scid 0x004e flags 0x00 result 0 clen 0
212c128
< L2CAP(s): Config rsp: scid 0x0040 flags 0x00 result 0 clen 0
- ---
> L2CAP(s): Config rsp: scid 0x0041 flags 0x00 result 0 clen 0
215c131
< L2CAP(d): cid 0x004a len 3 [psm 25]
- ---
> L2CAP(d): cid 0x004d len 3 [psm 25]
221c137
< L2CAP(d): cid 0x0041 len 2 [psm 25]
- ---
> L2CAP(d): cid 0x0040 len 2 [psm 25]
223,417d138
< < ACL data: handle 41 flags 0x02 dlen 192
< < ACL data: handle 41 flags 0x01 dlen 192
< < ACL data: handle 41 flags 0x01 dlen 192
< < ACL data: handle 41 flags 0x01 dlen 192
< < ACL data: handle 41 flags 0x01 dlen 85
< L2CAP(d): cid 0x004b len 849 [psm 25]
< AVDTP(m): ver 2 cc 0 pt 1 seqn 1 time 0 ssrc 1
Brad Midgley wrote:
> Niv
>
>> I am SO glad you made a alsa plugin for the headphones.
>> I tried it , I hear that the headphones do pick it up , but no sound
>> goes throu
>
> The plugin is a work in progress. I got stuck in getting it to do the
> right thing.
>
> Can you see from the hcidump where the plugin differs from a successful
> stream via a2play?
>
> Brad
>
>
> -------------------------------------------------------
> This SF.Net email is sponsored by xPML, a groundbreaking scripting language
> that extends applications into web and mobile media. Attend the live webcast
> and join the prime developer group breaking into this new coding territory!
> http://sel.as-us.falkag.net/sel?cmd=lnk&kid=110944&bid=241720&dat=121642
> _______________________________________________
> Bluez-users mailing list
> Bluez-users@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/bluez-users
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.2.1 (GNU/Linux)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org
iD8DBQFEAO9kkwazfG0MmCYRAkaFAKCRBRtS/8GKhrApN3oPF553pwIg6gCfWlHg
W8JTcghmy/4ZeppyNj+0KKs=
=w3LV
-----END PGP SIGNATURE-----
-------------------------------------------------------
This SF.Net email is sponsored by xPML, a groundbreaking scripting language
that extends applications into web and mobile media. Attend the live webcast
and join the prime developer group breaking into this new coding territory!
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=110944&bid=241720&dat=121642
_______________________________________________
Bluez-users mailing list
Bluez-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bluez-users
^ permalink raw reply [flat|nested] 5+ messages in thread[parent not found: <4400F1DE.5070804@cs.bgu.ac.il>]
* Re: [Bluez-users] A2DP alsa no sound
[not found] ` <4400F1DE.5070804@cs.bgu.ac.il>
@ 2006-02-27 8:28 ` Brad Midgley
2006-03-03 2:54 ` Niv
0 siblings, 1 reply; 5+ messages in thread
From: Brad Midgley @ 2006-02-27 8:28 UTC (permalink / raw)
To: bluez-users
Niv
> I am attaching the whole diff between the mpg123 pipe to a2play that
> works and the dump from xmms that doesnt.
> also attaching the xmms output (23M open)
> 11c11
> < L2CAP(s): Connect req: psm 1 scid 0x0040
> ---
>
>> L2CAP(s): Connect req: psm 25 scid 0x0040
I haven't been able to dig in but something looks wrong already... isn't
the correct code going to connect on psm 25 first for the commands and
then on the detected psm (usually 1) later for the stream? Yet from what
you've sent it looks like the working version connects to psm 1 first?
If I read your diff wrong, then maybe it's just that the plugin
incorrectly tries to go right to streaming without setting it up
properly using the l2cap connection on psm 25.
Brad
-------------------------------------------------------
This SF.Net email is sponsored by xPML, a groundbreaking scripting language
that extends applications into web and mobile media. Attend the live webcast
and join the prime developer group breaking into this new coding territory!
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=110944&bid=241720&dat=121642
_______________________________________________
Bluez-users mailing list
Bluez-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bluez-users
^ permalink raw reply [flat|nested] 5+ messages in thread* Re: [Bluez-users] A2DP alsa no sound
2006-02-27 8:28 ` Brad Midgley
@ 2006-03-03 2:54 ` Niv
0 siblings, 0 replies; 5+ messages in thread
From: Niv @ 2006-03-03 2:54 UTC (permalink / raw)
To: bluez-users
Hope this help:
Starting tommorow I will have better response time :-)
$ cat alsa.pcm.headphones.dump.txt
HCI sniffer - Bluetooth packet analyzer ver 1.29
device: hci0 snap_len: 1028 filter: 0xffffffff
< HCI Command: Create Connection (0x01|0x0005) plen 13
bdaddr 00:02:72:E1:03:6A ptype 0xcc18 rswitch 0x01 clkoffset 0x0000
Packet type: DM1 DM3 DM5 DH1 DH3 DH5
> HCI Event: Command Status (0x0f) plen 4
Create Connection (0x01|0x0005) status 0x00 ncmd 1
> HCI Event: Connect Complete (0x03) plen 11
status 0x00 handle 41 bdaddr 00:02:72:E1:03:6A type ACL encrypt 0x00
< ACL data: handle 41 flags 0x02 dlen 12
L2CAP(s): Connect req: psm 25 scid 0x0040
< HCI Command: Write Link Policy Settings (0x02|0x000d) plen 4
handle 41 policy 0x0f
Link policy: RSWITCH HOLD SNIFF PARK
> HCI Event: Number of Completed Packets (0x13) plen 5
handle 41 packets 1
> HCI Event: Command Complete (0x0e) plen 6
Write Link Policy Settings (0x02|0x000d) ncmd 1
status 0x00 handle 41
> HCI Event: Page Scan Repetition Mode Change (0x20) plen 7
bdaddr 00:02:72:E1:03:6A mode 1
> HCI Event: Max Slots Change (0x1b) plen 3
handle 41 slots 5
> ACL data: handle 41 flags 0x02 dlen 16
L2CAP(s): Connect rsp: dcid 0x0054 scid 0x0040 result 1 status 2
Connection pending - Authorization pending
> HCI Event: Link Key Request (0x17) plen 6
bdaddr 00:02:72:E1:03:6A
< HCI Command: Link Key Request Reply (0x01|0x000b) plen 22
bdaddr 00:02:72:E1:03:6A key 8AEFE6DC3BBFC6D986CAE5B978805227
> HCI Event: Command Complete (0x0e) plen 10
Link Key Request Reply (0x01|0x000b) ncmd 1
status 0x00 bdaddr 00:02:72:E1:03:6A
> ACL data: handle 41 flags 0x02 dlen 16
L2CAP(s): Connect rsp: dcid 0x0054 scid 0x0040 result 0 status 0
Connection successful
< ACL data: handle 41 flags 0x02 dlen 12
L2CAP(s): Config req: dcid 0x0054 flags 0x00 clen 0
> ACL data: handle 41 flags 0x02 dlen 16
L2CAP(s): Config req: dcid 0x0040 flags 0x00 clen 4
MTU 895
< ACL data: handle 41 flags 0x02 dlen 14
L2CAP(s): Config rsp: scid 0x0054 flags 0x00 result 0 clen 0
Success
> HCI Event: Number of Completed Packets (0x13) plen 5
handle 41 packets 1
> HCI Event: Number of Completed Packets (0x13) plen 5
handle 41 packets 1
> ACL data: handle 41 flags 0x02 dlen 14
L2CAP(s): Config rsp: scid 0x0040 flags 0x00 result 0 clen 0
Success
< ACL data: handle 41 flags 0x02 dlen 7
L2CAP(d): cid 0x0054 len 3 [psm 25]
AVDTP(s): Discover cmd: transaction 0
0000: 00 .
> HCI Event: Number of Completed Packets (0x13) plen 5
handle 41 packets 1
> ACL data: handle 41 flags 0x02 dlen 8
L2CAP(d): cid 0x0040 len 4 [psm 25]
AVDTP(s): Discover rsp: transaction 0
ACP SEID 1 - Audio Sink
< ACL data: handle 41 flags 0x02 dlen 7
L2CAP(d): cid 0x0054 len 3 [psm 25]
AVDTP(s): Capabilities cmd: transaction 1
ACP SEID 1
> HCI Event: Number of Completed Packets (0x13) plen 5
handle 41 packets 1
> ACL data: handle 41 flags 0x02 dlen 16
L2CAP(d): cid 0x0040 len 12 [psm 25]
AVDTP(s): Capabilities rsp: transaction 1
Media Transport
Media Codec - SBC
16kHz 32kHz 44.1kHz 48kHz
Mono DualChannel Stereo JointStereo
4 8 12 16 Blocks
4 8 Subbands
SNR Loudness
Bitpool Range 2-32
< ACL data: handle 41 flags 0x02 dlen 18
L2CAP(d): cid 0x0054 len 14 [psm 25]
AVDTP(s): Set config cmd: transaction 2
ACP SEID 1 - INT SEID 1
Media Transport
Media Codec - SBC
44.1kHz
Stereo
16 Blocks
8 Subbands
SNR
Bitpool Range 2-32
> HCI Event: Number of Completed Packets (0x13) plen 5
handle 41 packets 1
> ACL data: handle 41 flags 0x02 dlen 6
L2CAP(d): cid 0x0040 len 2 [psm 25]
AVDTP(s): Set config rsp: transaction 2
< ACL data: handle 41 flags 0x02 dlen 7
L2CAP(d): cid 0x0054 len 3 [psm 25]
AVDTP(s): Open cmd: transaction 3
ACP SEID 1
> HCI Event: Number of Completed Packets (0x13) plen 5
handle 41 packets 1
> ACL data: handle 41 flags 0x02 dlen 6
L2CAP(d): cid 0x0040 len 2 [psm 25]
AVDTP(s): Open rsp: transaction 3
< ACL data: handle 41 flags 0x02 dlen 12
L2CAP(s): Connect req: psm 25 scid 0x0041
> HCI Event: Number of Completed Packets (0x13) plen 5
handle 41 packets 1
> ACL data: handle 41 flags 0x02 dlen 16
L2CAP(s): Connect rsp: dcid 0x0055 scid 0x0041 result 1 status 2
Connection pending - Authorization pending
> ACL data: handle 41 flags 0x02 dlen 16
L2CAP(s): Connect rsp: dcid 0x0055 scid 0x0041 result 0 status 0
Connection successful
< ACL data: handle 41 flags 0x02 dlen 12
L2CAP(s): Config req: dcid 0x0055 flags 0x00 clen 0
> HCI Event: Number of Completed Packets (0x13) plen 5
handle 41 packets 1
> ACL data: handle 41 flags 0x02 dlen 16
L2CAP(s): Config req: dcid 0x0041 flags 0x00 clen 4
MTU 895
< ACL data: handle 41 flags 0x02 dlen 14
L2CAP(s): Config rsp: scid 0x0055 flags 0x00 result 0 clen 0
Success
> HCI Event: Number of Completed Packets (0x13) plen 5
handle 41 packets 1
> ACL data: handle 41 flags 0x02 dlen 14
L2CAP(s): Config rsp: scid 0x0041 flags 0x00 result 0 clen 0
Success
< ACL data: handle 41 flags 0x02 dlen 7
L2CAP(d): cid 0x0054 len 3 [psm 25]
AVDTP(s): Start cmd: transaction 4
ACP SEID 1
> HCI Event: Number of Completed Packets (0x13) plen 5
handle 41 packets 1
> ACL data: handle 41 flags 0x02 dlen 6
L2CAP(d): cid 0x0040 len 2 [psm 25]
AVDTP(s): Start rsp: transaction 4
> HCI Event: Role Change (0x12) plen 8
status 0x00 bdaddr 00:02:72:E1:03:6A role 0x01
Role: Slave
> HCI Event: Max Slots Change (0x1b) plen 3
handle 41 slots 5
> ACL data: handle 41 flags 0x02 dlen 12
L2CAP(s): Connect req: psm 23 scid 0x0056
< ACL data: handle 41 flags 0x02 dlen 16
L2CAP(s): Connect rsp: dcid 0x0000 scid 0x0056 result 2 status 0
Connection refused - PSM not supported
> HCI Event: Number of Completed Packets (0x13) plen 5
handle 41 packets 1
> HCI Event: Mode Change (0x14) plen 6
status 0x00 handle 41 mode 0x02 interval 200
Mode: Sniff
< ACL data: handle 41 flags 0x02 dlen 12
L2CAP(s): Disconn req: dcid 0x0055 scid 0x0041
> HCI Event: Number of Completed Packets (0x13) plen 5
handle 41 packets 1
> HCI Event: Max Slots Change (0x1b) plen 3
handle 41 slots 1
> HCI Event: Mode Change (0x14) plen 6
status 0x00 handle 41 mode 0x00 interval 0
Mode: Active
> ACL data: handle 41 flags 0x02 dlen 12
L2CAP(s): Disconn rsp: dcid 0x0055 scid 0x0041
> HCI Event: Max Slots Change (0x1b) plen 3
handle 41 slots 5
> HCI Event: Mode Change (0x14) plen 6
status 0x00 handle 41 mode 0x02 interval 200
Mode: Sniff
Brad Midgley wrote:
> Niv
>
>> I am attaching the whole diff between the mpg123 pipe to a2play that
>> works and the dump from xmms that doesnt.
>> also attaching the xmms output (23M open)
>
>> 11c11
>> < L2CAP(s): Connect req: psm 1 scid 0x0040
>> ---
>>
>>> L2CAP(s): Connect req: psm 25 scid 0x0040
>
> I haven't been able to dig in but something looks wrong already... isn't
> the correct code going to connect on psm 25 first for the commands and
> then on the detected psm (usually 1) later for the stream? Yet from what
> you've sent it looks like the working version connects to psm 1 first?
>
> If I read your diff wrong, then maybe it's just that the plugin
> incorrectly tries to go right to streaming without setting it up
> properly using the l2cap connection on psm 25.
>
> Brad
-------------------------------------------------------
This SF.Net email is sponsored by xPML, a groundbreaking scripting language
that extends applications into web and mobile media. Attend the live webcast
and join the prime developer group breaking into this new coding territory!
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=110944&bid=241720&dat=121642
_______________________________________________
Bluez-users mailing list
Bluez-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bluez-users
^ permalink raw reply [flat|nested] 5+ messages in thread
end of thread, other threads:[~2006-03-03 2:54 UTC | newest]
Thread overview: 5+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2006-02-23 16:22 [Bluez-users] A2DP alsa no sound Niv
2006-02-23 18:17 ` Brad Midgley
2006-02-25 23:59 ` Niv
[not found] ` <4400F1DE.5070804@cs.bgu.ac.il>
2006-02-27 8:28 ` Brad Midgley
2006-03-03 2:54 ` Niv
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).