Jack detection works but path settings seem to be wrong
Hello everyone,
I am having trouble getting my audio to work properly. While the plugged in jacks appear to get detected correctly, I'm not getting audio where I should get it. I'll try to explain the situation:
- I have headphones that I want to plug into the front audio jack when I need them
- I have speakers that are always plugged into the rear audio jack
- When I have only my speakers plugged in, I get no audio
- in
pavucontrol
I can see the selected port being "Line Out (plugged in)" - I do get audio when I switch to the other available option "Headphones (unplugged)"
- in
- When I plug in my Headphone into the front jack, I get audio from my headphones
- in
pavucontrol
the port "Headphones (plugged in)" is automatically selected - there is still the other port "Line Out (plugged in)"
- in
- When I unplug my headphones it always changes the port to "Line Out (plugged in)", but I get no audio
I also looked at this with alsamixer and I made screenshots of the changes when I plug in / unplug my headphones.
Jack detection seems to work fine, but the "routing" of the audio seems to fail. The audio that should go to Line Out, never reaches the right jack. I'm also very confused at to why the headphone volume control controls the volume for both, the rear and front panel.
Any help would be greatly appreciated. I'm not new to linux, but this goes into linux internals I never quite understood.
System Information:
System: Host: tobias-X570 Kernel: 5.5.0-050500rc5-generic x86_64 bits: 64 Desktop: KDE Plasma 5.18.2
Distro: KDE neon User Edition 5.18
Machine: Device: desktop System: Gigabyte product: X570 AORUS MASTER v: -CF serial: N/A
Mobo: Gigabyte model: X570 AORUS MASTER v: x.x serial: N/A
UEFI: American Megatrends v: F11 date: 12/06/2019
CPU: 8 core AMD Ryzen 7 3800X (-MT-MCP-) speed/max: 1857/3900 MHz
Audio: Card-1 Advanced Micro Devices [AMD] Device 1487 driver: snd_hda_intel
Card-2 Advanced Micro Devices [AMD/ATI] Device ab38 driver: snd_hda_intel
Sound: Advanced Linux Sound Architecture v: k5.5.0-050500rc5-generic
$ grep "Codec:" /proc/asound/card*/codec*
/proc/asound/card0/codec#0:Codec: ATI R6xx HDMI
/proc/asound/card1/codec#0:Codec: Realtek ALC1220