I have a Lenovo ThinkPad P1Gen3 with Intel HDA audio. After updating to 41, in Plasma the sound output went to HDMI. I had to enable "inactive" devices in Plasma audio setting to even be able to select the speaker or headphones. In both Plasma and Gnome, in audio settings, two "profiles" are visible for the Intel HDA audio device, called "Comet Lake PCH cAVS".They are "Play HiFi Quality Music (HDMI1, HDMI2, HDMI3, Headphones, Mic1, Mic2" and "Play HiFi Quality Music (HDMI1, HDMI2, HDMI3, Mic1, Mic2, Speaker". In Plasma, I actually have to switch these profiles to switch output from headphones to speaker and vice versa. It seems that in Gnome I can directly switch outputs in audio settings. But automatic switching when I plug the headphones in/out never happens. This is a regression in Fedora 41. Everything worked fine in Fedora 40 until I updated to Fedora 41 late February 2025. I could use the speaker, plug in the headphones and have the headphones work automatically, plug out the headphones and have the speaker work. And HDMI never took priority, headphones/speaker were always the default. Reproducible: Always
Another note: this does not seem to be a kernel issue. For an unrelated reason I switched to the LTS kernel from Copr and the profiles did not change.
I have now found that the issue happens only when the ThinkPad is connected to the dock. If I connect the headphones to the dock instead, I no onger have a problem switching to them. However, in this case the Intel HDA device periodically switches from the speaker profile to the headphones profile on its own (despite having no headphones attached to the device), so if I want to use the speaker I have to switch the profile manually.
I have the same problem. There are 3 profile 1 containing headphone and all display 2 containing speaker and all display 3 professional audio without connected display all works when I connect the headphone it switch correctly to headphone and when disconnect it switch to speaker with display connected it does not switch to the other profile but to the display device in the same profile. do Exists a workaround to separate the display profile in another profile to give that different priority. I'm on Plasma fedora 42
I add the information from alsa-info.sh https://alsa-project.org/db/?f=61d3ad29637159849071a0a6333d7b8767c107e4