Return-Path: Message-ID: <3837d8b10608010954l1cba6660g296de8379b2b8022@mail.gmail.com> Date: Tue, 1 Aug 2006 11:54:06 -0500 From: "keith preston" To: "BlueZ development" MIME-Version: 1.0 Subject: [Bluez-devel] Bluetooth Headset Error Reply-To: BlueZ development List-Id: BlueZ development List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Content-Type: multipart/mixed; boundary="===============0957249188==" Sender: bluez-devel-bounces@lists.sourceforge.net Errors-To: bluez-devel-bounces@lists.sourceforge.net --===============0957249188== Content-Type: multipart/alternative; boundary="----=_Part_47051_12241430.1154451246255" ------=_Part_47051_12241430.1154451246255 Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Content-Disposition: inline I have been working to try and get a bluetooth headset to work on my linux box and have run into a dead end with this error. I am running Ubuntu Dapper with the Linux Kernel 2.6.15.26. I have a dlink usb bluetooth dongle and logitech headset. Here are some outputs preston@ubuntu:~/bluetooth/btsco$ hciconfig -a hci0: Type: USB BD Address: 00:15:E9:69:EA:E7 ACL MTU: 192:8 SCO MTU: 64:8 UP RUNNING PSCAN ISCAN RX bytes:1734856 acl:36143 sco:0 events:134252 errors:0 TX bytes:34924881 acl:230286 sco:0 commands:695 errors:0 Features: 0xff 0xff 0x0f 0x00 0x00 0x00 0x00 0x00 Packet type: DM1 DM3 DM5 DH1 DH3 DH5 HV1 HV2 HV3 Link policy: RSWITCH HOLD SNIFF PARK Link mode: SLAVE ACCEPT Name: 'ubuntu-0' Class: 0x3e0100 Service Classes: Networking, Rendering, Capturing Device Class: Computer, Uncategorized HCI Ver: 1.1 (0x1) HCI Rev: 0x20d LMP Ver: 1.1 (0x1) LMP Subver: 0x20d Manufacturer: Cambridge Silicon Radio (10) preston@ubuntu:~/bluetooth/btsco$ sudo hciconfig hci0 revision hci0: Type: USB BD Address: 00:15:E9:69:EA:E7 ACL MTU: 192:8 SCO MTU: 64:8 HCI 16.4 Chip version: BlueCore02-External Max key size: 56 bit SCO mapping: HCI preston@ubuntu:~/bluetooth/btsco$ sudo hcitool info 00:0D:44:6F:C4:50 Requesting information ... BD Address: 00:0D:44:6F:C4:50 LMP Version: 1.2 (0x2) LMP Subversion: 0x3d Manufacturer: Zeevo, Inc. (18) Features: 0xff 0x07 0x00 0x78 0x18 0x18 0x00 0x00 <3-slot packets> <5-slot packets> preston@ubuntu:~/bluetooth/btsco$ sudo mpg123 --au - ~/music/throne.mp3 | ./a2play 00:0D:44:6F:C4:50 subbands = 8 blocks = 16 bitpool = 32 High Performance MPEG 1.0/2.0/2.5 Audio Player for Layer 1, 2 and 3. Version 0.59r (1999/Jun/15). Written and copyrights by Michael Hipp. Uses code from various people. See 'README' for more! THIS SOFTWARE COMES WITH ABSOLUTELY NO WARRANTY! USE AT YOUR OWN RISK! Directory: /home/preston/music/ Playing MPEG stream from throne.mp3 ... Junk at the beginning 49443303 MPEG 1.0 layer III, 128 kbit/s, 44100 Hz mono len=2048 Header size=32 Sample Rate:44100 Channels:1 Using address: 00:0D:44:6F:C4:50 Found A2DP Sink Found A2DP Sink at the destination Connected [imtu 672, omtu 672, flush_to 65535] Sent the Stream End Point Discovery Command Got a Stream End Point Discovery Response received 1 capabilities SEID = 1 Requested Capabilities for SEID = 1 Got capabilities response Sent set configurations command Set configurations command accepted Sent open stream command Got open stream confirm Connected [imtu 672, omtu 674, flush_to 65535] Sent stream start Got start stream confirm Listen thread running received signal 8 from set unexpected headset directive 8 write failed: Connection reset by peer error while receiving 2 /* This is the output during the a2play command */ preston@ubuntu:~/bluetooth/btsco$ sudo hcidump -X HCI sniffer - Bluetooth packet analyzer ver 1.28 device: hci0 snap_len: 1028 filter: 0xffffffff < HCI Command: Create Connection (0x01|0x0005) plen 13 0000: 50 c4 6f 44 0d 00 18 cc 02 00 00 00 01 P.oD......... > HCI Event: Command Status (0x0f) plen 4 0000: 00 01 05 04 .... > HCI Event: Role Change (0x12) plen 8 0000: 00 50 c4 6f 44 0d 00 01 .P.oD... > HCI Event: Link Key Request (0x17) plen 6 0000: 50 c4 6f 44 0d 00 P.oD.. < HCI Command: Link Key Request Reply (0x01|0x000b) plen 22 0000: 50 c4 6f 44 0d 00 45 d7 29 76 ea 4e c8 c6 d7 c1 P.oD..E.)v.N.... 0010: 51 7a a7 ff 62 3d Qz..b= > HCI Event: Command Complete (0x0e) plen 10 0000: 01 0b 04 00 50 c4 6f 44 0d 00 ....P.oD.. > HCI Event: Connect Complete (0x03) plen 11 0000: 00 2c 00 50 c4 6f 44 0d 00 01 00 .,.P.oD.... < ACL data: handle 44 flags 0x02 dlen 12 L2CAP(s): Connect req: psm 1 scid 0x0040 < HCI Command: Write Link Policy Settings (0x02|0x000d) plen 4 0000: 2c 00 0f 00 ,... > HCI Event: Page Scan Repetition Mode Change (0x20) plen 7 0000: 50 c4 6f 44 0d 00 01 P.oD... > HCI Event: Number of Completed Packets (0x13) plen 5 0000: 01 2c 00 01 00 .,... > HCI Event: Command Complete (0x0e) plen 6 0000: 01 0d 08 00 2c 00 ....,. < HCI Command: Remote Name Request (0x01|0x0019) plen 10 0000: 50 c4 6f 44 0d 00 01 00 00 00 P.oD...... > HCI Event: Max Slots Change (0x1b) plen 3 0000: 2c 00 05 ,.. > HCI Event: Command Status (0x0f) plen 4 0000: 00 01 19 04 .... < HCI Command: Remote Name Request (0x01|0x0019) plen 10 0000: 50 c4 6f 44 0d 00 01 00 00 00 P.oD...... > ACL data: handle 44 flags 0x02 dlen 16 L2CAP(s): Connect rsp: dcid 0x004f scid 0x0040 result 0 status 0 Connection successful < ACL data: handle 44 flags 0x02 dlen 12 L2CAP(s): Config req: dcid 0x004f flags 0x00 clen 0 > ACL data: handle 44 flags 0x02 dlen 12 L2CAP(s): Config req: dcid 0x0040 flags 0x00 clen 0 < ACL data: handle 44 flags 0x02 dlen 14 L2CAP(s): Config rsp: scid 0x004f flags 0x00 result 0 clen 0 Success > HCI Event: Number of Completed Packets (0x13) plen 5 0000: 01 2c 00 01 00 .,... > ACL data: handle 44 flags 0x02 dlen 14 L2CAP(s): Config rsp: scid 0x0040 flags 0x00 result 0 clen 0 Success > HCI Event: Number of Completed Packets (0x13) plen 5 0000: 01 2c 00 01 00 .,... < ACL data: handle 44 flags 0x02 dlen 24 L2CAP(d): cid 0x004f 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: Command Status (0x0f) plen 4 0000: 00 00 19 04 .... > HCI Event: Number of Completed Packets (0x13) plen 5 0000: 01 2c 00 01 00 .,... > ACL data: handle 44 flags 0x02 dlen 131 L2CAP(d): cid 0x0040 len 127 [psm 1] SDP SSA Rsp: tid 0x0 len 0x7a count 119 record #0 aid 0x0000 (SrvRecHndl) uint 0x1 aid 0x0001 (SrvClassIDList) < uuid-16 0x110b (AudioSink) > aid 0x0004 (ProtocolDescList) < < uuid-16 0x0100 (L2CAP) uint 0x19 > < uuid-16 0x0019 (AVDTP) uint 0x100 > > aid 0x0005 (BrwGrpList) < uuid-16 0x1002 (PubBrwsGrp) > aid 0x0006 (LangBaseAttrIDList) < uint 0x656e uint 0x6a uint 0x100 > aid 0x0009 (BTProfileDescList) < < uuid-16 0x110d (AdvAudio) uint 0x100 > > aid 0x0100 (SrvName) str "stereo headphone" aid 0x0102 (ProviderName) str "impulse" aid 0x0311 (unknown) uint 0x1 cont 00 < ACL data: handle 44 flags 0x02 dlen 24 L2CAP(d): cid 0x004f len 20 [psm 1] SDP SSA Req: tid 0x1 len 0xf pat uuid-16 0x1200 (PNPInfo) max 65535 aid(s) 0x0000 - 0xffff cont 00 > HCI Event: Number of Completed Packets (0x13) plen 5 0000: 01 2c 00 01 00 .,... > ACL data: handle 44 flags 0x02 dlen 14 L2CAP(d): cid 0x0040 len 10 [psm 1] SDP SSA Rsp: tid 0x1 len 0x5 count 2 cont 00 < ACL data: handle 44 flags 0x02 dlen 12 L2CAP(s): Disconn req: dcid 0x004f scid 0x0040 > HCI Event: Number of Completed Packets (0x13) plen 5 0000: 01 2c 00 01 00 .,... > ACL data: handle 44 flags 0x02 dlen 12 L2CAP(s): Disconn rsp: dcid 0x004f scid 0x0040 < ACL data: handle 44 flags 0x02 dlen 12 L2CAP(s): Connect req: psm 25 scid 0x0040 > HCI Event: Number of Completed Packets (0x13) plen 5 0000: 01 2c 00 01 00 .,... > ACL data: handle 44 flags 0x02 dlen 16 L2CAP(s): Connect rsp: dcid 0x0050 scid 0x0040 result 1 status 0 Connection pending - No futher information available > ACL data: handle 44 flags 0x02 dlen 16 L2CAP(s): Connect rsp: dcid 0x0050 scid 0x0040 result 0 status 0 Connection successful < ACL data: handle 44 flags 0x02 dlen 12 L2CAP(s): Config req: dcid 0x0050 flags 0x00 clen 0 > ACL data: handle 44 flags 0x02 dlen 12 L2CAP(s): Config req: dcid 0x0040 flags 0x00 clen 0 < ACL data: handle 44 flags 0x02 dlen 14 L2CAP(s): Config rsp: scid 0x0050 flags 0x00 result 0 clen 0 Success > HCI Event: Number of Completed Packets (0x13) plen 5 0000: 01 2c 00 01 00 .,... > ACL data: handle 44 flags 0x02 dlen 14 L2CAP(s): Config rsp: scid 0x0040 flags 0x00 result 0 clen 0 Success > HCI Event: Number of Completed Packets (0x13) plen 5 0000: 01 2c 00 01 00 .,... > ACL data: handle 44 flags 0x02 dlen 12 L2CAP(s): Connect req: psm 23 scid 0x0051 < ACL data: handle 44 flags 0x02 dlen 16 L2CAP(s): Connect rsp: dcid 0x0000 scid 0x0051 result 2 status 0 Connection refused - PSM not supported > ACL data: handle 44 flags 0x02 dlen 6 L2CAP(d): cid 0x0040 len 2 [psm 25] AVDTP(s): Discover cmd: transaction 0 > HCI Event: Number of Completed Packets (0x13) plen 5 0000: 01 2c 00 01 00 .,... < ACL data: handle 44 flags 0x02 dlen 6 L2CAP(d): cid 0x0050 len 2 [psm 25] AVDTP(s): Discover cmd: transaction 0 > HCI Event: Number of Completed Packets (0x13) plen 5 0000: 01 2c 00 01 00 .,... > ACL data: handle 44 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 44 flags 0x02 dlen 7 L2CAP(d): cid 0x0050 len 3 [psm 25] AVDTP(s): Capabilities cmd: transaction 1 ACP SEID 1 > ACL data: handle 44 flags 0x02 dlen 20 L2CAP(d): cid 0x0040 len 16 [psm 25] AVDTP(s): Capabilities rsp: transaction 1 Media Transport Media Codec - SBC 44.1kHz 48kHz Mono DualChannel Stereo JointStereo 4 8 12 16 Blocks 4 8 Subbands SNR Loudness Bitpool Range 20-58 Content Protection 02 00 > HCI Event: Remote Name Req Complete (0x07) plen 255 0000: 00 50 c4 6f 44 0d 00 42 54 2d 48 65 61 64 70 68 .P.oD..BT-Headph 0010: 6f 6e 65 00 00 00 00 00 00 00 00 00 00 00 00 00 one............. 0020: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 ................ 0030: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 ................ 0040: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 ................ 0050: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 ................ 0060: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 ................ 0070: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 ................ 0080: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 ................ 0090: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 ................ 00a0: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 ................ 00b0: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 ................ 00c0: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 ................ 00d0: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 ................ 00e0: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 ................ 00f0: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 ............... < ACL data: handle 44 flags 0x02 dlen 18 L2CAP(d): cid 0x0050 len 14 [psm 25] AVDTP(s): Set config cmd: transaction 2 ACP SEID 1 - INT SEID 1 Media Transport Media Codec - SBC 44.1kHz Mono 16 Blocks 8 Subbands SNR Bitpool Range 20-58 > HCI Event: Number of Completed Packets (0x13) plen 5 0000: 01 2c 00 01 00 .,... > HCI Event: Command Status (0x0f) plen 4 0000: 00 01 00 00 .... > HCI Event: Number of Completed Packets (0x13) plen 5 0000: 01 2c 00 01 00 .,... > ACL data: handle 44 flags 0x02 dlen 6 L2CAP(d): cid 0x0040 len 2 [psm 25] AVDTP(s): Set config rsp: transaction 2 < ACL data: handle 44 flags 0x02 dlen 7 L2CAP(d): cid 0x0050 len 3 [psm 25] AVDTP(s): Open cmd: transaction 3 ACP SEID 1 > HCI Event: Number of Completed Packets (0x13) plen 5 0000: 01 2c 00 01 00 .,... > ACL data: handle 44 flags 0x02 dlen 6 L2CAP(d): cid 0x0040 len 2 [psm 25] AVDTP(s): Open rsp: transaction 3 < ACL data: handle 44 flags 0x02 dlen 12 L2CAP(s): Connect req: psm 25 scid 0x0041 > ACL data: handle 44 flags 0x02 dlen 16 L2CAP(s): Connect rsp: dcid 0x0052 scid 0x0041 result 1 status 0 Connection pending - No futher information available > ACL data: handle 44 flags 0x02 dlen 16 L2CAP(s): Connect rsp: dcid 0x0052 scid 0x0041 result 0 status 0 Connection successful < ACL data: handle 44 flags 0x02 dlen 12 L2CAP(s): Config req: dcid 0x0052 flags 0x00 clen 0 > ACL data: handle 44 flags 0x02 dlen 16 L2CAP(s): Config req: dcid 0x0041 flags 0x00 clen 4 MTU 674 < ACL data: handle 44 flags 0x02 dlen 14 L2CAP(s): Config rsp: scid 0x0052 flags 0x00 result 0 clen 0 Success > ACL data: handle 44 flags 0x02 dlen 14 L2CAP(s): Config rsp: scid 0x0041 flags 0x00 result 0 clen 0 Success < ACL data: handle 44 flags 0x02 dlen 7 L2CAP(d): cid 0x0050 len 3 [psm 25] AVDTP(s): Start cmd: transaction 4 ACP SEID 1 > HCI Event: Remote Name Req Complete (0x07) plen 255 0000: 00 50 c4 6f 44 0d 00 42 54 2d 48 65 61 64 70 68 .P.oD..BT-Headph 0010: 6f 6e 65 00 00 00 00 00 00 00 00 00 00 00 00 00 one............. 0020: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 ................ 0030: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 ................ 0040: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 ................ 0050: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 ................ 0060: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 ................ 0070: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 ................ 0080: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 ................ 0090: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 ................ 00a0: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 ................ 00b0: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 ................ 00c0: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 ................ 00d0: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 ................ 00e0: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 ................ 00f0: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 ............... > HCI Event: Number of Completed Packets (0x13) plen 5 0000: 01 2c 00 01 00 .,... > HCI Event: Number of Completed Packets (0x13) plen 5 0000: 01 2c 00 01 00 .,... > HCI Event: Number of Completed Packets (0x13) plen 5 0000: 01 2c 00 01 00 .,... > HCI Event: Number of Completed Packets (0x13) plen 5 0000: 01 2c 00 01 00 .,... > ACL data: handle 44 flags 0x02 dlen 12 L2CAP(s): Connect req: psm 23 scid 0x0053 < ACL data: handle 44 flags 0x02 dlen 16 L2CAP(s): Connect rsp: dcid 0x0000 scid 0x0053 result 2 status 0 Connection refused - PSM not supported > ACL data: handle 44 flags 0x02 dlen 6 L2CAP(d): cid 0x0040 len 2 [psm 25] AVDTP(s): Start rsp: transaction 4 > ACL data: handle 44 flags 0x02 dlen 7 L2CAP(d): cid 0x0040 len 3 [psm 25] AVDTP(s): Close cmd: transaction 1 ACP SEID 1 > HCI Event: Number of Completed Packets (0x13) plen 5 0000: 01 2c 00 01 00 .,... < ACL data: handle 44 flags 0x02 dlen 6 L2CAP(d): cid 0x0050 len 2 [psm 25] AVDTP(s): Close rsp: transaction 1 > ACL data: handle 44 flags 0x02 dlen 12 L2CAP(s): Disconn req: dcid 0x0041 scid 0x0052 > HCI Event: Number of Completed Packets (0x13) plen 5 0000: 01 2c 00 01 00 .,... < ACL data: handle 44 flags 0x02 dlen 12 L2CAP(s): Disconn rsp: dcid 0x0041 scid 0x0052 > ACL data: handle 44 flags 0x02 dlen 6 L2CAP(d): cid 0x0040 len 2 [psm 25] AVDTP(s): Discover cmd: transaction 2 > HCI Event: Number of Completed Packets (0x13) plen 5 0000: 01 2c 00 01 00 .,... > ACL data: handle 44 flags 0x02 dlen 12 L2CAP(s): Disconn req: dcid 0x0040 scid 0x0050 < ACL data: handle 44 flags 0x02 dlen 12 L2CAP(s): Disconn rsp: dcid 0x0040 scid 0x0050 > HCI Event: Number of Completed Packets (0x13) plen 5 0000: 01 2c 00 01 00 .,... > HCI Event: Disconn Complete (0x05) plen 4 0000: 00 2c 00 13 .,.. Keith Preston ------=_Part_47051_12241430.1154451246255 Content-Type: text/html; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit Content-Disposition: inline I have been working to try and get a bluetooth headset to work on my linux box and have run into a dead end with this error.  I am running Ubuntu Dapper with the Linux Kernel 2.6.15.26.  I have a dlink usb bluetooth dongle and logitech headset. Here are some outputs

preston@ubuntu:~/bluetooth/btsco$ hciconfig -a
hci0:   Type: USB
        BD Address: 00:15:E9:69:EA:E7 ACL MTU: 192:8 SCO MTU: 64:8
        UP RUNNING PSCAN ISCAN
        RX bytes:1734856 acl:36143 sco:0 events:134252 errors:0
        TX bytes:34924881 acl:230286 sco:0 commands:695 errors:0
        Features: 0xff 0xff 0x0f 0x00 0x00 0x00 0x00 0x00
        Packet type: DM1 DM3 DM5 DH1 DH3 DH5 HV1 HV2 HV3
        Link policy: RSWITCH HOLD SNIFF PARK
        Link mode: SLAVE ACCEPT
        Name: 'ubuntu-0'
        Class: 0x3e0100
        Service Classes: Networking, Rendering, Capturing
        Device Class: Computer, Uncategorized
        HCI Ver: 1.1 (0x1) HCI Rev: 0x20d LMP Ver: 1.1 (0x1) LMP Subver:
0x20d
        Manufacturer: Cambridge Silicon Radio (10)

preston@ubuntu:~/bluetooth/btsco$ sudo hciconfig hci0 revision
hci0:   Type: USB
        BD Address: 00:15:E9:69:EA:E7 ACL MTU: 192:8 SCO MTU: 64:8
        HCI 16.4
        Chip version: BlueCore02-External
        Max key size: 56 bit
        SCO mapping:  HCI

preston@ubuntu:~/bluetooth/btsco$ sudo hcitool info 00:0D:44:6F:C4:50 Requesting information ...
        BD Address:  00:0D:44:6F:C4:50
        LMP Version: 1.2 (0x2) LMP Subversion: 0x3d
        Manufacturer: Zeevo, Inc. (18)
        Features: 0xff 0x07 0x00 0x78 0x18 0x18 0x00 0x00
                <3-slot packets> <5-slot packets> <encryption> <slot offset>
                <timing accuracy> <role switch> <hold mode> <sniff mode>
                <park state> <RSSI> <channel quality> <enhanced iscan>
                <interlaced iscan> <interlaced pscan> <inquiry with RSSI>
                <AFH cap. slave> <AFH class. slave> <AFH cap. master>
                <AFH class. master>

preston@ubuntu:~/bluetooth/btsco$ sudo mpg123 --au - ~/music/throne.mp3
| ./a2play 00:0D:44:6F:C4:50
subbands = 8 blocks = 16 bitpool = 32
High Performance MPEG 1.0/2.0/2.5 Audio Player for Layer 1, 2 and 3.
Version 0.59r (1999/Jun/15). Written and copyrights by Michael Hipp.
Uses code from various people. See 'README' for more!
THIS SOFTWARE COMES WITH ABSOLUTELY NO WARRANTY! USE AT YOUR OWN RISK!

Directory: /home/preston/music/
Playing MPEG stream from throne.mp3 ...
Junk at the beginning 49443303
MPEG 1.0 layer III, 128 kbit/s, 44100 Hz mono
len=2048
Header size=32
Sample Rate:44100
Channels:1
Using address: 00:0D:44:6F:C4:50
Found A2DP Sink
Found A2DP Sink at the destination
Connected [imtu 672, omtu 672, flush_to 65535]
Sent the Stream End Point Discovery Command
Got a Stream End Point Discovery Response
received 1 capabilities
SEID = 1
Requested Capabilities for SEID = 1
Got capabilities response Sent set configurations command
Set configurations command accepted
Sent open stream command
Got open stream confirm
Connected [imtu 672, omtu 674, flush_to 65535]
Sent stream start
Got start stream confirm
Listen thread running
received signal 8 from set
unexpected headset directive 8
write failed: Connection reset by peer
error while receiving 2


/*  This is the output during the a2play command */
preston@ubuntu:~/bluetooth/btsco$ sudo hcidump -X HCI sniffer - Bluetooth packet analyzer ver 1.28
device: hci0 snap_len: 1028 filter: 0xffffffff < HCI Command: Create Connection (0x01|0x0005) plen 13
  0000: 50 c4 6f 44 0d 00 18 cc  02 00 00 00 01           P.oD.........
 > HCI Event: Command Status (0x0f) plen 4
  0000: 00 01 05 04                                       ....
 > HCI Event: Role Change (0x12) plen 8
  0000: 00 50 c4 6f 44 0d 00 01                           .P.oD...
 > HCI Event: Link Key Request (0x17) plen 6
  0000: 50 c4 6f 44 0d 00                                 P.oD..
< HCI Command: Link Key Request Reply (0x01|0x000b) plen 22
  0000: 50 c4 6f 44 0d 00 45 d7  29 76 ea 4e c8 c6 d7 c1  P.oD..E.)v.N....
  0010: 51 7a a7 ff 62 3d                                 Qz..b=
 > HCI Event: Command Complete (0x0e) plen 10
  0000: 01 0b 04 00 50 c4 6f 44  0d 00                    ....P.oD..
 > HCI Event: Connect Complete (0x03) plen 11
  0000: 00 2c 00 50 c4 6f 44 0d  00 01 00                 .,.P.oD....
< ACL data: handle 44 flags 0x02 dlen 12
    L2CAP(s): Connect req: psm 1 scid 0x0040 < HCI Command: Write Link Policy Settings (0x02|0x000d) plen 4
  0000: 2c 00 0f 00                                       ,...
 > HCI Event: Page Scan Repetition Mode Change (0x20) plen 7
  0000: 50 c4 6f 44 0d 00 01                              P.oD...
 > HCI Event: Number of Completed Packets (0x13) plen 5
  0000: 01 2c 00 01 00                                    .,...
 > HCI Event: Command Complete (0x0e) plen 6
  0000: 01 0d 08 00 2c 00                                 ....,.
< HCI Command: Remote Name Request (0x01|0x0019) plen 10
  0000: 50 c4 6f 44 0d 00 01 00  00 00                    P.oD......
 > HCI Event: Max Slots Change (0x1b) plen 3
  0000: 2c 00 05                                          ,..
 > HCI Event: Command Status (0x0f) plen 4
  0000: 00 01 19 04                                       ....
< HCI Command: Remote Name Request (0x01|0x0019) plen 10
  0000: 50 c4 6f 44 0d 00 01 00  00 00                    P.oD......
 > ACL data: handle 44 flags 0x02 dlen 16
    L2CAP(s): Connect rsp: dcid 0x004f scid 0x0040 result 0 status 0
      Connection successful
< ACL data: handle 44 flags 0x02 dlen 12
    L2CAP(s): Config req: dcid 0x004f flags 0x00 clen 0  > ACL data: handle 44 flags 0x02 dlen 12
    L2CAP(s): Config req: dcid 0x0040 flags 0x00 clen 0 < ACL data: handle 44 flags 0x02 dlen 14
    L2CAP(s): Config rsp: scid 0x004f flags 0x00 result 0 clen 0
      Success
 > HCI Event: Number of Completed Packets (0x13) plen 5
  0000: 01 2c 00 01 00                                    .,...
 > ACL data: handle 44 flags 0x02 dlen 14
    L2CAP(s): Config rsp: scid 0x0040 flags 0x00 result 0 clen 0
      Success
 > HCI Event: Number of Completed Packets (0x13) plen 5
  0000: 01 2c 00 01 00                                    .,...
< ACL data: handle 44 flags 0x02 dlen 24
    L2CAP(d): cid 0x004f 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: Command Status (0x0f) plen 4
  0000: 00 00 19 04                                       ....
 > HCI Event: Number of Completed Packets (0x13) plen 5
  0000: 01 2c 00 01 00                                    .,...
 > ACL data: handle 44 flags 0x02 dlen 131
    L2CAP(d): cid 0x0040 len 127 [psm 1]
        SDP SSA Rsp: tid 0x0 len 0x7a
          count 119
          record #0
              aid 0x0000 (SrvRecHndl)
                 uint 0x1
              aid 0x0001 (SrvClassIDList)
                 < uuid-16 0x110b (AudioSink) >
              aid 0x0004 (ProtocolDescList)
                 < < uuid-16 0x0100 (L2CAP) uint 0x19 > <
                 uuid-16 0x0019 (AVDTP) uint 0x100 > >
              aid 0x0005 (BrwGrpList)
                 < uuid-16 0x1002 (PubBrwsGrp) >
              aid 0x0006 (LangBaseAttrIDList)
                 < uint 0x656e uint 0x6a uint 0x100 >
              aid 0x0009 (BTProfileDescList)
                 < < uuid-16 0x110d (AdvAudio) uint 0x100 > >
              aid 0x0100 (SrvName)
                 str "stereo headphone"
              aid 0x0102 (ProviderName)
                 str "impulse"
              aid 0x0311 (unknown)
                 uint 0x1
          cont 00
< ACL data: handle 44 flags 0x02 dlen 24
    L2CAP(d): cid 0x004f len 20 [psm 1]
        SDP SSA Req: tid 0x1 len 0xf
          pat uuid-16 0x1200 (PNPInfo)
          max 65535
          aid(s) 0x0000 - 0xffff
          cont 00
 > HCI Event: Number of Completed Packets (0x13) plen 5
  0000: 01 2c 00 01 00                                    .,...
 > ACL data: handle 44 flags 0x02 dlen 14
    L2CAP(d): cid 0x0040 len 10 [psm 1]
        SDP SSA Rsp: tid 0x1 len 0x5
          count 2
          cont 00
< ACL data: handle 44 flags 0x02 dlen 12
    L2CAP(s): Disconn req: dcid 0x004f scid 0x0040  > HCI Event: Number of Completed Packets (0x13) plen 5
  0000: 01 2c 00 01 00                                    .,...
 > ACL data: handle 44 flags 0x02 dlen 12
    L2CAP(s): Disconn rsp: dcid 0x004f scid 0x0040 < ACL data: handle 44 flags 0x02 dlen 12
    L2CAP(s): Connect req: psm 25 scid 0x0040  > HCI Event: Number of Completed Packets (0x13) plen 5
  0000: 01 2c 00 01 00                                    .,...
 > ACL data: handle 44 flags 0x02 dlen 16
    L2CAP(s): Connect rsp: dcid 0x0050 scid 0x0040 result 1 status 0
      Connection pending - No futher information available  > ACL data: handle 44 flags 0x02 dlen 16
    L2CAP(s): Connect rsp: dcid 0x0050 scid 0x0040 result 0 status 0
      Connection successful
< ACL data: handle 44 flags 0x02 dlen 12
    L2CAP(s): Config req: dcid 0x0050 flags 0x00 clen 0  > ACL data: handle 44 flags 0x02 dlen 12
    L2CAP(s): Config req: dcid 0x0040 flags 0x00 clen 0 < ACL data: handle 44 flags 0x02 dlen 14
    L2CAP(s): Config rsp: scid 0x0050 flags 0x00 result 0 clen 0
      Success
 > HCI Event: Number of Completed Packets (0x13) plen 5
  0000: 01 2c 00 01 00                                    .,...
 > ACL data: handle 44 flags 0x02 dlen 14
    L2CAP(s): Config rsp: scid 0x0040 flags 0x00 result 0 clen 0
      Success
 > HCI Event: Number of Completed Packets (0x13) plen 5
  0000: 01 2c 00 01 00                                    .,...
 > ACL data: handle 44 flags 0x02 dlen 12
    L2CAP(s): Connect req: psm 23 scid 0x0051 < ACL data: handle 44 flags 0x02 dlen 16
    L2CAP(s): Connect rsp: dcid 0x0000 scid 0x0051 result 2 status 0
      Connection refused - PSM not supported  > ACL data: handle 44 flags 0x02 dlen 6
    L2CAP(d): cid 0x0040 len 2 [psm 25]
      AVDTP(s): Discover cmd: transaction 0  > HCI Event: Number of Completed Packets (0x13) plen 5
  0000: 01 2c 00 01 00                                    .,...
< ACL data: handle 44 flags 0x02 dlen 6
    L2CAP(d): cid 0x0050 len 2 [psm 25]
      AVDTP(s): Discover cmd: transaction 0  > HCI Event: Number of Completed Packets (0x13) plen 5
  0000: 01 2c 00 01 00                                    .,...
 > ACL data: handle 44 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 44 flags 0x02 dlen 7
    L2CAP(d): cid 0x0050 len 3 [psm 25]
      AVDTP(s): Capabilities cmd: transaction 1
        ACP SEID 1
 > ACL data: handle 44 flags 0x02 dlen 20
    L2CAP(d): cid 0x0040 len 16 [psm 25]
      AVDTP(s): Capabilities rsp: transaction 1
        Media Transport
        Media Codec - SBC
          44.1kHz 48kHz
          Mono DualChannel Stereo JointStereo
          4 8 12 16 Blocks
          4 8 Subbands
          SNR Loudness
          Bitpool Range 20-58
        Content Protection
          02 00
 > HCI Event: Remote Name Req Complete (0x07) plen 255
  0000: 00 50 c4 6f 44 0d 00 42  54 2d 48 65 61 64 70 68  .P.oD..BT-Headph
  0010: 6f 6e 65 00 00 00 00 00  00 00 00 00 00 00 00 00  one.............
  0020: 00 00 00 00 00 00 00 00  00 00 00 00 00 00 00 00  ................
  0030: 00 00 00 00 00 00 00 00  00 00 00 00 00 00 00 00  ................
  0040: 00 00 00 00 00 00 00 00  00 00 00 00 00 00 00 00  ................
  0050: 00 00 00 00 00 00 00 00  00 00 00 00 00 00 00 00  ................
  0060: 00 00 00 00 00 00 00 00  00 00 00 00 00 00 00 00  ................
  0070: 00 00 00 00 00 00 00 00  00 00 00 00 00 00 00 00  ................
  0080: 00 00 00 00 00 00 00 00  00 00 00 00 00 00 00 00  ................
  0090: 00 00 00 00 00 00 00 00  00 00 00 00 00 00 00 00  ................
  00a0: 00 00 00 00 00 00 00 00  00 00 00 00 00 00 00 00  ................
  00b0: 00 00 00 00 00 00 00 00  00 00 00 00 00 00 00 00  ................
  00c0: 00 00 00 00 00 00 00 00  00 00 00 00 00 00 00 00  ................
  00d0: 00 00 00 00 00 00 00 00  00 00 00 00 00 00 00 00  ................
  00e0: 00 00 00 00 00 00 00 00  00 00 00 00 00 00 00 00  ................
  00f0: 00 00 00 00 00 00 00 00  00 00 00 00 00 00 00     ...............
< ACL data: handle 44 flags 0x02 dlen 18
    L2CAP(d): cid 0x0050 len 14 [psm 25]
      AVDTP(s): Set config cmd: transaction 2
        ACP SEID 1 - INT SEID 1
        Media Transport
        Media Codec - SBC
          44.1kHz
          Mono
          16 Blocks
          8 Subbands
          SNR
          Bitpool Range 20-58
 > HCI Event: Number of Completed Packets (0x13) plen 5
  0000: 01 2c 00 01 00                                    .,...
 > HCI Event: Command Status (0x0f) plen 4
  0000: 00 01 00 00                                       ....
 > HCI Event: Number of Completed Packets (0x13) plen 5
  0000: 01 2c 00 01 00                                    .,...
 > ACL data: handle 44 flags 0x02 dlen 6
    L2CAP(d): cid 0x0040 len 2 [psm 25]
      AVDTP(s): Set config rsp: transaction 2 < ACL data: handle 44 flags 0x02 dlen 7
    L2CAP(d): cid 0x0050 len 3 [psm 25]
      AVDTP(s): Open cmd: transaction 3
        ACP SEID 1
 > HCI Event: Number of Completed Packets (0x13) plen 5
  0000: 01 2c 00 01 00                                    .,...
 > ACL data: handle 44 flags 0x02 dlen 6
    L2CAP(d): cid 0x0040 len 2 [psm 25]
      AVDTP(s): Open rsp: transaction 3
< ACL data: handle 44 flags 0x02 dlen 12
    L2CAP(s): Connect req: psm 25 scid 0x0041  > ACL data: handle 44 flags 0x02 dlen 16
    L2CAP(s): Connect rsp: dcid 0x0052 scid 0x0041 result 1 status 0
      Connection pending - No futher information available  > ACL data: handle 44 flags 0x02 dlen 16
    L2CAP(s): Connect rsp: dcid 0x0052 scid 0x0041 result 0 status 0
      Connection successful
< ACL data: handle 44 flags 0x02 dlen 12
    L2CAP(s): Config req: dcid 0x0052 flags 0x00 clen 0  > ACL data: handle 44 flags 0x02 dlen 16
    L2CAP(s): Config req: dcid 0x0041 flags 0x00 clen 4
      MTU 674
< ACL data: handle 44 flags 0x02 dlen 14
    L2CAP(s): Config rsp: scid 0x0052 flags 0x00 result 0 clen 0
      Success
 > ACL data: handle 44 flags 0x02 dlen 14
    L2CAP(s): Config rsp: scid 0x0041 flags 0x00 result 0 clen 0
      Success
< ACL data: handle 44 flags 0x02 dlen 7
    L2CAP(d): cid 0x0050 len 3 [psm 25]
      AVDTP(s): Start cmd: transaction 4
        ACP SEID 1
 > HCI Event: Remote Name Req Complete (0x07) plen 255
  0000: 00 50 c4 6f 44 0d 00 42  54 2d 48 65 61 64 70 68  .P.oD..BT-Headph
  0010: 6f 6e 65 00 00 00 00 00  00 00 00 00 00 00 00 00  one.............
  0020: 00 00 00 00 00 00 00 00  00 00 00 00 00 00 00 00  ................
  0030: 00 00 00 00 00 00 00 00  00 00 00 00 00 00 00 00  ................
  0040: 00 00 00 00 00 00 00 00  00 00 00 00 00 00 00 00  ................
  0050: 00 00 00 00 00 00 00 00  00 00 00 00 00 00 00 00  ................
  0060: 00 00 00 00 00 00 00 00  00 00 00 00 00 00 00 00  ................
  0070: 00 00 00 00 00 00 00 00  00 00 00 00 00 00 00 00  ................
  0080: 00 00 00 00 00 00 00 00  00 00 00 00 00 00 00 00  ................
  0090: 00 00 00 00 00 00 00 00  00 00 00 00 00 00 00 00  ................
  00a0: 00 00 00 00 00 00 00 00  00 00 00 00 00 00 00 00  ................
  00b0: 00 00 00 00 00 00 00 00  00 00 00 00 00 00 00 00  ................
  00c0: 00 00 00 00 00 00 00 00  00 00 00 00 00 00 00 00  ................
  00d0: 00 00 00 00 00 00 00 00  00 00 00 00 00 00 00 00  ................
  00e0: 00 00 00 00 00 00 00 00  00 00 00 00 00 00 00 00  ................
  00f0: 00 00 00 00 00 00 00 00  00 00 00 00 00 00 00     ...............
 > HCI Event: Number of Completed Packets (0x13) plen 5
  0000: 01 2c 00 01 00                                    .,...
 > HCI Event: Number of Completed Packets (0x13) plen 5
  0000: 01 2c 00 01 00                                    .,...
 > HCI Event: Number of Completed Packets (0x13) plen 5
  0000: 01 2c 00 01 00                                    .,...
 > HCI Event: Number of Completed Packets (0x13) plen 5
  0000: 01 2c 00 01 00                                    .,...
 > ACL data: handle 44 flags 0x02 dlen 12
    L2CAP(s): Connect req: psm 23 scid 0x0053 < ACL data: handle 44 flags 0x02 dlen 16
    L2CAP(s): Connect rsp: dcid 0x0000 scid 0x0053 result 2 status 0
      Connection refused - PSM not supported  > ACL data: handle 44 flags 0x02 dlen 6
    L2CAP(d): cid 0x0040 len 2 [psm 25]
      AVDTP(s): Start rsp: transaction 4  > ACL data: handle 44 flags 0x02 dlen 7
    L2CAP(d): cid 0x0040 len 3 [psm 25]
      AVDTP(s): Close cmd: transaction 1
        ACP SEID 1
 > HCI Event: Number of Completed Packets (0x13) plen 5
  0000: 01 2c 00 01 00                                    .,...
< ACL data: handle 44 flags 0x02 dlen 6
    L2CAP(d): cid 0x0050 len 2 [psm 25]
      AVDTP(s): Close rsp: transaction 1  > ACL data: handle 44 flags 0x02 dlen 12
    L2CAP(s): Disconn req: dcid 0x0041 scid 0x0052  > HCI Event: Number of Completed Packets (0x13) plen 5
  0000: 01 2c 00 01 00                                    .,...
< ACL data: handle 44 flags 0x02 dlen 12
    L2CAP(s): Disconn rsp: dcid 0x0041 scid 0x0052  > ACL data: handle 44 flags 0x02 dlen 6
    L2CAP(d): cid 0x0040 len 2 [psm 25]
      AVDTP(s): Discover cmd: transaction 2  > HCI Event: Number of Completed Packets (0x13) plen 5
  0000: 01 2c 00 01 00                                    .,...
 > ACL data: handle 44 flags 0x02 dlen 12
    L2CAP(s): Disconn req: dcid 0x0040 scid 0x0050 < ACL data: handle 44 flags 0x02 dlen 12
    L2CAP(s): Disconn rsp: dcid 0x0040 scid 0x0050  > HCI Event: Number of Completed Packets (0x13) plen 5
  0000: 01 2c 00 01 00                                    .,...
 > HCI Event: Disconn Complete (0x05) plen 4
  0000: 00 2c 00 13                                       .,..



Keith Preston




------=_Part_47051_12241430.1154451246255-- --===============0957249188== Content-Type: text/plain; charset="us-ascii" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Content-Disposition: inline ------------------------------------------------------------------------- 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 --===============0957249188== Content-Type: text/plain; charset="us-ascii" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Content-Disposition: inline _______________________________________________ Bluez-devel mailing list Bluez-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/bluez-devel --===============0957249188==--