All of lore.kernel.org
 help / color / mirror / Atom feed
* QCA6174A Bluetooth HSP could not work
@ 2017-06-20  2:18 Mingmin Tang
  0 siblings, 0 replies; 2+ messages in thread
From: Mingmin Tang @ 2017-06-20  2:18 UTC (permalink / raw)
  To: ath10k

OS: lubuntu 17.04
Headphone: SONY SBH60
Bluetooth Module: AW-CB260NF(QCA6174A)

No error message when select A2DP and HSP/HFP profile in pavucontrol.
A2DP: work ok.
HSP/HFP: Input and output devices could be shown in pavucontrol, but they
don't have volume meter bar.
The media player would stop(like waiting bluetooth device) when playing
audio by hsp.

Test other bluetooth module(Intel 7260HMW, Realtek RTL8821ae), A2DP and
HSP/HFP profile all work ok.
It seems like firmware or driver issue of QCA6174A.


_______________________________________________
ath10k mailing list
ath10k@lists.infradead.org
http://lists.infradead.org/mailman/listinfo/ath10k

^ permalink raw reply	[flat|nested] 2+ messages in thread

* QCA6174A Bluetooth HSP could not work
@ 2019-03-25 12:31 Mohammed Sha
  0 siblings, 0 replies; 2+ messages in thread
From: Mohammed Sha @ 2019-03-25 12:31 UTC (permalink / raw)
  To: ath10k

Hi All,

Chip set: QCA6174A
Kernel : 4.14.62

I am attempting to implement hands-free telephony on my board, I
successfully connected my android phone to the board via bluetooth
module in phone and media audio sharing mode.
I was able to play media files via bluetooth by this. But when a call
connected the bluetooth speaker works properly, i.e. I can hear what
is said on the Mobile Phone, but audio is not transmitted from Board
to Mobile Phone is not heard ( I guess there is some error in getting
the data from mic or in transmitting data from bluetooth device). I
get the following log message keeps appearing many times as soon as a
call is initiated

"***Bluetooth: hci0 SCO packet for unknown connection handle 0***

***Bluetooth: hci0 sending frame failed (-27)***

***Bluetooth: hci0 sending frame failed (-27)***"

The microphone on the phone is also not functioning(after bluetooth
connection is established). Also in *hciconfig -a* it is found as
follows

hci0:   Type: Primary  Bus: USB
    BD Address: 00:0E:8E:76:00:55  ACL MTU: 1024:8  SCO MTU: 50:8
    UP RUNNING PSCAN
    RX bytes:810924 acl:982 sco:18885 events:670 errors:0
    **TX bytes:528349 acl:530 sco:10271 commands:108 errors:111**
    Features: 0xff 0xfe 0x8f 0xfe 0xd8 0x3f 0x5b 0x87
    Packet type: DM1 DM3 DM5 DH1 DH3 DH5 HV1 HV2 HV3
    Link policy: RSWITCH HOLD SNIFF
    Link mode: SLAVE ACCEPT
    Name: mydevice
    Class: 0x2c041c
    Service Classes: Rendering, Capturing, Audio
    Device Class: Audio/Video, Portable Audio
    HCI Version: 4.2 (0x8)  Revision: 0x0
    LMP Version: 4.2 (0x8)  Subversion: 0x25a
    Manufacturer: Qualcomm

How can I solve this and implement proper hands-free telephony?

The Bluetooth device is connected via USB interface, Below is the
device package configuration,
pulseaudio --version

pulseaudio 11.1
 bluetoothctl --version
bluetoothctl: 5.49

ofonod --version
1.22

The steps I followed to setup connection are as follows

    $ hciconfig hci0 up
    $ pactl list sources short
    $ pactl list sinks short
    $ bluetoothctl
    agent on
    scan on
    scan off
    pair <address>
    connect<address>

https://www.freedesktop.org/wiki/Software/PulseAudio/Documentation/User/Bluetooth
In the above website section 5 they are mentioning to configure sco
audio using hcitool command, but i dont know the parameter to
configure qca6174a, Could someone help me to configure HSP/HFP profile
in QCA6174A chipset ?

-- 
Thanks & Regards
Mohammed Sha

_______________________________________________
ath10k mailing list
ath10k@lists.infradead.org
http://lists.infradead.org/mailman/listinfo/ath10k

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2019-03-25 12:32 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2017-06-20  2:18 QCA6174A Bluetooth HSP could not work Mingmin Tang
  -- strict thread matches above, loose matches on Subject: below --
2019-03-25 12:31 Mohammed Sha

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.