I had a problem with headphone mic not working and as I was trying different solutions a sound completely stopped working. First there was a "Dummy Output" and
$pacmd list-cards
0 card(s) available.
I tried to reinstall
$ sudo dmesg | grep snd
[ 3.768637] snd_hda_intel 0000:00:1f.3: DSP detected with PCI class/subclass/prog-if info 0x040100
[ 3.768711] snd_hda_intel 0000:01:00.1: enabling device (0000 -> 0002)
[ 3.769004] snd_hda_intel 0000:01:00.1: Disabling MSI
[ 3.769009] snd_hda_intel 0000:01:00.1: Handle vga_switcheroo audio client
and now situation is like
$ sudo pacmd list-sinks
No PulseAudio daemon running, or not running as session daemon.
I tried many thinks and as I understand it would be better if I'd install 20.04 with better sof version.
I tried:
sudo apt-get update
sudo apt-get dist-upgrade
sudo apt-get autoremove
sudo apt install --reinstall linux-image-$(uname -r)
sudo apt install --reinstall linux-modules-$(uname -r)
sudo apt install --reinstall linux-modules-extra-$(uname -r)
and many other thinks. Is there any way to reinstall sound drivers to get sound back (with headphones and headphone mic)?