You are not logged in.

#1 2020-03-30 16:05:26

bahaelaila7
Member
Registered: 2020-03-30
Posts: 7

Pulseaudio 13.0, Bluez5 , bluetooth headset HSP/HFP not available

Hello,

I have a bluetooth COWIN E7 headset with microphone. I have been trying to get the headset's microphone to be the audio input to no avail, only the headphones work.
I only have A2DP configuration working, nothing seems to get HSP/HFP to work.
I have searched and gone through countless posts, most of them are very old, but to no avail.

I tried installing oFono and editing bluetooth-module and bluetooth-discovery in /etc/pulse/default.pa as this advises: https://www.reddit.com/r/archlinux/comm … er_bluez5/
I tried setting

 default-sample-rate = 48000 

according to this: https://www.reddit.com/r/archlinux/comm … dset_help/

Nothing worked (of course I rebooted after each change to make sure it applies).

$ pacmd list-cards
3 card(s) available.
    index: 0
    ... (monitor's speakers)
    index: 1
    ... (laptop's speakers)
    index: 2
     name: <bluez_card.FC_58_FA_85_64_E6>
    driver: <module-bluez5-device.c>
    owner module: 25
    properties:
        device.description = "E7"
        device.string = "FC:58:FA:85:64:E6"
        device.api = "bluez"
        device.class = "sound"
        device.bus = "bluetooth"
        device.form_factor = "headset"
        bluez.path = "/org/bluez/hci0/dev_FC_58_FA_85_64_E6"
        bluez.class = "0x240404"
        bluez.alias = "E7"
        device.icon_name = "audio-headset-bluetooth"
        device.intended_roles = "phone" 
    profiles:
         headset_head_unit: Headset Head Unit (HSP/HFP) (priority 30, available: no) 
        a2dp_sink: High Fidelity Playback (A2DP Sink) (priority 40, available: unknown) 
        off: Off (priority 0, available: yes)
    active profile: <a2dp_sink>
    sinks:
        bluez_sink.FC_58_FA_85_64_E6.a2dp_sink/#2: E7
    sources:
        bluez_sink.FC_58_FA_85_64_E6.a2dp_sink.monitor/#3: Monitor of E7
    ports:
        headset-output: Headset (priority 0, latency offset 0 usec, available: unknown)
            properties:

        headset-input: Headset (priority 0, latency offset 0 usec, available: no)
            properties:

note: a2dp_sink availability used to say "yes" instead of "unknown" before I started messing around, nonetheless it is working
I'd be grateful for some directions.
Kind regards,

Last edited by bahaelaila7 (2020-03-30 17:03:48)

Offline

#2 2020-03-30 16:18:04

V1del
Forum Moderator
Registered: 2012-10-16
Posts: 21,627

Re: Pulseaudio 13.0, Bluez5 , bluetooth headset HSP/HFP not available

Please use [ code ] [ /code ] tags consistently for any kind of output.

Post your current config files and

journalctl -b --user-unit=pulseaudio
dmesg | grep -i bluetooth
bluetoothctl info FC:58:FA:85:64:E6
journalctl -b --user-unit=pulseaudio

are you using gdm?

Offline

#3 2020-03-30 17:06:40

bahaelaila7
Member
Registered: 2020-03-30
Posts: 7

Re: Pulseaudio 13.0, Bluez5 , bluetooth headset HSP/HFP not available

I apologize, I used [ quote ] to enable coloring. reverted to [ code ].

[bahaa@archlinux ~]$ journalctl -b --user-unit=pulseaudio
-- Logs begin at Fri 2019-12-27 18:31:54 EST, end at Mon 2020-03-30 13:01:23 EDT. --
Mar 30 11:35:37 archlinux systemd[1058]: Starting Sound Service...
Mar 30 11:35:38 archlinux systemd[1058]: Started Sound Service.
Mar 30 11:36:13 archlinux pulseaudio[1166]: W: [pulseaudio] module-bluez5-device.c: Refused to switch profile to headset_head_unit: Not connected
[bahaa@archlinux ~]$ dmesg | grep -i bluetooth
[    3.896202] usb 3-2.4: Product: Bluetooth Radio 
[    5.129639] Bluetooth: Core ver 2.22
[    5.130074] Bluetooth: HCI device and connection manager initialized
[    5.130089] Bluetooth: HCI socket layer initialized
[    5.130092] Bluetooth: L2CAP socket layer initialized
[    5.130098] Bluetooth: SCO socket layer initialized
[    5.180437] Bluetooth: hci0: RTL: examining hci_ver=07 hci_rev=000b lmp_ver=07 lmp_subver=8822
[    5.183449] Bluetooth: hci0: RTL: rom_version status=0 version=2
[    5.183451] Bluetooth: hci0: RTL: loading rtl_bt/rtl8822b_fw.bin
[    5.183939] Bluetooth: hci0: RTL: loading rtl_bt/rtl8822b_config.bin
[    5.184130] Bluetooth: hci0: RTL: cfg_sz 14, total sz 20270
[    5.778571] audit: type=1130 audit(1585582521.969:15): pid=1 uid=0 auid=4294967295 ses=4294967295 msg='unit=bluetooth comm="systemd" exe="/usr/lib/systemd/systemd" hostname=? addr=? terminal=? res=success'
[    5.789812] Bluetooth: BNEP (Ethernet Emulation) ver 1.3
[    5.789815] Bluetooth: BNEP filters: protocol multicast
[    5.789821] Bluetooth: BNEP socket layer initialized
[    6.088435] Bluetooth: hci0: RTL: fw version 0xab6b705c
[    6.243554] Bluetooth: RFCOMM TTY layer initialized
[    6.243562] Bluetooth: RFCOMM socket layer initialized
[    6.243568] Bluetooth: RFCOMM ver 1.11
[bahaa@archlinux ~]$ bluetoothctl info FC:58:FA:85:64:E6
Device FC:58:FA:85:64:E6 (public)
	Name: E7
	Alias: E7
	Class: 0x00240404
	Icon: audio-card
	Paired: yes
	Trusted: yes
	Blocked: no
	Connected: yes
	LegacyPairing: no
	UUID: Headset                   (00001108-0000-1000-8000-00805f9b34fb)
	UUID: Audio Sink                (0000110b-0000-1000-8000-00805f9b34fb)
	UUID: A/V Remote Control Target (0000110c-0000-1000-8000-00805f9b34fb)
	UUID: Advanced Audio Distribu.. (0000110d-0000-1000-8000-00805f9b34fb)
	UUID: A/V Remote Control        (0000110e-0000-1000-8000-00805f9b34fb)
	UUID: Handsfree                 (0000111e-0000-1000-8000-00805f9b34fb)
[bahaa@archlinux ~]$ journalctl -b --user-unit=pulseaudio
-- Logs begin at Fri 2019-12-27 18:31:54 EST, end at Mon 2020-03-30 13:01:23 EDT. --
Mar 30 11:35:37 archlinux systemd[1058]: Starting Sound Service...
Mar 30 11:35:38 archlinux systemd[1058]: Started Sound Service.
Mar 30 11:36:13 archlinux pulseaudio[1166]: W: [pulseaudio] module-bluez5-device.c: Refused to switch profile to headset_head_unit: Not connected

For gdm, Yes I am using gnome on wayland.

Offline

#4 2020-03-30 17:12:57

bahaelaila7
Member
Registered: 2020-03-30
Posts: 7

Re: Pulseaudio 13.0, Bluez5 , bluetooth headset HSP/HFP not available

Additional stuff:

[bahaa@archlinux ~]$ uname -a 
Linux archlinux 5.5.13-zen1-1-zen #1 ZEN SMP PREEMPT Wed, 25 Mar 2020 16:04:45 +0000 x86_64 GNU/Linux
[bahaa@archlinux ~]$ gnome-shell --version
GNOME Shell 3.36.0
[bahaa@archlinux ~]$ systemctl status ofono
● ofono.service - Telephony service
     Loaded: loaded (/usr/lib/systemd/system/ofono.service; enabled; vendor preset: disabled)
     Active: active (running) since Mon 2020-03-30 11:35:21 EDT; 1h 36min ago
   Main PID: 511 (ofonod)
      Tasks: 1 (limit: 9158)
     Memory: 3.5M
     CGroup: /system.slice/ofono.service
             └─511 /usr/sbin/ofonod -n

Mar 30 11:35:21 archlinux systemd[1]: Starting Telephony service...
Mar 30 11:35:21 archlinux ofonod[511]: oFono version 1.31
Mar 30 11:35:21 archlinux systemd[1]: Started Telephony service.
Mar 30 11:35:26 archlinux ofonod[511]: parse_devices_reply: found 1st battery device: /org/freedesktop/UPower/devices/battery_BAT0

Offline

#5 2020-03-30 17:19:23

bahaelaila7
Member
Registered: 2020-03-30
Posts: 7

Re: Pulseaudio 13.0, Bluez5 , bluetooth headset HSP/HFP not available

this is /etc/pulse/default.pa:

#!/usr/bin/pulseaudio -nF
#load-module module-alsa-sink device=hw:"Generic_1" channel_map=right,left
#load-module module-alsa-sink device=hw:"Generic" channel_map=right,left
#
# This file is part of PulseAudio.
#
# PulseAudio is free software; you can redistribute it and/or modify it
# under the terms of the GNU Lesser General Public License as published by
# the Free Software Foundation; either version 2 of the License, or
# (at your option) any later version.
#
# PulseAudio is distributed in the hope that it will be useful, but
# WITHOUT ANY WARRANTY; without even the implied warranty of
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
# General Public License for more details.
#
# You should have received a copy of the GNU Lesser General Public License
# along with PulseAudio; if not, see <http://www.gnu.org/licenses/>.

# This startup script is used only if PulseAudio is started per-user
# (i.e. not in system mode)

.fail

### Automatically restore the volume of streams and devices
load-module module-device-restore
load-module module-stream-restore
load-module module-card-restore

### Automatically augment property information from .desktop files
### stored in /usr/share/application
load-module module-augment-properties

### Should be after module-*-restore but before module-*-detect
load-module module-switch-on-port-available

### Load audio drivers statically
### (it's probably better to not load these drivers manually, but instead
### use module-udev-detect -- see below -- for doing this automatically)
#load-module module-alsa-sink
#load-module module-alsa-sink device=hw:"Generic_1" channel_map=right,left
#load-module module-alsa-source device=hw:1,0
#load-module module-oss device="/dev/dsp" sink_name=output source_name=input
#load-module module-oss-mmap device="/dev/dsp" sink_name=output source_name=input
#load-module module-null-sink
#load-module module-pipe-sink

### Automatically load driver modules depending on the hardware available
.ifexists module-udev-detect.so
load-module module-udev-detect
.else
### Use the static hardware detection module (for systems that lack udev support)
load-module module-detect
.endif

### Automatically connect sink and source if JACK server is present
.ifexists module-jackdbus-detect.so
.nofail
load-module module-jackdbus-detect channels=2
.fail
.endif

### Automatically load driver modules for Bluetooth hardware
.ifexists module-bluetooth-policy.so
load-module module-bluetooth-policy ag=true
.endif

.ifexists module-bluetooth-discover.so
load-module module-bluetooth-discover headset=ofono
.endif

### Load several protocols
load-module module-dbus-protocol
.ifexists module-esound-protocol-unix.so
load-module module-esound-protocol-unix
.endif
load-module module-native-protocol-unix

### Network access (may be configured with paprefs, so leave this commented
### here if you plan to use paprefs)
#load-module module-esound-protocol-tcp
#load-module module-native-protocol-tcp
#load-module module-zeroconf-publish

### Load the RTP receiver module (also configured via paprefs, see above)
#load-module module-rtp-recv

### Load the RTP sender module (also configured via paprefs, see above)
#load-module module-null-sink sink_name=rtp format=s16be channels=2 rate=44100 sink_properties="device.description='RTP Multicast Sink'"
#load-module module-rtp-send source=rtp.monitor

### Load additional modules from GSettings. This can be configured with the paprefs tool.
### Please keep in mind that the modules configured by paprefs might conflict with manually
### loaded modules.
.ifexists module-gsettings.so
.nofail
load-module module-gsettings
.fail
.endif


### Automatically restore the default sink/source when changed by the user
### during runtime
### NOTE: This should be loaded as early as possible so that subsequent modules
### that look up the default sink/source get the right value
load-module module-default-device-restore

### Automatically move streams to the default sink if the sink they are
### connected to dies, similar for sources
load-module module-rescue-streams

### Make sure we always have a sink around, even if it is a null sink.
load-module module-always-sink

### Honour intended role device property
load-module module-intended-roles

### Automatically suspend sinks/sources that become idle for too long
load-module module-suspend-on-idle

### If autoexit on idle is enabled we want to make sure we only quit
### when no local session needs us anymore.
.ifexists module-console-kit.so
load-module module-console-kit
.endif
.ifexists module-systemd-login.so
load-module module-systemd-login
.endif

### Enable positioned event sounds
load-module module-position-event-sounds

### Cork music/video streams when a phone stream is active
load-module module-role-cork

### Modules to allow autoloading of filters (such as echo cancellation)
### on demand. module-filter-heuristics tries to determine what filters
### make sense, and module-filter-apply does the heavy-lifting of
### loading modules and rerouting streams.
load-module module-filter-heuristics
load-module module-filter-apply

### Make some devices default
#set-default-sink output
#set-default-source input

this is /etc/pulse/daemon.conf:

# This file is part of PulseAudio.
#
# PulseAudio is free software; you can redistribute it and/or modify
# it under the terms of the GNU Lesser General Public License as published by
# the Free Software Foundation; either version 2 of the License, or
# (at your option) any later version.
#
# PulseAudio is distributed in the hope that it will be useful, but
# WITHOUT ANY WARRANTY; without even the implied warranty of
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
# General Public License for more details.
#
# You should have received a copy of the GNU Lesser General Public License
# along with PulseAudio; if not, see <http://www.gnu.org/licenses/>.

## Configuration file for the PulseAudio daemon. See pulse-daemon.conf(5) for
## more information. Default values are commented out.  Use either ; or # for
## commenting.

; daemonize = no
; fail = yes
; allow-module-loading = yes
; allow-exit = yes
; use-pid-file = yes
; system-instance = no
; local-server-type = user
; enable-shm = yes
; enable-memfd = yes
; shm-size-bytes = 0 # setting this 0 will use the system-default, usually 64 MiB
; lock-memory = no
; cpu-limit = no

; high-priority = yes
; nice-level = -11

; realtime-scheduling = yes
; realtime-priority = 5

; exit-idle-time = 20
; scache-idle-time = 20

; dl-search-path = (depends on architecture)

; load-default-script-file = yes
; default-script-file = /etc/pulse/default.pa

; log-target = auto
; log-level = notice
; log-meta = no
; log-time = no
; log-backtrace = 0

; resample-method = speex-float-1
; avoid-resampling = false
; enable-remixing = yes
; remixing-use-all-sink-channels = yes
; enable-lfe-remixing = no
; lfe-crossover-freq = 0

flat-volumes = no
; flat-volumes = yes

; rlimit-fsize = -1
; rlimit-data = -1
; rlimit-stack = -1
; rlimit-core = -1
; rlimit-as = -1
; rlimit-rss = -1
; rlimit-nproc = -1
; rlimit-nofile = 256
; rlimit-memlock = -1
; rlimit-locks = -1
; rlimit-sigpending = -1
; rlimit-msgqueue = -1
; rlimit-nice = 31
; rlimit-rtprio = 9
; rlimit-rttime = 200000

; default-sample-format = s16le
; default-sample-rate = 44100
default-sample-rate = 48000
; alternate-sample-rate = 48000
; default-sample-channels = 2
; default-channel-map = front-left,front-right

; default-fragments = 4
; default-fragment-size-msec = 25

; enable-deferred-volume = yes
; deferred-volume-safety-margin-usec = 8000
; deferred-volume-extra-delay-usec = 0

/etc/pulse/client.conf (did not touch this):

# This file is part of PulseAudio.
#
# PulseAudio is free software; you can redistribute it and/or modify
# it under the terms of the GNU Lesser General Public License as published by
# the Free Software Foundation; either version 2 of the License, or
# (at your option) any later version.
#
# PulseAudio is distributed in the hope that it will be useful, but
# WITHOUT ANY WARRANTY; without even the implied warranty of
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
# General Public License for more details.
#
# You should have received a copy of the GNU Lesser General Public License
# along with PulseAudio; if not, see <http://www.gnu.org/licenses/>.

## Configuration file for PulseAudio clients. See pulse-client.conf(5) for
## more information. Default values are commented out.  Use either ; or # for
## commenting.

; default-sink =
; default-source =
; default-server =
; default-dbus-server =

autospawn = no
; autospawn = yes
; daemon-binary = /usr/bin/pulseaudio
; extra-arguments = --log-target=syslog

; cookie-file =

; enable-shm = yes
; shm-size-bytes = 0 # setting this 0 will use the system-default, usually 64 MiB

; auto-connect-localhost = no
; auto-connect-display = no

/etc/pulse/system.pa (did not touch this either):

#!/usr/bin/pulseaudio -nF
#
# This file is part of PulseAudio.
#
# PulseAudio is free software; you can redistribute it and/or modify it
# under the terms of the GNU Lesser General Public License as published by
# the Free Software Foundation; either version 2 of the License, or
# (at your option) any later version.
#
# PulseAudio is distributed in the hope that it will be useful, but
# WITHOUT ANY WARRANTY; without even the implied warranty of
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
# General Public License for more details.
#
# You should have received a copy of the GNU Lesser General Public License
# along with PulseAudio; if not, see <http://www.gnu.org/licenses/>.

# This startup script is used only if PulseAudio is started in system
# mode.

### Automatically restore the volume of streams and devices
load-module module-device-restore
load-module module-stream-restore
load-module module-card-restore

### Automatically load driver modules depending on the hardware available
.ifexists module-udev-detect.so
load-module module-udev-detect
.else
### Use the static hardware detection module (for systems that lack udev/hal support)
load-module module-detect
.endif

### Load several protocols
.ifexists module-esound-protocol-unix.so
load-module module-esound-protocol-unix
.endif
load-module module-native-protocol-unix

### Automatically restore the default sink/source when changed by the user
### during runtime
### NOTE: This should be loaded as early as possible so that subsequent modules
### that look up the default sink/source get the right value
load-module module-default-device-restore

### Automatically move streams to the default sink if the sink they are
### connected to dies, similar for sources
load-module module-rescue-streams

### Make sure we always have a sink around, even if it is a null sink.
load-module module-always-sink

### Automatically suspend sinks/sources that become idle for too long
load-module module-suspend-on-idle

### Enable positioned event sounds
load-module module-position-event-sounds

Offline

#6 2020-03-30 17:27:39

V1del
Forum Moderator
Registered: 2012-10-16
Posts: 21,627

Re: Pulseaudio 13.0, Bluez5 , bluetooth headset HSP/HFP not available

Ensure GDM isn't interfering/stealing the proper profile: https://wiki.archlinux.org/index.php/Bl … e_with_GDM

Offline

#7 2020-03-30 17:44:35

bahaelaila7
Member
Registered: 2020-03-30
Posts: 7

Re: Pulseaudio 13.0, Bluez5 , bluetooth headset HSP/HFP not available

There was no pulseaudio process spawned by gdm

[bahaa@archlinux ~]$ pgrep -u gdm pulseaudio
[bahaa@archlinux ~]$ 

Nonetheless, I applied the changes from that link, rebooted, but still the same (although now back to saying yes for a2dp instead of unknown):

[bahaa@archlinux ~]$ pgrep -u gdm pulseaudio
[bahaa@archlinux ~]$ pacmd list-card
    ....
    index: 2
	name: <bluez_card.FC_58_FA_85_64_E6>
	driver: <module-bluez5-device.c>
	owner module: 26
	properties:
		device.description = "E7"
		device.string = "FC:58:FA:85:64:E6"
		device.api = "bluez"
		device.class = "sound"
		device.bus = "bluetooth"
		device.form_factor = "headset"
		bluez.path = "/org/bluez/hci0/dev_FC_58_FA_85_64_E6"
		bluez.class = "0x240404"
		bluez.alias = "E7"
		device.icon_name = "audio-headset-bluetooth"
		device.intended_roles = "phone"
	profiles:
		headset_head_unit: Headset Head Unit (HSP/HFP) (priority 30, available: no)
		a2dp_sink: High Fidelity Playback (A2DP Sink) (priority 40, available: yes)
		off: Off (priority 0, available: yes)
	active profile: <a2dp_sink>
	sinks:
		bluez_sink.FC_58_FA_85_64_E6.a2dp_sink/#2: E7
	sources:
		bluez_sink.FC_58_FA_85_64_E6.a2dp_sink.monitor/#3: Monitor of E7
	ports:
		headset-output: Headset (priority 0, latency offset 0 usec, available: yes)
			properties:
				
		headset-input: Headset (priority 0, latency offset 0 usec, available: no)
			properties:

Offline

#8 2020-03-30 17:51:18

bahaelaila7
Member
Registered: 2020-03-30
Posts: 7

Re: Pulseaudio 13.0, Bluez5 , bluetooth headset HSP/HFP not available

Additional stuff saw you asking about in another post:

[bahaa@archlinux ~]$ ps aux | grep pulseaudio
bahaa       1126  0.1  0.1 1177048 15184 ?       S<sl 13:38   0:00 /usr/bin/pulseaudio --daemonize=no
bahaa       2692  0.0  0.0   8932  2312 pts/0    S+   13:45   0:00 grep --color=auto pulseaudio
[bahaa@archlinux ~]$ pulseaudio -vvv
I: [pulseaudio] main.c: setrlimit(RLIMIT_NICE, (31, 31)) failed: Operation not permitted
I: [pulseaudio] main.c: setrlimit(RLIMIT_RTPRIO, (9, 9)) failed: Operation not permitted
D: [pulseaudio] core-rtclock.c: Timer slack is set to 50 us.
D: [pulseaudio] core-util.c: RealtimeKit worked.
I: [pulseaudio] core-util.c: Successfully gained nice level -11.
I: [pulseaudio] main.c: This is PulseAudio 13.0
D: [pulseaudio] main.c: Compilation host: x86_64
D: [pulseaudio] main.c: Compilation CFLAGS: Not yet supported on meson
D: [pulseaudio] main.c: Running on host: Linux x86_64 5.5.13-zen1-1-zen #1 ZEN SMP PREEMPT Wed, 25 Mar 2020 16:04:45 +0000
D: [pulseaudio] main.c: Found 8 CPUs.
I: [pulseaudio] main.c: Page size is 4096 bytes
D: [pulseaudio] main.c: Compiled with Valgrind support: no
D: [pulseaudio] main.c: Running in valgrind mode: no
D: [pulseaudio] main.c: Running in VM: no
D: [pulseaudio] main.c: Running from build tree: no
D: [pulseaudio] main.c: Optimized build: yes
D: [pulseaudio] main.c: All asserts enabled.
I: [pulseaudio] main.c: Machine ID is 70b149a9757d4c5ca7748f9694520990.
I: [pulseaudio] main.c: Using runtime directory /run/user/1000/pulse.
I: [pulseaudio] main.c: Using state directory /home/bahaa/.config/pulse.
I: [pulseaudio] main.c: Using modules directory /usr/lib/pulse-13.0/modules.
I: [pulseaudio] main.c: Running in system mode: no
E: [pulseaudio] pid.c: Daemon already running.
E: [pulseaudio] main.c: pa_pid_file_create() failed.
[bahaa@archlinux ~]$ loginctl show-session $XDG_SESSION_ID
EnableWallMessages=no
NAutoVTs=6
KillUserProcesses=no
RebootToFirmwareSetup=no
RebootToBootLoaderMenu=18446744073709551615
IdleHint=no
IdleSinceHint=0
IdleSinceHintMonotonic=0
BlockInhibited=handle-power-key:handle-suspend-key:handle-hibernate-key:handle-lid-switch
DelayInhibited=shutdown:sleep
InhibitDelayMaxUSec=5s
UserStopDelayUSec=10s
HandlePowerKey=poweroff
HandleSuspendKey=suspend
HandleHibernateKey=hibernate
HandleLidSwitch=suspend
HandleLidSwitchDocked=ignore
HoldoffTimeoutUSec=30s
IdleAction=ignore
IdleActionUSec=30min
PreparingForShutdown=no
PreparingForSleep=no
Docked=yes
LidClosed=no
OnExternalPower=yes
RemoveIPC=yes
RuntimeDirectorySize=803524608
InhibitorsMax=8192
NCurrentInhibitors=8
SessionsMax=8192
NCurrentSessions=1
[bahaa@archlinux ~]$ echo $DBUS_SESSION_BUS_ADDRESS
unix:path=/run/user/1000/bus

Offline

#9 2020-04-01 03:51:49

bahaelaila7
Member
Registered: 2020-03-30
Posts: 7

Re: Pulseaudio 13.0, Bluez5 , bluetooth headset HSP/HFP not available

Update: I think it's working now.

I reverted everything back to the original state.
Stopped ofono, undid the /etc/pulse/* changes.
And wanted to apply them again one by one.
To my surprise after just applying

default-sample-rate = 48000 

to /etc/pulse/daemon.conf and restarting pulseaudio, it showed this:

$ pacmd list-cards:
  ....
	profiles:
		headset_head_unit: Headset Head Unit (HSP/HFP) (priority 30, available: unknown)
		a2dp_sink: High Fidelity Playback (A2DP Sink) (priority 40, available: yes)
		off: Off (priority 0, available: yes)
 ....

I changed the profile to headset_head_unit and I was able to record through the headset mic ( I walked away to the next room and talked quietly and it was picked up).
Nonetheless, the voice is utterly crappy with occasional loud ticks. I am guessing this is just the nature of this bluetooth profile, since the bandwidth is limited, headphones only work in mono. Let me know if this is NOT how it should be.
I don't know why it didn't work originally. But who cares..
Kind Regards,

Last edited by bahaelaila7 (2020-04-01 04:02:48)

Offline

Board footer

Powered by FluxBB