Skip to content

Instantly share code, notes, and snippets.

@ThHareau
Last active March 1, 2024 16:59
Show Gist options
  • Star 2 You must be signed in to star a gist
  • Fork 1 You must be signed in to fork a gist
  • Save ThHareau/4509e969a094429121bd9830d88adeb7 to your computer and use it in GitHub Desktop.
Save ThHareau/4509e969a094429121bd9830d88adeb7 to your computer and use it in GitHub Desktop.
Enable sound for Realtek ALC711-CG (used in Dell Latitude 9510, XPS 9700 and others)
sudo apt-get install zstd
mkdir /tmp/sound
cd /tmp/sound
# Step 1: update kernel
sudo apt install linux-oem-20.04
# Step 2: download sof 1.6.2
wget https://ftp5.gwdg.de/pub/linux/archlinux/extra/os/x86_64/sof-firmware-1.6.1-1-any.pkg.tar.zst
tar -I zstd -xvf sof-firmware-1.6.1-1-any.pkg.tar.zst
sudo rm -rf /usr/lib/firmware/intel/sof*
sudo mv usr/lib/firmware/intel/* /usr/lib/firmware/intel/
# Step 3:
wget http://xps17.ddns.net/sof-soundwire.zip
unzip sof-soundwire.zip
sudo rm -rf /usr/share/alsa/ucm2/sof-soundwire
sudo mv sof-soundwire /usr/share/alsa/ucm2/
@ThHareau
Copy link
Author

@tae898
Copy link

tae898 commented Dec 13, 2020

Hey thanks for putting this to a script.

However, I had to change the below code

wget https://ftp5.gwdg.de/pub/linux/archlinux/extra/os/x86_64/sof-firmware-1.6-2-any.pkg.tar.zst
tar -I zstd -xvf sof-firmware-1.6-2-any.pkg.tar.zst

to

wget https://ftp5.gwdg.de/pub/linux/archlinux/extra/os/x86_64/sof-firmware-1.6-3-any.pkg.tar.zst
tar -I zstd -xvf sof-firmware-1.6-3-any.pkg.tar.zst

to get it work. I guess the old link is broken because of the new version?

Thanks

@ThHareau
Copy link
Author

Indeed, I've updated the gist. Thanks for noticing!

@AceBeaker2
Copy link

Is there any way to get it working on fedora 38?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment