I have been using ubuntu 20.04 recently and have a HP pavillion laptop with B&O speakers. However i am not able to hear any sound. though, Bluetooth is working fine.
I have tried many solutions such as :
*sudo apt purge timidity-daemon
*sudo alsa force-reload
*sudo apt install pavucontrol
and running pavucontrol
.
None of the solutions have worked for me yet.
EDIT: Later I assumed it to be a kernel bug and say a solution using the following commands:
sudo add-apt-repository ppa:kaihengfeng/fix-lp1869819
sudo apt-get update
after that i have tried reinstalling pulseaudio. And now bluetooth devices just after getting connected are automatically disconnected, do not play any sound either.
Finally, after surfing a lot through the net and reading about options of alsa for NVIDIA aound controller I got the following solution
2 files are to be changed
/etc/modprobe.d/alsa-base.conf
/etc/modprobe.d/blacklist.conf
options snd-hda-intel dmic_detect=0
blacklist snd_soc_skl
Reboot and Enjoy with the restored sound!
This worked well with me. Would appreciate for explaining, what exactly these two changes are making.
It appears that the instructions for file 1 and file 2 are reversed.
With a new issue - I had to return to this topic: this solution is ommiting detection of built in mic and blacklisting it from availiavle devices. As a result - your setup will work only with external mic (which was not a problem to me for a while). Problem for me started, when I tried switch to new headphones with no built in mic.