[pulseaudio-discuss] Assertion '(size_t) decoded == a2dp->frame_length' failed at modules/bluetooth/module-bluetooth-device

h.patil at accenture.com h.patil at accenture.com
Thu May 19 04:35:35 PDT 2011


Hi Luiz,
             Thanks a lot for you reply, please find the below hcidump output
/home # ./hcidump -x
HCI sniffer - Bluetooth packet analyzer ver 2.0
device: hci0 snap_len: 1028 filter: 0xffffffff
> HCI Event: Vendor (0xff) plen 3
  CF 07 78
> HCI Event: Vendor (0xff) plen 3
  CF 06 F9
< HCI Command: Write Scan Enable (0x03|0x001a) plen 1
    enable 2
> HCI Event: Command Complete (0x0e) plen 4
    Write Scan Enable (0x03|0x001a) ncmd 2
    status 0x00
< HCI Command: Read Scan Enable (0x03|0x0019) plen 0
> HCI Event: Command Complete (0x0e) plen 5
    Read Scan Enable (0x03|0x0019) ncmd 2
    status 0x00 enable 2
< HCI Command: Write Scan Enable (0x03|0x001a) plen 1
    enable 1
< HCI Command: Write Scan Enable (0x03|0x001a) plen 1
    enable 3
> HCI Event: Command Complete (0x0e) plen 4
    Write Scan Enable (0x03|0x001a) ncmd 2
    status 0x00
< HCI Command: Read Scan Enable (0x03|0x0019) plen 0
> HCI Event: Command Complete (0x0e) plen 5
    Read Scan Enable (0x03|0x0019) ncmd 2
    status 0x00 enable 3
> HCI Event: Vendor (0xff) plen 3
  CF 07 78
> HCI Event: Vendor (0xff) plen 3
  CF 06 F9
< HCI Command: Create Connection (0x01|0x0005) plen 13
    bdaddr C8:DF:7C:24:27:21 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 0x04 handle 65535 bdaddr C8:DF:7C:24:27:21 type ACL encrypt 0x00
    Error: Page Timeout
> HCI Event: Vendor (0xff) plen 3
  CF 07 78
< HCI Command: Create Connection (0x01|0x0005) plen 13
    bdaddr C8:DF:7C:24:27:21 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 256 bdaddr C8:DF:7C:24:27:21 type ACL encrypt 0x00
< HCI Command: Read Remote Supported Features (0x01|0x001b) plen 2
    handle 256
> HCI Event: Command Status (0x0f) plen 4
    Read Remote Supported Features (0x01|0x001b) status 0x00 ncmd 1
> HCI Event: Max Slots Change (0x1b) plen 3
    handle 256 slots 5
> HCI Event: Read Remote Supported Features (0x0b) plen 11
    status 0x00 handle 256
    Features: 0xbf 0xee 0x0f 0x4e 0x98 0x19 0x00 0x00
< HCI Command: Authentication Requested (0x01|0x0011) plen 2
    handle 256
> HCI Event: Command Status (0x0f) plen 4
    Authentication Requested (0x01|0x0011) status 0x00 ncmd 1
> HCI Event: Link Key Request (0x17) plen 6
    bdaddr C8:DF:7C:24:27:21
< HCI Command: Link Key Request Negative Reply (0x01|0x000c) plen 6
    bdaddr C8:DF:7C:24:27:21
> HCI Event: Command Complete (0x0e) plen 10
    Link Key Request Negative Reply (0x01|0x000c) ncmd 1
    status 0x00 bdaddr C8:DF:7C:24:27:21
> HCI Event: PIN Code Request (0x16) plen 6
    bdaddr C8:DF:7C:24:27:21
< HCI Command: PIN Code Request Reply (0x01|0x000d) plen 23
    bdaddr C8:DF:7C:24:27:21 len 4 pin '1111'
> HCI Event: Command Complete (0x0e) plen 10
    PIN Code Request Reply (0x01|0x000d) ncmd 1
    status 0x00 bdaddr C8:DF:7C:24:27:21
> HCI Event: Link Key Notification (0x18) plen 23
    bdaddr C8:DF:7C:24:27:21 key DF6EC334B7940662BB567316DAEA93FF type 0
    Type: Combination Key
> HCI Event: Auth Complete (0x06) plen 3
    status 0x00 handle 256
< ACL data: handle 256 flags 0x00 dlen 10
    06 00 01 00 0A 01 02 00 02 00
> HCI Event: Number of Completed Packets (0x13) plen 5
    handle 256 packets 1
> ACL data: handle 256 flags 0x02 dlen 16
    L2CAP(s): Info rsp: type 2 result 0
      Extended feature mask 0x0003
        Flow control mode
        Retransmission mode
< ACL data: handle 256 flags 0x00 dlen 12
    08 00 01 00 02 02 04 00 01 00 40 00
> HCI Event: Number of Completed Packets (0x13) plen 5
    handle 256 packets 1
> ACL data: handle 256 flags 0x02 dlen 28
    L2CAP(s): Connect rsp: dcid 0x0040 scid 0x0040 result 1 status 2
      Connection pending - Authorization pending
    L2CAP(s): Connect rsp: dcid 0x0040 scid 0x0040 result 0 status 0
      Connection successful
> ACL data: handle 256 flags 0x02 dlen 10
    L2CAP(s): Info req: type 2
< ACL data: handle 256 flags 0x00 dlen 12
    08 00 01 00 04 03 04 00 40 00 00 00
< ACL data: handle 256 flags 0x00 dlen 16
    0C 00 01 00 0B 01 08 00 02 00 00 00 B8 00 00 00
> HCI Event: Number of Completed Packets (0x13) plen 5
    handle 256 packets 1
> HCI Event: Number of Completed Packets (0x13) plen 5
    handle 256 packets 1
> ACL data: handle 256 flags 0x02 dlen 18
    L2CAP(s): Config rsp: scid 0x0040 flags 0x00 result 0 clen 4
      MTU 672
> ACL data: handle 256 flags 0x02 dlen 16
    L2CAP(s): Config req: dcid 0x0040 flags 0x00 clen 4
      MTU 65535
< ACL data: handle 256 flags 0x00 dlen 18
    0E 00 01 00 05 02 0A 00 40 00 00 00 00 00 01 02 FF FF
< ACL data: handle 256 flags 0x00 dlen 24
    14 00 40 00 06 00 00 00 0F 35 03 19 01 00 FF FF 35 05 0A 00
    00 FF FF 00
> HCI Event: Number of Completed Packets (0x13) plen 5
    handle 256 packets 1
> HCI Event: Number of Completed Packets (0x13) plen 5
    handle 256 packets 1
> ACL data: handle 256 flags 0x02 dlen 344
> ACL data: handle 256 flags 0x01 dlen 332
    L2CAP(d): cid 0x0040 len 672 [psm 0]
      07 00 00 02 9B 02 8E 36 07 8C 35 B3 09 00 00 0A 00 00 00 00
      09 00 01 35 03 19 10 00 09 00 02 0A 00 00 00 E3 09 00 04 35
      05 35 03 19 01 00 09 00 05 35 03 19 10 00 09 00 06 35 09 09
      65 6E 09 00 6A 09 01 00 09 00 07 0A 00 00 04 B0 09 00 08 08
      FF 09 01 00 25 0A 53 44 50 20 53 65 72 76 65 72 09 01 01 25
      36 50 72 6F 76 69 64 65 73 20 6C 6F 63 61 6C 20 73 65 72 76
      69 63 65 20 69 6E 66 6F 72 6D 61 74 69 6F 6E 20 66 6F 72 20
      72 65 6D 6F 74 65 20 64 65 76 69 63 65 73 2E 09 01 02 25 0C
      53 79 6D 62 69 61 6E 20 4C 74 64 2E 09 02 00 35 06 09 01 00
      09 01 01 09 02 01 0A 00 00 00 0F 35 8A 09 00 00 0A 00 01 00
      00 09 00 01 35 03 19 11 0C 09 00 04 35 10 35 06 19 01 00 09
      00 17 35 06 19 00 17 09 01 00 09 00 05 35 03 19 10 02 09 00
      09 35 08 35 06 19 11 0E 09 01 00 09 01 00 25 0C 41 56 52 43
      50 20 54 61 72 67 65 74 09 01 01 25 1A 41 75 64 69 6F 20 56
      69 64 65 6F 20 52 65 6D 6F 74 65 20 43 6F 6E 74 72 6F 6C 09
      01 02 25 15 53 79 6D 62 69 61 6E 20 53 6F 66 74 77 61 72 65
      20 4C 74 64 2E 09 03 11 09 00 0F 35 77 09 00 00 0A 00 01 00
      04 09 00 01 35 06 19 11 1F 19 12 03 09 00 02 0A 00 00 00 08
      09 00 04 35 0C 35 03 19 01 00 35 05 19 00 03 08 01 09 00 05
      35 03 19 10 02 09 00 06 35 09 09 45 4E 09 00 6A 09 01 00 09
      00 09 35 08 35 06 19 11 1E 09 01 05 09 01 00 25 18 48 61 6E
      64 73 2D 46 72 65 65 20 41 75 64 69 6F 20 47 61 74 65 77 61
      79 09 03 01 08 01 09 03 11 09 00 EF 35 69 09 00 00 0A 00 01
      00 05 09 00 01 35 06 19 11 12 19 12 03 09 00 02 0A 00 00 00
      06 09 00 04 35 0C 35 03 19 01 00 35 05 19 00 03 08 02 09 00
      05 35 03 19 10 02 09 00 06 35 09 09 45 4E 09 00 6A 09 01 00
      09 00 09 35 08 35 06 19 11 08 09 01 00 09 01 00 25 15 48 65
      61 64 73 65 74 20 41 75 64 69 6F 20 47 61 74 65 77 61 79 35
      67 09 00 00 0A 00 01 00 6D 09 00 01 35 03 19 11 0A 09 00 02
      0A 00 00 00 07 09 00 04 35 10 35 06 19 01 00 09 00 19 35 06
      19 00 19 09 01 00 09 00 05 35 03 19 10 02 09 00 06 35 09 09
      45 4E 09 00 6A 09 01 00 09 00 09 35 08 35 06 19 11 0D 09 01
      00 09 01 00 25 0C 41 75 64 69 6F 20 53 6F 75 72 63 65 09 03
      11 0A 00 00 02 8E 00 00 07 8F 00 00
< ACL data: handle 256 flags 0x00 dlen 34
    1E 00 40 00 06 00 01 00 19 35 03 19 01 00 FF FF 35 05 0A 00
    00 FF FF 0A 00 00 02 8E 00 00 07 8F 00 00
> HCI Event: Number of Completed Packets (0x13) plen 5
    handle 256 packets 1
> ACL data: handle 256 flags 0x02 dlen 344
> ACL data: handle 256 flags 0x01 dlen 332
    L2CAP(d): cid 0x0040 len 672 [psm 0]
      07 00 01 02 9B 02 8E 09 00 0F 35 8E 09 00 00 0A 00 01 00 6E
      09 00 01 35 03 19 11 0E 09 00 04 35 10 35 06 19 01 00 09 00
      17 35 06 19 00 17 09 01 00 09 00 05 35 03 19 10 02 09 00 09
      35 08 35 06 19 11 0E 09 01 00 09 01 00 25 10 41 56 52 43 50
      20 43 6F 6E 74 72 6F 6C 6C 65 72 09 01 01 25 1A 41 75 64 69
      6F 20 56 69 64 65 6F 20 52 65 6D 6F 74 65 20 43 6F 6E 74 72
      6F 6C 09 01 02 25 15 53 79 6D 62 69 61 6E 20 53 6F 66 74 77
      61 72 65 20 4C 74 64 2E 09 03 11 09 00 0F 35 7E 09 00 00 0A
      00 01 00 6F 09 00 01 35 11 1C 00 00 00 02 00 00 10 00 80 00
      00 02 EE 00 00 02 09 00 02 0A 00 00 00 06 09 00 04 35 11 35
      03 19 01 00 35 05 19 00 03 08 0A 35 03 19 00 08 09 00 05 35
      03 19 10 02 09 00 06 35 09 09 45 4E 09 00 6A 09 01 00 09 00
      09 35 16 35 14 1C 00 00 00 02 00 00 10 00 80 00 00 02 EE 00
      00 02 09 01 00 09 01 00 25 0C 53 79 6E 63 4D 4C 43 6C 69 65
      6E 74 35 68 09 00 00 0A 00 01 00 70 09 00 01 35 03 19 11 06
      09 00 02 0A 00 00 00 06 09 00 04 35 11 35 03 19 01 00 35 05
      19 00 03 08 0B 35 03 19 00 08 09 00 05 35 03 19 10 02 09 00
      06 35 09 09 45 4E 09 00 6A 09 01 00 09 00 09 35 08 35 06 19
      11 06 09 01 00 09 01 00 25 12 4F 42 45 58 20 46 69 6C 65 20
      54 72 61 6E 73 66 65 72 35 8E 09 00 00 0A 00 01 00 71 09 00
      01 35 11 1C 00 00 50 05 00 00 10 00 80 00 00 02 EE 00 00 01
      09 00 02 0A 00 00 00 06 09 00 04 35 11 35 03 19 01 00 35 05
      19 00 03 08 0C 35 03 19 00 08 09 00 05 35 03 19 10 02 09 00
      06 35 09 09 45 4E 09 00 6A 09 01 00 09 00 09 35 16 35 14 1C
      00 00 50 05 00 00 10 00 80 00 00 02 EE 00 00 01 09 01 00 09
      01 00 25 1C 4E 6F 6B 69 61 20 4F 42 45 58 20 50 43 20 53 75
      69 74 65 20 53 65 72 76 69 63 65 73 35 82 09 00 00 0A 00 01
      00 72 09 00 01 35 11 1C 00 00 00 04 00 00 10 00 80 00 00 02
      EE 00 00 02 09 00 02 0A 00 00 00 06 09 00 04 35 11 35 03 19
      01 00 35 05 19 00 03 08 0D 35 03 19 00 08 09 00 05 35 03 19
      10 02 09 00 06 35 09 09 45 4E 09 00 6A 09 01 00 09 00 09 35
      16 35 14 1C 00 00 00 04 00 00 10 00 80 00 00 02 EE 00 00 02
      09 01 00 09 01 00 25 10 53 79 6E 63 4D 4C 20 44 4D 20 43 6C
      69 0A 00 00 05 1C 00 00 07 8F 00 00
< ACL data: handle 256 flags 0x00 dlen 34
    1E 00 40 00 06 00 02 00 19 35 03 19 01 00 FF FF 35 05 0A 00
    00 FF FF 0A 00 00 05 1C 00 00 07 8F 00 00
> HCI Event: Number of Completed Packets (0x13) plen 5
    handle 256 packets 1
> ACL data: handle 256 flags 0x02 dlen 344
> ACL data: handle 256 flags 0x01 dlen 295
    L2CAP(d): cid 0x0040 len 635 [psm 0]
      07 00 02 02 76 02 73 65 6E 74 35 58 09 00 00 0A 00 01 00 73
      09 00 01 35 03 19 11 01 09 00 03 0A 10 1F 9A 3D 09 00 04 35
      05 35 03 19 01 00 09 00 08 0A 00 00 00 00 09 01 00 25 0D 44
      61 74 61 20 54 72 61 6E 73 66 65 72 09 01 01 25 07 56 65 72
      73 69 6F 6E 09 03 11 0A 00 00 00 04 09 03 12 0A 00 00 00 01
      35 85 09 00 00 0A 00 01 00 74 09 00 01 35 11 1C 00 00 56 01
      00 00 10 00 80 00 00 02 EE 00 00 01 09 00 02 0A 00 00 00 06
      09 00 04 35 11 35 03 19 01 00 35 05 19 00 03 08 0E 35 03 19
      00 08 09 00 05 35 03 19 10 02 09 00 06 35 09 09 45 4E 09 00
      6A 09 01 00 09 00 09 35 16 35 14 1C 00 00 56 01 00 00 10 00
      80 00 00 02 EE 00 00 01 09 01 00 09 01 00 25 13 4E 6F 6B 69
      61 20 53 79 6E 63 4D 4C 20 53 65 72 76 65 72 35 3B 09 00 00
      0A 00 01 00 75 09 00 01 35 13 35 11 1C 00 00 55 57 00 00 10
      00 80 00 00 02 EE 00 00 01 09 00 04 35 0C 35 03 19 01 00 35
      05 19 00 03 08 03 09 00 05 35 05 35 03 19 10 02 35 6D 09 00
      00 0A 00 01 00 76 09 00 01 35 03 19 11 05 09 00 02 0A 00 00
      00 07 09 00 04 35 11 35 03 19 01 00 35 05 19 00 03 08 09 35
      03 19 00 08 09 00 05 35 03 19 10 02 09 00 06 35 09 09 45 4E
      09 00 6A 09 01 00 09 00 09 35 08 35 06 19 11 05 09 01 00 09
      01 00 25 10 4F 42 45 58 20 4F 62 6A 65 63 74 20 50 75 73 68
      09 03 03 35 02 08 FF 35 63 09 00 00 0A 00 01 00 77 09 00 01
      35 03 19 11 03 09 00 02 0A 00 00 00 06 09 00 04 35 0C 35 03
      19 01 00 35 05 19 00 03 08 04 09 00 05 35 03 19 10 02 09 00
      06 35 09 09 45 4E 09 00 6A 09 01 00 09 00 09 35 08 35 06 19
      11 03 09 01 00 09 01 00 25 12 44 69 61 6C 2D 55 70 20 4E 65
      74 77 6F 72 6B 69 6E 67 35 7C 09 00 00 0A 00 01 00 78 09 00
      01 35 03 19 11 1B 09 00 02 0A 00 00 00 0A 09 00 04 35 11 35
      03 19 01 00 35 05 19 00 03 08 0F 35 03 19 00 08 09 00 05 35
      03 19 10 02 09 00 06 35 09 09 45 4E 09 00 6A 09 01 00 09 00
      09 35 08 35 06 19 11 1A 09 01 00 09 01 00 25 07 49 6D 61 67
      69 6E 67 09 03 10 08 01 09 03 11 09 00 01 09 03 12 0A 00 00
      00 0B 09 03 13 0B 04 00 00 04 00 00 00 00 00
< ACL data: handle 256 flags 0x00 dlen 24
    14 00 40 00 06 00 03 00 0F 35 03 19 12 00 FF FF 35 05 0A 00
    00 FF FF 00
> HCI Event: Number of Completed Packets (0x13) plen 5
    handle 256 packets 1
< HCI Command: Read Remote Version Information (0x01|0x001d) plen 2
    handle 1
> HCI Event: Command Status (0x0f) plen 4
    Read Remote Version Information (0x01|0x001d) status 0x02 ncmd 1
    Error: Unknown Connection Identifier
> ACL data: handle 256 flags 0x02 dlen 14
    L2CAP(d): cid 0x0040 len 10 [psm 0]
      07 00 03 00 05 00 02 35 00 00
< HCI Command: Write Scan Enable (0x03|0x001a) plen 1
    enable 2
> HCI Event: Command Complete (0x0e) plen 4
    Write Scan Enable (0x03|0x001a) ncmd 2
    status 0x00
< HCI Command: Read Scan Enable (0x03|0x0019) plen 0
> HCI Event: Command Complete (0x0e) plen 5
    Read Scan Enable (0x03|0x0019) ncmd 2
    status 0x00 enable 2
< ACL data: handle 256 flags 0x00 dlen 12
    08 00 01 00 06 04 04 00 40 00 40 00
> HCI Event: Number of Completed Packets (0x13) plen 5
    handle 256 packets 1
> ACL data: handle 256 flags 0x02 dlen 12
    L2CAP(s): Disconn rsp: dcid 0x0040 scid 0x0040
> HCI Event: Disconn Complete (0x05) plen 4
    status 0x00 handle 256 reason 0x13
    Reason: Remote User Terminated Connection

Regards,

patil


-----Original Message-----
From: Luiz Augusto von Dentz [mailto:luiz.dentz at gmail.com]
Sent: Thursday, May 19, 2011 3:54 PM
To: General PulseAudio Discussion
Cc: Patil, H.
Subject: Re: [pulseaudio-discuss] Assertion '(size_t) decoded == a2dp->frame_length' failed at modules/bluetooth/module-bluetooth-device

Hi,

On Wed, May 18, 2011 at 1:37 PM,  <h.patil at accenture.com> wrote:
> My audio.conf looks as below.
>
> Configuration file for the audio service
>
> # This section contains options which are not specific to any
> # particular interface
> [General]
> Enable=Source
> # Switch to master role for incoming connections (defaults to true)
> #Master=true
>
> # If we want to disable support for specific services
> # Defaults to supporting all implemented services
> #Disable=Control,Source
>
> # SCO routing. Either PCM or HCI (in which case audio is routed to/from ALSA)
> # Defaults to HCI
> #SCORouting=PCM
>
> # Automatically connect both A2DP and HFP/HSP profiles for incoming
> # connections. Some headsets that support both profiles will only connect the
> # other one automatically so the default setting of true is usually a good
> # idea.
> #AutoConnect=true
>
> # Headset interface specific options (i.e. options which affect how the audio
> # service interacts with remote headset devices)
> [Headset]
>
> # Set to true to support HFP, false means only HSP is supported
> # Defaults to true
> HFP=true
>
> # Maximum number of connected HSP/HFP devices per adapter. Defaults to 1
> MaxConnected=1
>
> # Just an example of potential config options for the other interfaces
> #[A2DP]
> #SBCSources=1
> #MPEG12Sources=0
>

So this means you are using the old unix socket API, which is fine and
should work normally too. Could you please run hcidump -XVt and send
us the output?


--
Luiz Augusto von Dentz
Computer Engineer


This message is for the designated recipient only and may contain privileged, proprietary, or otherwise private information.  If you have received it in error, please notify the sender immediately and delete the original.  Any other use of the email by you is prohibited.



More information about the pulseaudio-discuss mailing list