No sound after installing Parrot OS to X1 Carbon (7th Gen) - kdaisho/Blog GitHub Wiki

I followed the guide in this: https://askubuntu.com/questions/1218130/ubuntu-18-04-lenovo-thinkpad-carbon-sound-card-not-recognized-since-firmware-u

And that solved. I tried two things:

1. First attempt - Edit grub

Edit /etc/default/grub as root and add the next kernel parameter:

GRUB_CMDLINE_LINUX="snd_hda_intel.dmic_detect=0"

Save and then execute in terminal:

sudo update-grub

And restart...

That didn't work.

2. Second attempt - Modify two files

Add options snd-hda-intel dmic_detect=0 in the configuration file /etc/modprobe.d/mdadm.conf as follows:

options md_mod start_ro=1
options snd-hda-intel dmic_detect=0 # (new)

Add blacklist snd_soc_skl in the config file /etc/modprobe.d/blacklist-libnfc.conf as follows:

blacklist nfc
blacklist pn533
blacklist pn533_usb
blacklist snd_soc_skl # (new)

Then restart the machine, and it worked.