I just got a pair of headphones and noticed I can’t find where I can select what happens when I plug my headphones in. Currently when I plug them I have sound on both my speakers and headphones, even though I want the speakers muted when I plug in my heaphones, like on my laptop. I went in Pulse Audio settings, Audio Volume control setting but can’t find the setting.
The headphones are plugged in the headphones jack on the front of the case. The front panel is connected to the mobo via HD Audio front header.
As noted by myself already, my view is you are already in bug reporting territory … and whether we come up with a fix or not, a bug report should be raised as this should ‘just work’ and it does not ‘just work’. There is guidance for raising a bug report here: https://en.opensuse.org/openSUSE:Submitting_bug_reports
Raising a bug report gets the attention of the best experts on sound - the packagers of openSUSE and also possibly an alsa developer. Do not bother referencing a forum thread in a bug report as they will not read it. Your bug report needs to be complete. You do not need to post all those custom retrievals you have done. Just post the output of the diagnostic script I had you run. ie /usr/sbin/alsa-info.sh
Now anything I can provide is only pure speculation - which is why a bug report is a better idea.
Now I note your PC has the HDMI device as card-0 and the analog sound device as core-1 . That can cause sound problems (such as no sound) if one does not know how to work around it. This is because by default all sound goes to card-0 (ie the HDMI). Clearly you do not have that no sound problem - but maybe the order is messing up the automatic mute of the speakers when headphones are plugged in . <<<< and that is speculation.
Now does your PC have more than one audio out jack ? If so, does either jack work wrt muting the sound?
Possibly one could force a specific alsa config upon boot using this from the HD-Audio-Models.txt file, trying one value at a time in the 50-sound.conf with some very exact syntax (that I would need to provide). And given both the HDMI and analog device both use the intel driver, its possible I need to fix the sound card order prior to do such in order to ensure the config is applied to the correct instance.
mario Chromebook mario model fixup
inv-dmic Inverted internal mic workaround
dell-headset-multi Headset jack, which can also be used as mic-in
In all due honesty - this is not something quick to do given my degree of speculation and likely we would end up trying dozen or more possibilities. If you raise a bug report it will IMHO be far quicker to get a working solution, than anything I can provide.
Thank you for your input!
I will off course start a bug but before that I’ll pop the case open tomorrow and check again the front panel connections and will try some BIOS settings if available and maybe another pair of headphones.
To answer your observations, I only have 3 jacks on the back, speakers, mic, line in. On the front of the case I have headphones and mic. That HDMI sound output device is most likely the AMD APU with its integrated Radeon graphics and HDMI port on the motherboard. I don’t have that set in Pulse Audio Control, the second Output device is OFF. There is only one output device set and that is Analog Stereo Output. Anyways, I played with all possible combinations there and couldn’t made the automute work. What I noticed is that on the drop down list where you can select LineOut and Headphones, only the Line Out appears as LineOut (plugged in), headphones don’t have the plugged in status. Removing the speakers jack does remove the plugged in status so I think jack sensing work though.
Will return tomorrow with some results!
Well, I think I just found out what’s happening with my sound issue.
It seems that because I have an old case, a Thermaltake Mambo wich has a AC97 style audio front panel combined with my newer mobo, wich has only a HD Audio front panel header but NO option in BIOS to emulate AC97 connection, the jack sensing function is missing. I did some research on both the mobo’s manual and the case’s manual. Even though I have a wiring pinout on how to connect the case’s front panel on both AC97 and HD audio style headers, is acts (I think) as a normal Line Out duplicate, some sort of splitter. Due to that I think its impossible for the kernel to know when I plug in my headphones in order to mute the Line Out, it basically doen’t see the headphones port activity because its wired in this compatibility way.
I will invest in a new case soon, that will most likely have an HD Audio header.
I don’t know if there is a way to solve my problem via software, I don’t know if there is a software method of muting the Line Out jack on the back of the mobo and allow audio only on the HD Audio header and vice versa.