No Audio - Lenovo IdeaPad Flex 3i Chromebook Gen 6 (11" Intel N4500) (BOTENFLEX)
No Audio with a Lenovo IdeaPad Flex 3i Chromebook Gen 6, board name: BOTENFLEX-GWDK.
The CPU is a Jasper lake Intel N4500.
Running Ubuntu with the Gnome desktop, tried the sof-setup-audio and SOUNDCARD=rtk sof-setup-audio scripts.
Looking forward to getting this fixed.
Thank you.
Join the Discord for expedited priority.
Thank you @MilkyDeveloper for helping me getting this fixed.
I was having issue's with PulseAudio taking over a minute to initialise with the latest build, so tried an older image I built from Saturday 13th Aug, applied the fix and no more issues, PulseAudio loads during boot and the volume keys work. Thanks for fixing the Bluetooth Audio issue too.
I will add what I did to get the audio working:
After a fresh install ran the sof-setup-audio script (using an older version, attached) sof-setup-audio.zip
Edited the /etc/pulse/default.pa file. (Switched the AUX and OUTPUT lines so the onboard speakers are selected on boot instead of the headphone jack.)
.fail
# INPUT/RECORD INTERNAL
load-module module-alsa-source device="hw:0,99" tsched=1
# INPUT/RECORD EXTERNAL
load-module module-alsa-source device="hw:0,1" tsched=1
# OUTPUT/PLAYBACK
load-module module-alsa-sink device="default" tsched=1
# AUX PORT
load-module module-alsa-sink device=hw:0,1 tsched=1
# Accept clients
load-module module-native-protocol-unix
# Automatically switch to USB/BT devices
.ifexists module-switch-on-connect.so
load-module module-switch-on-connect
.endif
# Automatically load driver modules for Bluetooth hardware
.ifexists module-bluetooth-policy.so
load-module module-bluetooth-policy
.endif
.ifexists module-bluetooth-discover.so
load-module module-bluetooth-discover
.endif
.nofail
Cloned the correct UCM files and copied to /usr/share/alsa/ucm2/conf.d/sof-rt5682
git clone https://github.com/cb-linux/cb-ucm; cd cb-ucm
sudo rm -rf /usr/share/alsa/conf.d/sof-rt5682
sudo cp -Rv sof-rt5682/sof-rt5682.rt1015 /usr/share/alsa/ucm2/conf.d/sof-rt5682
Rebooted the Chromebook and ran the following commands:
systemctl stop --user pulseaudio.socket
sleep 1
systemctl stop --user pulseaudio.service
alsaucm -c sof-rt5682 set _verb HiFi set _enadev Speaker
speaker-test
The speaker-test worked so rebooted again.
Onboard audio seems to work fine now running Ubuntu 22.04 with the Gnome Desktop, XFCE works too. The headphone jack works but you have to manually switch sources (not a big deal), Bluetooth audio does auto switch when connected/disconnected, not tried any audio inputs.
Not really an issue, but all the sources are named "sof-rt5682" in settings instead of Speakers, Headphones etc. Other than that everything seems to be working on the Chromebook now.
Thank you once again for taking the time out to fix this, hopefully this can help others with the same/similar chipset.