[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 03:01:22 PST 2016


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  ?

target platform-( Yocto linux dora build kernel 3.8)

while pulse audio journal con

Thanks
Samiran

Some log messages are

root at baytrail32:~/ # systemctl status pulseaudio
● pulseaudio.service - pulseaudio server
   Loaded: loaded (/lib/systemd/system/pulseaudio.service; disabled)
   Active: active (running) since Thu 2015-12-10 11:27:14 UTC; 3min 50s ago
  Process: 575 ExecStartPre=/bin/chmod 0700 /run/user/root/pulse (code=exited, status=0/SUCCESS)
  Process: 572 ExecStartPre=/bin/mkdir -p /run/user/root/pulse (code=exited, status=0/SUCCESS)
Main PID: 578 (pulseaudio)
   CGroup: /system.slice/pulseaudio.service
           └─578 /usr/bin/pulseaudio --log-level=0 --exit-idle-time=-1

Dec 10 11:28:04 baytrail32 pulseaudio[578]: E: [alsa-sink-USB Audio] alsa-sink.c: ALSA woke us up to write new data to the ...write!
Dec 10 11:28:04 baytrail32 pulseaudio[578]: E: [alsa-sink-USB Audio] alsa-sink.c: Most likely this is a bug in the ALSA dri...opers.
Dec 10 11:28:04 baytrail32 pulseaudio[578]: E: [alsa-sink-USB Audio] alsa-sink.c: We were woken up with POLLOUT set -- howe...avail.
Dec 10 11:29:30 baytrail32 pulseaudio[578]: E: [alsa-source-USB Audio] alsa-source.c: ALSA woke us up to read new data from... read!
Dec 10 11:29:30 baytrail32 pulseaudio[578]: E: [alsa-source-USB Audio] alsa-source.c: Most likely this is a bug in the ALSA...opers.
Dec 10 11:29:30 baytrail32 pulseaudio[578]: E: [alsa-source-USB Audio] alsa-source.c: We were woken up with POLLIN set -- h...avail.
Hint: Some lines were ellipsized, use -l to show in full.



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

Dec 10 10:36:59 baytrail32 bluetoothd[373]: Starting SDP server
Dec 10 10:36:59 baytrail32 bluetoothd[373]: Can't load plugin /usr/lib/bluetooth/plugins/se...ion
Dec 10 10:36:59 baytrail32 bluetoothd[373]: Bluetooth management interface 1.2 initialized
Dec 10 10:36:59 baytrail32 bluetoothd[373]: Failed to obtain handles for "Service Changed" ...tic
Dec 10 10:36:59 baytrail32 bluetoothd[373]: Endpoint registered: sender=:1.16 path=/MediaEn...rce
Dec 10 10:36:59 baytrail32 bluetoothd[373]: Endpoint registered: sender=:1.16 path=/MediaEn...ink
Dec 10 10:37:01 baytrail32 bluetoothd[373]: Loading LTKs timed out for hci0
Dec 10 10:37:01 baytrail32 bluetoothd[373]: hci0 Load Connection Parameters failed: Unknown...01)
Dec 10 10:38:02 baytrail32 bluetoothd[373]: Can't open input device: No such file or direct...(2)
Dec 10 10:38:02 baytrail32 bluetoothd[373]: AVRCP: failed to init uinput for F8:32:E4:FB:FD:28
Hint: Some lines were ellipsized, use -l to show in full.
root at baytrail32:~# systemctl status ofono
● ofono.service - Telephony service
   Loaded: loaded (/lib/systemd/system/ofono.service; enabled)
   Active: active (running) since Thu 2015-12-10 10:37:40 UTC; 5min ago
Main PID: 393 (ofonod)
   CGroup: /system.slice/ofono.service
           └─393 /usr/sbin/ofonod -n

Dec 10 10:37:40 baytrail32 ofonod[393]: oFono version 1.17
Dec 10 10:38:02 baytrail32 ofonod[393]: Service level connection established
root at baytrail32:~# systemctl status pulseaudio
● pulseaudio.service - pulseaudio server
   Loaded: loaded (/lib/systemd/system/pulseaudio.service; disabled)
   Active: active (running) since Thu 2015-12-10 10:24:04 UTC; 18min ago
  Process: 317 ExecStartPre=/bin/chmod 0700 /run/user/root/pulse (code=exited, status=0/SUCCESS)
  Process: 314 ExecStartPre=/bin/mkdir -p /run/user/root/pulse (code=exited, status=0/SUCCESS)
Main PID: 320 (pulseaudio)
   CGroup: /system.slice/pulseaudio.service
           └─320 /usr/bin/pulseaudio --log-level=0 --exit-idle-time=-1

Dec 10 10:25:41 baytrail32 pulseaudio[320]: E: [pulseaudio] backend-ofono.c: Deferred setup...ted
Dec 10 10:29:22 baytrail32 pulseaudio[320]: E: [pulseaudio] module-loopback.c: No such sink.
Dec 10 10:29:22 baytrail32 pulseaudio[320]: E: [pulseaudio] module.c: Failed to load module...ed.
Dec 10 10:37:32 baytrail32 pulseaudio[320]: E: [pulseaudio] backend-native.c: org.bluez.Pro...sts
Dec 10 10:40:34 baytrail32 pulseaudio[320]: E: [alsa-sink-USB Audio] alsa-sink.c: ALSA woke...te!
Dec 10 10:40:34 baytrail32 pulseaudio[320]: E: [alsa-sink-USB Audio] alsa-sink.c: Most like...rs.
Dec 10 10:40:34 baytrail32 pulseaudio[320]: E: [alsa-sink-USB Audio] alsa-sink.c: We were w...il.
Dec 10 10:41:48 baytrail32 pulseaudio[320]: E: [alsa-source-SSP0 Stream snd-soc-dummy-dai-0...ad!
Dec 10 10:41:48 baytrail32 pulseaudio[320]: E: [alsa-source-SSP0 Stream snd-soc-dummy-dai-0...rs.
Dec 10 10:41:48 baytrail32 pulseaudio[320]: E: [alsa-source-SSP0 Stream snd-soc-dummy-dai-0...il.
Hint: Some lines were ellipsized, use -l to show in full.
root at baytrail32:~# systemctl status pulseaudio
● pulseaudio.service - pulseaudio server
   Loaded: loaded (/lib/systemd/system/pulseaudio.service; disabled)
   Active: active (running) since Thu 2015-12-10 10:24:04 UTC; 19min ago
  Process: 317 ExecStartPre=/bin/chmod 0700 /run/user/root/pulse (code=exited, status=0/SUCCESS)
  Process: 314 ExecStartPre=/bin/mkdir -p /run/user/root/pulse (code=exited, status=0/SUCCESS)
Main PID: 320 (pulseaudio)
   CGroup: /system.slice/pulseaudio.service
           └─320 /usr/bin/pulseaudio --log-level=0 --exit-idle-time=-1

Dec 10 10:25:41 baytrail32 pulseaudio[320]: E: [pulseaudio] backend-ofono.c: Deferred setup failed on fd -1: Transpo...ected
Dec 10 10:29:22 baytrail32 pulseaudio[320]: E: [pulseaudio] module-loopback.c: No such sink.
Dec 10 10:29:22 baytrail32 pulseaudio[320]: E: [pulseaudio] module.c: Failed to load module "module-loopback" (argum...iled.
Dec 10 10:37:32 baytrail32 pulseaudio[320]: E: [pulseaudio] backend-native.c: org.bluez.ProfileManager1.RegisterProf...xists
Dec 10 10:40:34 baytrail32 pulseaudio[320]: E: [alsa-sink-USB Audio] alsa-sink.c: ALSA woke us up to write new data ...rite!
Dec 10 10:40:34 baytrail32 pulseaudio[320]: E: [alsa-sink-USB Audio] alsa-sink.c: Most likely this is a bug in the A...pers.
Dec 10 10:40:34 baytrail32 pulseaudio[320]: E: [alsa-sink-USB Audio] alsa-sink.c: We were woken up with POLLOUT set ...vail.
Dec 10 10:41:48 baytrail32 pulseaudio[320]: E: [alsa-source-SSP0 Stream snd-soc-dummy-dai-0] alsa-source.c: ALSA wok...read!
Dec 10 10:41:48 baytrail32 pulseaudio[320]: E: [alsa-source-SSP0 Stream snd-soc-dummy-dai-0] alsa-source.c: Most lik...pers.
Dec 10 10:41:48 baytrail32 pulseaudio[320]: E: [alsa-source-SSP0 Stream snd-soc-dummy-dai-0] alsa-source.c: We were ...vail.
Hint: Some lines were ellipsized, use -l to show in full.
root at baytrail32:~# systemctl status ofono
● ofono.service - Telephony service
   Loaded: loaded (/lib/systemd/system/ofono.service; enabled)
   Active: active (running) since Thu 2015-12-10 10:37:40 UTC; 5min ago
Main PID: 393 (ofonod)
   CGroup: /system.slice/ofono.service
           └─393 /usr/sbin/ofonod -n

Dec 10 10:37:40 baytrail32 ofonod[393]: oFono version 1.17
Dec 10 10:38:02 baytrail32 ofonod[393]: Service level connection established
root at baytrail32:~# systemctl status bluetooth
● bluetooth.service - Bluetooth service
   Loaded: loaded (/lib/systemd/system/bluetooth.service; enabled)
   Active: active (running) since Thu 2015-12-10 10:36:59 UTC; 6min ago
     Docs: man:bluetoothd(8)
Main PID: 373 (bluetoothd)
   Status: "Running"
   CGroup: /system.slice/bluetooth.service
           └─373 /usr/lib/bluez5/bluetooth/bluetoothd

Dec 10 10:36:59 baytrail32 bluetoothd[373]: Starting SDP server
Dec 10 10:36:59 baytrail32 bluetoothd[373]: Can't load plugin /usr/lib/bluetooth/plugins/service.so: /usr/lib/blueto...rsion
Dec 10 10:36:59 baytrail32 bluetoothd[373]: Bluetooth management interface 1.2 initialized
Dec 10 10:36:59 baytrail32 bluetoothd[373]: Failed to obtain handles for "Service Changed" characteristic
Dec 10 10:36:59 baytrail32 bluetoothd[373]: Endpoint registered: sender=:1.16 path=/MediaEndpoint/A2DPSource
Dec 10 10:36:59 baytrail32 bluetoothd[373]: Endpoint registered: sender=:1.16 path=/MediaEndpoint/A2DPSink
Dec 10 10:37:01 baytrail32 bluetoothd[373]: Loading LTKs timed out for hci0
Dec 10 10:37:01 baytrail32 bluetoothd[373]: hci0 Load Connection Parameters failed: Unknown Command (0x01)
Dec 10 10:38:02 baytrail32 bluetoothd[373]: Can't open input device: No such file or directory (2)
Dec 10 10:38:02 baytrail32 bluetoothd[373]: AVRCP: failed to init uinput for F8:32:E4:FB:FD:28
Hint: Some lines were ellipsized, use -l to show in full.
root at baytrail32:~#
root at baytrail32:~# journalctl -u pulseaudio
-- Logs begin at Sun 2012-01-01 00:00:35 UTC, end at Thu 2015-12-10 10:44:00 UTC. --
Dec 10 10:25:41 baytrail32 pulseaudio[320]: E: [pulseaudio] backend-ofono.c: Deferred setup failed on fd -1: Transport endpo
Dec 10 10:29:22 baytrail32 pulseaudio[320]: E: [pulseaudio] module-loopback.c: No such sink.
Dec 10 10:29:22 baytrail32 pulseaudio[320]: E: [pulseaudio] module.c: Failed to load module "module-loopback" (argument: "so
Dec 10 10:37:32 baytrail32 pulseaudio[320]: E: [pulseaudio] backend-native.c: org.bluez.ProfileManager1.RegisterProfile() fa
Dec 10 10:40:34 baytrail32 pulseaudio[320]: E: [alsa-sink-USB Audio] alsa-sink.c: ALSA woke us up to write new data to the d
Dec 10 10:40:34 baytrail32 pulseaudio[320]: E: [alsa-sink-USB Audio] alsa-sink.c: Most likely this is a bug in the ALSA driv
Dec 10 10:40:34 baytrail32 pulseaudio[320]: E: [alsa-sink-USB Audio] alsa-sink.c: We were woken up with POLLOUT set -- howev
Dec 10 10:41:48 baytrail32 pulseaudio[320]: E: [alsa-source-SSP0 Stream snd-soc-dummy-dai-0] alsa-source.c: ALSA woke us up
Dec 10 10:41:48 baytrail32 pulseaudio[320]: E: [alsa-source-SSP0 Stream snd-soc-dummy-dai-0] alsa-source.c: Most likely this
Dec 10 10:41:48 baytrail32 pulseaudio[320]: E: [alsa-source-SSP0 Stream snd-soc-dummy-dai-0] alsa-source.c: We were woken up
l

root at baytrail32:~# journalctl -u bluetooth
-- Logs begin at Sun 2012-01-01 00:08:13 UTC, end at Thu 2015-12-10 10:22:49 UTC. --
Dec 10 10:09:03 baytrail32 bluetoothd[256]: Bluetooth daemon 5.37
Dec 10 10:09:04 baytrail32 bluetoothd[256]: Starting SDP server
Dec 10 10:09:04 baytrail32 bluetoothd[256]: Can't load plugin /usr/lib/bluetooth/plugins/service.so: /usr/lib/bl
Dec 10 10:09:05 baytrail32 bluetoothd[256]: Bluetooth management interface 1.2 initialized
Dec 10 10:09:05 baytrail32 bluetoothd[256]: Failed to obtain handles for "Service Changed" characteristic
Dec 10 10:09:07 baytrail32 bluetoothd[256]: Loading LTKs timed out for hci0
Dec 10 10:09:07 baytrail32 bluetoothd[256]: hci0 Load Connection Parameters failed: Unknown Command (0x01)
Dec 10 10:13:12 baytrail32 bluetoothd[256]: Endpoint registered: sender=:1.14 path=/MediaEndpoint/A2DPSource
Dec 10 10:13:12 baytrail32 bluetoothd[256]: Endpoint registered: sender=:1.14 path=/MediaEndpoint/A2DPSink
Dec 10 10:14:49 baytrail32 bluetoothd[256]: hfp_hf failed to connect to F8:32:E4:FB:FD:28: connect error: Connec
Dec 10 10:14:49 baytrail32 bluetoothd[256]: connect error: Function not implemented (38)
Dec 10 10:14:54 baytrail32 bluetoothd[256]: Can't open input device: No such file or directory (2)
Dec 10 10:14:54 baytrail32 bluetoothd[256]: AVRCP: failed to init uinput for F8:32:E4:FB:FD:28
Dec 10 10:15:00 baytrail32 bluetoothd[256]: Authentication attempt without agent
D
::DISCLAIMER:: The contents of this e-mail and any attachment(s) are confidential and intended for the named recipient(s) only. E-mail transmission is not guaranteed to be secure or error-free as information could be intercepted, corrupted, lost, destroyed, arrive late or incomplete, or may contain viruses in transmission. The e mail and its contents (with or without referred errors) shall therefore not attach any liability on the originator or HCL or its affiliates. Views or opinions, if any, presented in this email are solely those of the author and may not necessarily reflect the views or opinions of HCL or its affiliates. Any form of reproduction, dissemination, copying, disclosure, modification, distribution and / or publication of this message without the prior written consent of authorized representative of HCL is strictly prohibited. If you have received this email in error please delete it and notify the sender immediately. Before opening any email and/or attachments, please check them for viruses and other defects..


More information about the pulseaudio-discuss mailing list