[pulseaudio-discuss] Bluetooth : A2DP and AVRCP is working fine , but HFP is showing working but No sound -Mic/Speaker ?

Samiran Sarkar samiran.s at hcl.com
Fri Jan 29 05:32:07 PST 2016


Thanks Tanu , really appreciated for your support 

1. pactl set-card-profile bluez_card.F8_32_E4_FB_FD_28  headset_audio_gateway
then
Loop back is like this 
2. pacmd load-module module-loopback source=bluez_source.F8_32_E4_FB_FD_28 sink=alsa_output.usb-Jabra_Jabra_UC_VOICE_150_duo_000000000000-00-duo.analog-stereo

But I can listen in the headphone speaker whatever I 'm speaking over MIC  ( it seems loop back within the device)

---------------------------------------------- 
 Regards,
Samiran

Printing some more logs- 



root at baytrail32:~# journalctl -u pulseaudio
-- Logs begin at Sun 2012-01-01 00:40:11 UTC, end at Thu 2015-12-10 10:12:34 UTC. --
Dec 10 10:12:00 baytrail32 pulseaudio[319]: E: [pulseaudio] backend-ofono.c: Deferred setup failed on fd -1: Transport endpoint is no

[1]+  Stopped(SIGTSTP)        journalctl -u pulseaudio
root at baytrail32:~# systemctl -l status pulseaudio
● pulseaudio.service - pulseaudio server
   Loaded: loaded (/lib/systemd/system/pulseaudio.service; disabled)
   Active: active (running) since Thu 2015-12-10 10:10:47 UTC; 2min 7s ago
  Process: 316 ExecStartPre=/bin/chmod 0700 /run/user/root/pulse (code=exited, status=0/SUCCESS)
  Process: 313 ExecStartPre=/bin/mkdir -p /run/user/root/pulse (code=exited, status=0/SUCCESS)
 Main PID: 319 (pulseaudio)
   CGroup: /system.slice/pulseaudio.service
           └─319 /usr/bin/pulseaudio --log-level=0 --exit-idle-time=-1

Dec 10 10:12:00 baytrail32 pulseaudio[319]: E: [pulseaudio] backend-ofono.c: Deferred setup failed on fd -1: Transport endpoint is not connected




root at baytrail32:~# journalctl -u pulseaudio
-- Logs begin at Sun 2012-01-01 00:00:37 UTC, end at Thu 2015-12-10 10:42:38 UTC. --
Dec 10 10:11:36 baytrail32 pulseaudio[305]: E: [pulseaudio] backend-ofono.c: Deferred setup failed on fd -1: Transport endpoint is no
Dec 10 10:23:37 baytrail32 pulseaudio[305]: E: [pulseaudio] backend-ofono.c: Deferred setup failed on fd -1: Transport endpoint is no
Dec 10 10:29:00 baytrail32 pulseaudio[305]: E: [alsa-sink-USB Audio] alsa-sink.c: ALSA woke us up to write new data to the device, bu
Dec 10 10:29:00 baytrail32 pulseaudio[305]: E: [alsa-sink-USB Audio] alsa-sink.c: Most likely this is a bug in the ALSA driver 'snd_u
Dec 10 10:29:00 baytrail32 pulseaudio[305]: E: [alsa-sink-USB Audio] alsa-sink.c: We were woken up with POLLOUT set -- however a subs
Dec 10 10:37:37 baytrail32 pulseaudio[305]: E: [alsa-source-USB Audio] alsa-source.c: ALSA woke us up to read new data from the devic
Dec 10 10:37:37 baytrail32 pulseaudio[305]: E: [alsa-source-USB Audio] alsa-source.c: Most likely this is a bug in the ALSA driver 's
Dec 10 10:37:37 baytrail32 pulseaudio[305]: E: [alsa-source-USB Audio] alsa-source.c: We were woken up with POLLIN set -- however a s

[1]+  Stopped(SIGT




        Reason: Connection Terminated By Local Host (0x16)root at baytrail32:~# systemctl -l status pulseaudio
● pulseaudio.service - pulseaudio server
   Loaded: loaded (/lib/systemd/system/pulseaudio.service; disabled)
   Active: active (running) since Thu 2015-12-10 10:10:32 UTC; 28min ago
  Process: 302 ExecStartPre=/bin/chmod 0700 /run/user/root/pulse (code=exited, status=0/SUCCESS)
  Process: 299 ExecStartPre=/bin/mkdir -p /run/user/root/pulse (code=exited, status=0/SUCCESS)
 Main PID: 305 (pulseaudio)
   CGroup: /system.slice/pulseaudio.service
           └─305 /usr/bin/pulseaudio --log-level=0 --exit-idle-time=-1

Dec 10 10:11:36 baytrail32 pulseaudio[305]: E: [pulseaudio] backend-ofono.c: Deferred setup failed on fd -1: Transport endpoint is not connected
Dec 10 10:23:37 baytrail32 pulseaudio[305]: E: [pulseaudio] backend-ofono.c: Deferred setup failed on fd -1: Transport endpoint is not connected
Dec 10 10:29:00 baytrail32 pulseaudio[305]: E: [alsa-sink-USB Audio] alsa-sink.c: ALSA woke us up to write new data to the device, but there was actually nothing to write!
Dec 10 10:29:00 baytrail32 pulseaudio[305]: E: [alsa-sink-USB Audio] alsa-sink.c: Most likely this is a bug in the ALSA driver 'snd_usb_audio'. Please report this issue to the ALSA developers.
Dec 10 10:29:00 baytrail32 pulseaudio[305]: E: [alsa-sink-USB Audio] alsa-sink.c: We were woken up with POLLOUT set -- however a subsequent snd_pcm_avail() returned 0 or another value < min_avail.
Dec 10 10:37:37 baytrail32 pulseaudio[305]: E: [alsa-source-USB Audio] alsa-source.c: ALSA woke us up to read new data from the device, but there was actually nothing to read!
Dec 10 10:37:37 baytrail32 pulseaudio[305]: E: [alsa-source-USB Audio] alsa-source.c: Most likely this is a bug in the ALSA driver 'snd_usb_audio'. Please report this issue to the ALSA developers.
Dec 10 10:37:37 baytrail32 pulseaudio[305]: E: [alsa-source-USB Audio] alsa-source.c: We were woken up with POLLIN set -- however a subsequent snd_pcm_avail() returned 0 or another value < min_avail.


root at baytrail32:~# systemctl -l status bluetooth
● bluetooth.service - Bluetooth service
   Loaded: loaded (/lib/systemd/system/bluetooth.service; enabled)
   Active: active (running) since Thu 2015-12-10 10:09:01 UTC; 29min ago
     Docs: man:bluetoothd(8)
 Main PID: 248 (bluetoothd)
   Status: "Running"
   CGroup: /system.slice/bluetooth.service
           └─248 /usr/lib/bluez5/bluetooth/bluetoothd

Dec 10 10:09:01 baytrail32 bluetoothd[248]: Can't load plugin /usr/lib/bluetooth/plugins/service.so: /usr/lib/bluetooth/plugins/service.so: undefined symbol: btd_service_get_version
Dec 10 10:09:01 baytrail32 bluetoothd[248]: Bluetooth management interface 1.2 initialized
Dec 10 10:09:02 baytrail32 bluetoothd[248]: Failed to obtain handles for "Service Changed" characteristic
Dec 10 10:09:04 baytrail32 bluetoothd[248]: Loading LTKs timed out for hci0
Dec 10 10:09:04 baytrail32 bluetoothd[248]: hci0 Load Connection Parameters failed: Unknown Command (0x01)
Dec 10 10:10:33 baytrail32 bluetoothd[248]: Endpoint registered: sender=:1.15 path=/MediaEndpoint/A2DPSource
Dec 10 10:10:33 baytrail32 bluetoothd[248]: Endpoint registered: sender=:1.15 path=/MediaEndpoint/A2DPSink
Dec 10 10:23:40 baytrail32 bluetoothd[248]: Can't open input device: No such file or directory (2)
Dec 10 10:23:40 baytrail32 bluetoothd[248]: AVRCP: failed to init uinput for F8:32:E4:FB:FD:28
Dec 10 10:29:00 baytrail32 bluetoothd[248]: /org/bluez/hci0/dev_F8_32_E4_FB_FD_28/fd0: fd(22) ready



-----Original Message-----
From: Tanu Kaskinen [mailto:tanuk at iki.fi] 
Sent: Friday, January 29, 2016 4:50 PM
To: Samiran Sarkar; pulseaudio-discuss at lists.freedesktop.org
Subject: Re: [pulseaudio-discuss] Bluetooth : A2DP and AVRCP is working fine , but HFP is showing working but No sound -Mic/Speaker ?

On Fri, 2016-01-29 at 11:01 +0000, Samiran Sarkar wrote:
> Hi Friends,
> 
> I 'm using an Intel IVI development board,
> 
> Configuration is like this,  using Bluez -5.37, Pulseaudio 6.0 , ofono 
> 1.17, Bluetooth A2DP and AVRCP is working fine , HFP is showing 
> working but no sound -
> 
> I can make outgoing calls/ can accept incoming calls expected  target 
> hardware should have audio output) but – there is no sound on the 
> Speaker  either Mic can't input voice over BT (  We are using USB 
> (Jabra) Mic and headphone )
> 
> Any pointer so that quickly we can fix this issue  ?

Maybe you are lacking module-loopback between the bluetooth and alsa devices? The log messages that you attached contained something about module-loopback failing to load.

--
Tanu


More information about the pulseaudio-discuss mailing list