Pipewire does not honor use cases to switch audio sink
- PipeWire version (
pipewire --version
):
$ pipewire --version
pipewire
Compiled with libpipewire 0.3.40
Linked with libpipewire 0.3.40
- Distribution and distribution version (
PRETTY_NAME
from/etc/os-release
):
$ cat /etc/os-release |grep PRETTY
PRETTY_NAME="Fedora Linux 35 (Workstation Edition)"
- Desktop Environment:
Gnome
- Kernel version (
uname -r
):
$ uname -r
5.14.18-300.fc35.x86_64
Description of Problem:
In order to get my audio playing on my speakers, I have to use the command:
$alsaucm -c kblda7219max set _verb HiFi set _enadev Speaker
In order to switch to headphones, I have to give the command:
$alsaucm -c kblda7219max set _verb HiFi set _enadev Headphone
To switch back to speakers, I have to use the first command again.
When I connect to bluetooth, pipewire automatically switches to the bluetooth speakers. It automatically switches back when I disconnect BT.
How do I get PW to automatically detect the jack change and honor the use cases for speakers and headphones?
How Reproducible:
Happens always
Steps to Reproduce:
1.see above
Actual Results:
Built in laptop speakers are not active until use case command is issued.
Switching between speakers and headphones is manual through sending the use case commands.
Expected Results:
Pipewire should automatically detect the jack change and honor the use cases for speakers and headphones.
Additional Info (as attachments):
-
pw-dump > pw-dump.log
: pw-use-case.log