Switching between headphones and speakers

broken image
broken image
broken image

Kernel modules: snd_hda_intel, snd_soc_skl, sof_pci_dev Lspci: Audio device: Intel Corporation Cannon Lake PCH cAVS (rev 10) The same behavior on my work computer with Realtek ® ALC887 8-channel high definition audio CODEC*Īplay - PCH, device 0: ALC887-VD Analog Whereas lspci shows Audio device: Intel Corporation 7 Series/C216 Chipset Family High Definition Audio Controller (rev 04) Manual says it’s Realtek ® ALC892 8-channel High Definition Audio CODEC.Īplay -l shows it as card 0: PCH, device 0: ALC892 Analog I use desktop computer with Asus motherboard’s integrated audio.

broken image

I do use a rather crude workaround for this with alsamixer – but it’s rather clumsy and switches between outputting sound to both devices simultaneously or headphones only – not an elegant solution.

broken image

I’ve searched for solution for some time but couldn’t find anything good. I think I’ve seen them as separate devices on older (not recent) versions of Fedora as well but I can be mistaken here. I have to say that Windows does show speakers and headphones as separate output devices and allows switching between them easily – so I’m quite sure the same can be achieved in Linux. I know that sound output switching works ok when I physically remove/connect my headphones, but is there a way to achieve the same without unlugging anything?