Linux Mint 21.1 - get sound on Linux on Larkbox

new tuto, simpler and faster.
First, I installed Linux Mint 21.1 Cinnamon.

then I created a script “”:

script start

#sound enabler for linux mint 21.1 with essx8336 in Larkbox
#latest kernel version as of 20230321: 6.2.7

#first, OS update and sof install
sudo apt update -y && sudo apt upgrade -y
sudo apt install firmware-sof-signed

#second, install latest available kernel ()
cd /tmp
chmod +x
sudo mv /usr/local/bin/
#check available latest kernel version -c
#install latest kernel version
sudo -i
#list installed kernel
sudo -l

#third, forcing grub to load specific driver: add snd_intel_dspcfg.dsp_driver=1 to GRUB_CMDLINE_LINUX_DEFAULT
sudo tee /etc/default/grub >/dev/null <<'EOF'
# If you change this file, run 'update-grub' afterwards to update
# /boot/grub/grub.cfg.
# For full documentation of the options in this file, see:
#   info -f grub -n 'Simple configuration'

GRUB_DISTRIBUTOR=`lsb_release -i -s 2> /dev/null || echo Debian`
GRUB_CMDLINE_LINUX_DEFAULT="quiet splash snd_intel_dspcfg.dsp_driver=1"

# Uncomment to enable BadRAM filtering, modify to suit your needs
# This works with Linux (no patch required) and with any kernel that obtains
# the memory map information from GRUB (GNU Mach, kernel of FreeBSD ...)

# Uncomment to disable graphical terminal (grub-pc only)

# The resolution used on graphical terminal
# note that you can use only modes which your graphic card supports via VBE
# you can see them in real GRUB with the command `vbeinfo'

# Uncomment if you don't want GRUB to pass "root=UUID=xxx" parameter to Linux

# Uncomment to disable generation of recovery mode menu entries

# Uncomment to get a beep at grub start
#GRUB_INIT_TUNE="480 440 1"

sudo update-grub


script end


Actually, with Linux Mint Cinnamon 21.1 and kernel 5.15, only grub editing is required ( /etc/default/grub ), modify GRUB_CMDLINE_LINUX_DEFAULT to add snd_intel_dspcfg.dsp_driver=1 then run sudo update-grub:

GRUB_CMDLINE_LINUX_DEFAULT="quiet splash snd_intel_dspcfg.dsp_driver=1"

In short:

sudo sed -i "s/quiet splash/quiet splash snd_intel_dspcfg.dsp_driver=1/" /etc/default/grub
sudo update-grub
sudo  reboot

Modifying iso ( /boot/grub/grub.cfg ) by adding snd_intel_dspcfg.dsp_driver=1 between “splash” and “–”, you have sound in live mint:

menuentry "Start Linux Mint 21.1 Cinnamon 64-bit" --class linuxmint {
	set gfxpayload=keep
	linux	/casper/vmlinuz  file=/cdrom/preseed/linuxmint.seed boot=casper iso-scan/filename=${iso_path} quiet splash snd_intel_dspcfg.dsp_driver=1 --
	initrd	/casper/initrd.lz