I have an HP Pavilion (laptop) and the audio worked fine (both internal speakers and headset) with Ubuntu 19.10. After upgrading to Ubuntu 20.04 the internal speakers worked but the headset didn't. In the process of trying to fix the headset I broke it, no audio output. I was following the answer for Ubuntu 18.04: Audio doesn't work unless I switch between outputs and after option #2, no sound.
output of: aplay -l | grep card card 0: PCH [HDA Intel PCH], device 0: ALC3241 Analog [ALC3241 Analog] card 0: PCH [HDA Intel PCH], device 3: HDMI 0 [HDMI 0] card 0: PCH [HDA Intel PCH], device 7: HDMI 1 [HDMI 1] card 0: PCH [HDA Intel PCH], device 8: HDMI 1 [HDMI 2] card 0: PCH [HDA Intel PCH], device 9: HDMI 1 [HDMI 3] card 0: PCH [HDA Intel PCH], device 10: HDMI 1 [HDMI 4]
Any help figuring this out is appreciated. I'll be happy to provide any information needed.