Open sundarnagarajan opened 6 years ago
1) The changes for the es8316 jack detection are available at https://github.com/torvalds/linux/commit/822257661031faa437336058d8a32bf1844ad9c6 (commit date: 7 Jan 2019)
2) Compile the kernel with the above changes (I tried with kernel-5.2-rc7), install, reboot and select the kernel
3) Check your sound card exposed by kernel cat /proc/asounds/cards
, mine is mono-spk-in1-mic
, it could be different for other boards.
4) Goto alsa-lib
project and obtain HiFi.conf for your device. Mine was at https://github.com/alsa-project/alsa-lib/blob/master/src/conf/ucm/bytcht-es8316-mono-spk-in1-mic/HiFi.conf (commit date: 7 Jan 2019)
Substitute the variables in HiFi.conf to populate a complete self-contained HiFi.conf file.
5) Copy the HiFi.conf file to /usr/share/alsa/ucm/bytcht-es8316
. In my case the bytcht-es8316.conf
file remains unchanged.
Apply the changes and test the jack detection. Prebuilt kernel and HiFi.conf files can be obtained from my repo here
I have a Chuwi Hi12 2-in-1 tablet/laptop. It has a CheryTrail SoC, and an ES8316 sound card. I have got most things to work, but I have a small problem with the sound:
Sound works perfectly when I use the headphone jack, but I can't get sound on the built-in speakers
Settings --> Sound (Ubuntu Bionic Beaver 18.04 Gnome) shows only one device in the 'Output' tab: 'Speakers - Built-in Audio'
I am using custom kernel 4.16.18.
I am attaching the output of alsa-info script. chuwi-hi12-alsa-info.txt
I have also uploaded this to alsa-project.org
How do I look for a solution? I am not very familiar with ALSA UCM files.
Thanks for all your work on making sound work on Intel chipsets!