Skip to content

Instantly share code, notes, and snippets.

@cbecker
Last active December 9, 2022 16:04
Show Gist options
  • Save cbecker/c3f81df87e320e85d33d9798b5b6f0c9 to your computer and use it in GitHub Desktop.
Save cbecker/c3f81df87e320e85d33d9798b5b6f0c9 to your computer and use it in GitHub Desktop.
Pipewire on debian 11. Soundcore Liberty 3 Pro microphone/headset working

Instructions to replace PulseAudio with PipeWire on debian 11.

sudo apt install -t backports pipewire pipewire-alsa pipewire-audio-client-libraries 

Populate config files in /etc/pipewire/media-session.d:

# Set up basic config files
sudo touch /etc/pipewire/media-session.d/with-pulseaudio
sudo cp /usr/share/doc/pipewire/examples/systemd/user/pipewire-pulse.* /etc/systemd/user/

Put the content below in the file at /etc/pipewire/media-session.d/bluez-monitor.conf to enable extra codecs:

properties = {
    bluez5.msbc-support = true
    bluez5.enable-msbc = true
    bluez5.sbc-xq-support = true
    bluez5.codecs = [sbc sbc_xq]
}

Reload daemon file for systemd and start service:

systemctl --user daemon-reload

# disable pulse audio
systemctl --user --now disable pulseaudio.service pulseaudio.socket

# enable pipewire
systemctl --user --now enable pipewire pipewire-pulse

# mask pulseaudio
systemctl --user mask pulseaudio

now reboot and try :)

If you need to revert to pulseaudio, follow the last part of https://trendoceans.com/install-pipewire-on-debian-11/

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment