Ok. Recently I was having a problem where my system wouldn’t detect when I connect a headphone into my front panel headphone jack. I was able to fix this by creating a
/etc/modprobe.d/alsa-base.conf file and adding
options snd-hda-intel model=,no-front-hp to it, which would disable headset autodetection and would make the system always treat the front panel as if it had a headphone connected.
The problem is that I had to reinstall my system, and now when I do the same steps it doesn’t work anymore. I think it might be another related audio config that I should have had in my previous installation that I don’t have anymore, but I don’t know what it is.
cat /proc/asound/card*/codec* | grep Codec
Codec: ATI R6xx HDMI
Codec: Realtek ALC897