Thinkpad x1 carbon 7th gen. Sound gone. Only dummy output available. Soundcard not detected
I have a habit of running
sudo apt-get install dist-upgrade from time to time and i also update the system whenever system updater prompts me to. After the last update i have my system's volume gone. In fact the soundcard is not getting recognized at all. I have tried to
sudo alsa force-reload. I have tried this. I have tried everything that comes on first page of google if i type "Ubuntu 18.04 sound gone shows only dummy output."
I have tried uninstalling alsa and pulseaudio
also, when i run sudo pulseaudio -k i get:
E: [pulseaudio] core-util.c: Home directory not accessible: Permission denied
E: [pulseaudio] main.c: Failed to kill daemon: No such file or directory
Can somebody guide me to get the sound back?