Hello! I’m new on this forum (and in openSUSE as well) and maybe I should start this topic in a Hardware category, but seems like the problem is whis PipeWire, so I’ll start it here.
I’ve just installed openSUSE Tumbleweed and found that I have no H2DP sound sound in my BH317 bluetooth headphones, only HSP/HFP. When I try to set up H2DP in Plasma System Settings this option is available, but I hear only silens. Can anybody help me?
I’ve found a hint here: PipeWire - ArchWiki (5.1.12) and it looks like my case, but I’m unsure because I have no such configs neitherr in /etc, nor in ~/.config, though wirepluber is installed. Mayby ArchWiki is a bit outdated and newer versions of wireplumer keep thair config anywhere else?
In my attempts to found pipewire’s configs I’ve discovered a strange thing: systemctl cannot found neither pipewire.service, nor wireplumber.service, nor even pulseaudio service as well. Though, pipewire and wireplumber are running according to process list.
$ps aux | grep pipewire
horahty 1825 0.0 0.1 107676 11512 ? S<sl июл22 0:01 /usr/bin/pipewire
horahty 1828 0.0 0.2 191208 19976 ? S<sl июл22 1:39 /usr/bin/pipewire-pulse
horahty 39186 0.0 0.0 6676 4144 pts/2 S+ 16:00 0:00 grep --color=auto pipewire
$ ps aux | grep wireplumber
horahty 1827 0.1 0.2 632672 16800 ? S<sl июл22 3:10 /usr/bin/wireplumber -p main
horahty 39188 0.0 0.0 6676 4140 pts/2 S+ 16:00 0:00 grep --color=auto wireplumber
$ systemctl list-units | cat
UNIT LOAD ACTIVE SUB DESCRIPTION
...
alsa-restore.service loaded active exited Save/Restore Sound Card State
auditd.service loaded active running Security Audit Logging Service
avahi-daemon.service loaded active running Avahi mDNS/DNS-SD Stack
bluetooth.service loaded active running Bluetooth service
bolt.service loaded active running Thunderbolt system service
chronyd.service loaded active running NTP client/server
cron.service loaded active running Command Scheduler
cups.service loaded active running CUPS Scheduler
dbus-broker.service loaded active running D-Bus System Message Bus
display-manager-legacy.service loaded active running X Display Manager
dracut-shutdown.service loaded active exited Restore /run/initramfs on shutdown
firewalld.service loaded active running firewalld - dynamic firewall daemon
getty@tty1.service loaded active running Getty on tty1
getty@tty3.service loaded active running Getty on tty3
getty@tty4.service loaded active running Getty on tty4
getty@tty5.service loaded active running Getty on tty5
getty@tty6.service loaded active running Getty on tty6
irqbalance.service loaded active running irqbalance daemon
kbdsettings.service loaded active exited Apply settings from /etc/sysconfig/keyboard
kernel-sysctl.service loaded active exited Apply Kernel Variables for 6.15.6-1-default
kmod-static-nodes.service loaded active exited Create List of Static Device Nodes
lvm2-monitor.service loaded active exited Monitoring of LVM2 mirrors, snapshots etc. using dmeventd or progress polling
mcelog.service loaded active running Machine Check Exception Logging Daemon
ModemManager.service loaded active running Modem Manager
NetworkManager-wait-online.service loaded active exited Network Manager Wait Online
NetworkManager.service loaded active running Network Manager
nvidia-persistenced.service loaded active running NVIDIA Persistence Daemon
plymouth-quit-wait.service loaded active exited Hold until boot process finishes up
plymouth-read-write.service loaded active exited Tell Plymouth To Write Out Runtime Data
plymouth-start.service loaded active exited Show Plymouth Boot Screen
polkit.service loaded active running Authorization Manager
postfix.service loaded active running Postfix Mail Transport Agent
power-profiles-daemon.service loaded active running Power Profiles daemon
rtkit-daemon.service loaded active running RealtimeKit Scheduling Policy Service
smartd.service loaded active running Self Monitoring and Reporting Technology (SMART) Daemon
soft-reboot-cleanup.service loaded active exited Cleanup system data after soft-reboot
switcheroo-control.service loaded active running Switcheroo Control Proxy service
systemd-backlight@backlight:intel_backlight.service loaded active exited Load/Save Screen Backlight Brightness of backlight:intel_backlight
systemd-binfmt.service loaded active exited Set Up Additional Binary Formats
systemd-fsck@dev-disk-by\x2duuid-122d83e6\x2dc309\x2d4c0c\x2d8863\x2d03de4976e71b.service loaded active exited File System Check on /dev/disk/by-uuid/122d83e6-c309-4c0c-8863-03de4976e71b
systemd-fsck@dev-disk-by\x2duuid-E204\x2d77BC.service loaded active exited File System Check on /dev/disk/by-uuid/E204-77BC
systemd-journal-flush.service loaded active exited Flush Journal to Persistent Storage
systemd-journald.service loaded active running Journal Service
systemd-logind.service loaded active running User Login Management
systemd-modules-load.service loaded active exited Load Kernel Modules
systemd-random-seed.service loaded active exited Load/Save OS Random Seed
systemd-remount-fs.service loaded active exited Remount Root and Kernel File Systems
systemd-sysctl.service loaded active exited Apply Kernel Variables
systemd-tmpfiles-setup-dev-early.service loaded active exited Create Static Device Nodes in /dev gracefully
systemd-tmpfiles-setup-dev.service loaded active exited Create Static Device Nodes in /dev
systemd-tmpfiles-setup.service loaded active exited Create System Files and Directories
systemd-udev-load-credentials.service loaded active exited Load udev Rules from Credentials
systemd-udev-trigger.service loaded active exited Coldplug All udev Devices
systemd-udevd.service loaded active running Rule-based Manager for Device Events and Files
systemd-user-sessions.service loaded active exited Permit User Sessions
systemd-vconsole-setup.service loaded active exited Virtual Console Setup
udisks2.service loaded active running Disk Manager
upower.service loaded active running Daemon for power management
user-runtime-dir@1000.service loaded active exited User Runtime Directory /run/user/1000
user@1000.service loaded active running User Manager for UID 1000
wpa_supplicant.service loaded active running WPA Supplicant daemon
wtmpdb-update-boot.service
...
But I have sound both from my headphones, though in HSP/HFP, and from built-in speakers in my laptop. System is fresh, newly installed few days ago. I would be grateful to any idea about this.
Oh, I’ve forgot --user argument. What a foolish mistake!
But well, I’ve created wireplumber directory in ~/.config and then added a wireplumber.conf.d/bluez-config.conf as the ArchWiki recomended with such lines:
And then I did $ systemctl --user restart wireplumber
And… Nothing. I still have no A2DP sound
I started to think that maybe the idea to switch back to PulseAudio is not as bad
Well, it shows connections between app and headphones, when i try to play sound, but still silence.
Also, I’ve paired headphones with my phone to check them and they work, so problem is somewhere in software
I can’t find here any hints, it looks like everything is working and my pactl output seems to be the same is yours, only PIN and device name are different
I have no idea about Sink number, to be honest. There is another suspended sink of my laptop’s speakers, it has high number too. Here is missed output of command from previous message:
Yes, I have also a second Sink with Description: Built-in Audio Analog Stereo. I have speakers connected to it and I can run audio on them.
For you it is presumably connected to the laptop speakers, if you select it as active sink do you hear then audio? Does the laptop have an audio connector, if so can you connect a wires headphone and test that?
Well, my laptop has audio connector, but the headphones’ connector is broken, so I can’t test it. Also, I have neither /etc/pipewire/, nor /etc/wirepluber/ directories, only ~/.config/wireplumer/ with wireplumber.conf.d/bluez-config.conf, wich I’ve created by myself, as I wrote here early. So, I suppose, my Pipewire settings are already default. Maybe, I should try to write something in configs instead?
I did not configure anything and the headphone works. Diffing your config with mine I saw that api.bluez5.codec was different (aptx_hd vs sbc_xq) but I assumed this was because of an auto-config.
I would still suggest to start with a clean config, maybe backup-ing what you currently have.
It didn’t work out of the box, when all configs were clean. The sbc codeces were in the ArchWiki, were I’ve found this solution, but even before that they were autodetected by KDE System Settings, so I’ve decided to leave it.
Wow, finaly I have sound! I’ve checked if the codeces are installed, and found that I have only libsbc, but nothing about sbc-xq. But I tested sound only on SBC-XQ. I’ve switched on SBC and now it works
So, the problem was with the codec. Anyway, thank you for help!