Hi,
I am trying to setup a dialer application that supports Bluetooth HFP. I am able to place
calls and get it connected but when the call is answered, audio is not being routed to
pulseaudio and no sound output is heard from the speakers. I am using ofono version 1.15
along with Bluez5 and Pulseaudio 6. Attached below are the journalctl logs from ofono,
bluetoothd and pulseaudio when a phone is connected and a call is answered and audio is
supposed to be heard.
Log from ofono
imx6qsabresd ofonod[365]: Service level connection established
imx6qsabresd ofonod[365]: Reject SCO: Agent not registered
imx6qsabresd ofonod[365]: Reject SCO: Agent not registered
imx6qsabresd ofonod[365]: Reject SCO: Agent not registered
imx6qsabresd ofonod[365]: Reject SCO: Agent not registered
imx6qsabresd ofonod[365]: Reject SCO: Agent not registered
Log from bluetooth
imx6qsabresd bluetoothd[322]: Endpoint registered: sender=:1.28
path=/MediaEndpoint/A2DPSource
imx6qsabresd bluetoothd[322]: Endpoint registered: sender=:1.28
path=/MediaEndpoint/A2DPSink
imx6qsabresd bluetoothd[322]: GAP and GATT are mandatory
imx6qsabresd bluetoothd[322]: gap-gatt-profile profile probe failed for XX:XX:XX:XX:XX:XX
imx6qsabresd bluetoothd[322]: Can't open input device: No such file or directory (2)
imx6qsabresd bluetoothd[322]: AVRCP: failed to init uinput for XX:XX:XX:XX:XX:XX
imx6qsabresd bluetoothd[322]: Endpoint unregistered: sender=:1.28
path=/MediaEndpoint/A2DPSource
imx6qsabresd bluetoothd[322]: Endpoint unregistered: sender=:1.28
path=/MediaEndpoint/A2DPSink
Log from pulseaudio
imx6qsabresd pulseaudio[765]: D: [pulseaudio] backend-native.c: Registering Profile
/Profile/HSPAGProfile
imx6qsabresd pulseaudio[765]: D: [pulseaudio] protocol-native.c: Protocol version: remote
30, local 30
imx6qsabresd pulseaudio[765]: D: [pulseaudio] protocol-native.c: SHM possible: no
imx6qsabresd pulseaudio[765]: D: [pulseaudio] protocol-native.c: Negotiated SHM: no
imx6qsabresd pulseaudio[765]: D: [pulseaudio] protocol-native.c: Disabling srbchannel,
reason: Must be enabled by module parameter
imx6qsabresd pulseaudio[765]: D: [pulseaudio] bluez5-util.c: Properties changed in adapter
/org/bluez/hci0
imx6qsabresd pulseaudio[765]: D: [pulseaudio] bluez5-util.c: Properties changed in adapter
/org/bluez/hci0
imx6qsabresd pulseaudio[765]: D: [pulseaudio] bluez5-util.c: Properties changed in adapter
/org/bluez/hci0
imx6qsabresd pulseaudio[765]: D: [pulseaudio] bluez5-util.c: Properties changed in adapter
/org/bluez/hci0
imx6qsabresd pulseaudio[765]: D: [pulseaudio] bluez5-util.c: Properties changed in adapter
/org/bluez/hci0
I have also noticed that the .HandfreeAgent interface of ofono is not being created on
dbus. Is this somehow related ? Do i need to call some additional dbus methods so that
the audio is routed ?
Thanks & Regards
Gokul Krishnan
Senior Engineer - Transportation Business Unit
TATA ELXSI
Techno Park Campus, Kariyavattom, Trivandrum Kerala 695 581
www.tataelxsi.com<http://www.tataelxsi.com>