No sound on Ubuntu 19.10 installed on HP Pavillion 24-XA0070A
Solution 1:
For me this bug started after the update to 5.3.0-42.34 kernel version.
The #3 answer in https://bugs.launchpad.net/ubuntu/+source/linux-oem-osp1/+bug/1864061 solved my problem :
This machine has dmic on it, so the legacy hda abort the probe: snd_hda_intel 0000:00:1f.3: Digital mics found on Skylake+ platform, aborting probe
And if want the legacy hda driver to work, please add options
snd-hda-intel dmic_detect=0
in/etc/modprobe.d/alsa-base.conf
This is a machine which has dmic on it, so please blacklist
snd_soc_skl
driver through/etc/modprobe.d/blacklist.conf
, then the sof driver will be loaded.And if there is some issue, I will fix it, I am working on the the sof driver for eoan kernel now.
Solution 2:
Run this command:
pulseaudio -k && sudo alsa force-reload
After running this command I am able to see all output devices in the Settings menu & it solves the problem automatically.
This isn't a parmanent fix though.
I have GTX 970 on my desktop which provides display through HDMI port. Very often the output devices disappear from the option (& there is no sound) after I turn on the PC from suspension.
Solution 3:
You should go to Settings → Sound → Output → Output Device and try selecting a different output device (if you have not tried that already).
Solution 4:
I had a somewhat similar issue. I found that after updating to 19.10, I was not getting audio from headphones. After not finding any issue in pulse audio or alsamixer, I found that setting the input device to be the same port as the output device resolved the issue for me.
In other words, if you're using the built-in speakers, set input device as built-in microphone, and if you're using built-in headphones, set built-in headset microphone (even if the headphones don't have a microphone).
I'm not knowledgeable enough about the kernel to guess why this has happened, but I hope my experience at least helps you troubleshoot further if it's not able to resolve your issue.