<div dir="ltr">Hello.<div><br></div><div>After solve this issue <a href="https://lists.freedesktop.org/archives/pulseaudio-discuss/2017-November/029023.html">https://lists.freedesktop.org/archives/pulseaudio-discuss/2017-November/029023.html</a></div><div>I have next.problem.</div><div><br></div><div>In HSP profile voice quality is very poor (only on BCM4354 chip. In Asus BT-400 quality is good).</div><div>After play wav file, sound run slowly (in A2DP speed is normal).</div><div><br></div><div>I have BCM4354 chip.</div><div> </div><div><div>[root@localhost ~]# hciconfig -a</div><div>hci1:   Type: BR/EDR  Bus: UART</div><div>        BD Address: C0:97:27:4C:2E:65  ACL MTU: 1021:8  SCO MTU: 64:1</div><div>        UP RUNNING PSCAN</div><div>        RX bytes:24493015 acl:94 sco:382514 events:1122 errors:0</div><div>        TX bytes:19902340 acl:95 sco:382499 commands:809 errors:0</div><div>        Features: 0xbf 0xfe 0xcf 0xfe 0xdb 0xff 0x7b 0x87</div><div>        Packet type: DM1 DM3 DM5 DH1 DH3 DH5 HV1 HV2 HV3</div><div>        Link policy: RSWITCH SNIFF</div><div>        Link mode: SLAVE ACCEPT</div><div>        Name: 'ARTIK10'</div><div>        Class: 0x0c0000</div><div>        Service Classes: Rendering, Capturing</div><div>        Device Class: Miscellaneous,</div><div>        HCI Version: 4.1 (0x7)  Revision: 0x1000</div><div>        LMP Version: 4.1 (0x7)  Subversion: 0x610c</div><div>        Manufacturer: Broadcom Corporation (15)</div><div><br></div><div>hci0:   Type: BR/EDR  Bus: SDIO</div><div>        BD Address: 00:00:00:00:00:00  ACL MTU: 0:0  SCO MTU: 0:0</div><div>        DOWN</div><div>        RX bytes:0 acl:0 sco:0 events:0 errors:0</div><div>        TX bytes:0 acl:0 sco:0 commands:0 errors:0</div><div>        Features: 0x00 0x00 0x00 0x00 0x00 0x00 0x00 0x00</div><div>        Packet type: DM1 DH1 HV1</div><div>        Link policy:</div><div>        Link mode: SLAVE ACCEPT</div></div><div><br></div><div><br></div><div><br></div><div>I try :</div><div>- change SCO MTU to 64:8,</div><div>- use different parameter in command hcitool cmd 0x3F 0x01C X X X X X</div><div>-change baudrate from 3000000 to 1500000 in brcm_patchram_plus script.</div><div><br></div><div><div>./brcm_patchram_plus --patchram BCM4354_003.001.012.0353.0745c_Samsung_Artik_ORC.hcd \</div><div>        --no2bytes --baudrate 3000000 \</div><div>        -d \</div><div>        --use_baudrate_for_download /dev/ttySAC${TTY_NUM} \</div><div>        --bd_addr ${BD_ADDR} \</div><div>        --scopcm=1,2,0,0,0,0,0,0,0,0 \</div><div>        --enable_hci > /dev/null &</div></div><div><br></div><div><br></div><div><br></div><div>I have Asus BT-400, and there is everything OK (quality is good, speed is normal).</div><div><br></div><div><div>[root@localhost ~]# hciconfig -a</div><div>hci2:   Type: BR/EDR  Bus: USB</div><div>        BD Address: 5C:F3:70:72:F8:BB  ACL MTU: 1021:8  SCO MTU: 64:1</div><div>        UP RUNNING PSCAN</div><div>        RX bytes:583 acl:0 sco:0 events:33 errors:0</div><div>        TX bytes:898 acl:0 sco:0 commands:33 errors:0</div><div>        Features: 0xbf 0xfe 0xcf 0xfe 0xdb 0xff 0x7b 0x87</div><div>        Packet type: DM1 DM3 DM5 DH1 DH3 DH5 HV1 HV2 HV3</div><div>        Link policy: RSWITCH SNIFF</div><div>        Link mode: SLAVE ACCEPT</div><div>        Name: 'ARTIK10'</div><div>        Class: 0x0c0000</div><div>        Service Classes: Rendering, Capturing</div><div>        Device Class: Miscellaneous,</div><div>        HCI Version: 4.0 (0x6)  Revision: 0x1000</div><div>        LMP Version: 4.0 (0x6)  Subversion: 0x220e</div><div>        Manufacturer: Broadcom Corporation (15)</div></div><div><br></div><div><br></div><div>More info:</div><div><br></div><div><div>[root@localhost ~]# uname -a</div><div>Linux localhost 3.10.93-dirty #1 SMP PREEMPT Mon Sep 4 15:39:15 CEST 2017 armv7l armv7l armv7l GNU/Linux</div><div><br></div><div>[root@localhost ~]# lsmod</div><div>Module                  Size  Used by</div><div>ip6t_rpfilter           1550  1</div><div>ip6t_REJECT             2706  2</div><div>ipt_REJECT              2369  2</div><div>rfcomm                 32430  7</div><div>hci_uart               21843  1</div><div>ebtable_nat             1656  1</div><div>ebtable_broute          1373  1</div><div>bridge                 91458  1 ebtable_broute</div><div>ebtable_filter          1702  1</div><div>ebtables               17617  3 ebtable_broute,ebtable_nat,ebtable_filter</div><div>ip6table_nat            2685  1</div><div>nf_conntrack_ipv6       8069  8</div><div>nf_defrag_ipv6         14454  1 nf_conntrack_ipv6</div><div>nf_nat_ipv6             3622  1 ip6table_nat</div><div>ip6table_mangle         1611  1</div><div>ip6table_raw            1270  1</div><div>ip6table_filter         1472  1</div><div>ip6_tables             11392  4 ip6table_filter,ip6table_mangle,ip6table_nat,ip6table_raw</div><div>iptable_raw             1321  1</div><div>iptable_nat             2537  1</div><div>nf_conntrack_ipv4      13743  7</div><div>nf_defrag_ipv4          1244  1 nf_conntrack_ipv4</div><div>nf_nat_ipv4             3512  1 iptable_nat</div><div>nf_nat                 15371  4 nf_nat_ipv4,nf_nat_ipv6,ip6table_nat,iptable_nat</div><div>iptable_mangle          1482  1</div><div>iptable_filter          1523  1</div><div>bnep                   10855  2</div><div>leds_pca9632            2071  0</div><div>leds_pca963x            1848  0</div><div>smsc95xx               17900  0</div><div>usbnet                 22141  1 smsc95xx</div><div>hid_cp2112             11909  0</div><div>hid_generic              954  0</div><div>btusb                  15997  0</div><div>snd_soc_artik_ak4953     3467  3</div><div>cp210x                  9353  1</div><div>usbhid                 20253  0</div><div>bcm4354                 5540  0</div><div>snd_soc_i2s            14483  2</div><div>snd_soc_lpass          13073  1 snd_soc_i2s</div><div>snd_soc_s3c24xx         5032  2 snd_soc_i2s,snd_soc_lpass</div><div>spidev                  5496  0</div><div>snd_soc_ak4953         19021  1</div><div>btsdio                  2842  0</div><div>bluetooth             210761  56 bnep,btusb,btsdio,hci_uart,rfcomm</div><div>dhd                   746331  0</div><div>cfg80211              393598  1 dhd</div><div>rfkill                 17000  8 dhd,cfg80211,bcm4354,bluetooth</div><div>ip_tables              11092  4 iptable_filter,iptable_mangle,iptable_nat,iptable_raw</div></div><div><br></div><div><div>[root@localhost bluetooth]#.stty -a -F /dev/ttySAC2</div><div>speed 3000000 baud; rows 0; columns 0; line = 15;</div><div>intr = ^C; quit = ^\; erase = ^?; kill = ^U; eof = ^D; eol = <undef>; eol2 = <undef>; swtch = <undef>; start = ^Q;</div><div>stop = ^S; susp = ^Z; rprnt = ^R; werase = ^W; lnext = ^V; flush = ^O; min = 1; time = 0;</div><div>-parenb -parodd -cmspar cs8 -hupcl -cstopb cread clocal crtscts</div><div>-ignbrk -brkint -ignpar -parmrk -inpck -istrip -inlcr -igncr -icrnl -ixon -ixoff -iuclc -ixany -imaxbel -iutf8</div><div>-opost -olcuc -ocrnl onlcr -onocr -onlret -ofill -ofdel nl0 cr0 tab0 bs0 vt0 ff0</div><div>-isig -icanon -iexten -echo echoe echok -echonl -noflsh -xcase -tostop -echoprt echoctl echoke</div></div><div><br></div><div>In device specyfication I have:</div><div>1.5x channel high-speed UART (up to 3 Mbps data rate for Bluetooth 2.1 EDR and IrDA 1.0 SIR)<br></div><div><br></div><div>Any suggestions?</div><div><br></div><div><br></div></div>