No cards available for configuration - PulseAudio
I cannot hear any sounds. I have pavucontrol installed and in the Configuration
tab, it says "No cards available for configuration". Everything is set to dummy output.
I don't know what caused this, I tried reinstalling everything pulseaudio related and restarted but no luck.
When the sound did work, I used to hear this crackling sound so I ran this command echo 0 | sudo tee /sys/module/snd_hda_intel/parameters/power_save
which worked fine before but now it gives me an error saying: /usr/bin/tee: /sys/module/snd_hda_intel/parameters/power_save: No such file or directory
That could be where the problem is coming from. Some other things:
$ aplay -l
aplay: device_list:274: no soundcards found...
$ pacmd list-cards
0 card(s) available.
I have tried a whole load of things from the internet but nothing works. Please help me.
Edit: I found out that I tried to install realtek drivers. I tried with these ones to be specific
I remember make install
giving me some errors.
I tried doing make uninstall
afterwards tho
I rebooted afterwards but nothing.
Edit 2: The /sys/module/snd_hda_intel
folder is missing. This has to be the root of the problem. Is there a way I can get that back?
I suggest to reinstall kernel. Run in a terminal
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)