On Wed, 13 Dec 2017 10:15:35 -0600 Pierre-Louis Bossart pierre-louis.bossart@linux.intel.com wrote:
Onda obook 20 plus tablet, Fedora 27, kernel 4.13.16-302.fc27.x86_64:
[ 8.910172] bytcht_es8316 bytcht_es8316: ASoC: CODEC DAI ES8316 HiFi not registered [ 8.910306] bytcht_es8316 bytcht_es8316: snd_soc_register_card failed -517
kernel 4.14.3-300.fc27.x86_64:
[ 8.561159] rt5645 i2c-10EC5645:00: Device with ID register 0xffff8d85 is not rt5645 or rt5650 [ 9.344562] cht-bsw-rt5645 cht-bsw-rt5645: ASoC: CODEC DAI rt5645-aif1 not registered [ 9.344695] cht-bsw-rt5645 cht-bsw-rt5645: snd_soc_register_card failed -517
On both kernels snd_soc_sst_byt_cht_es8316 and snd_soc_es8316 modules are loaded automatically. How to make audio work?
We have a known set of BIOS issues with this codec used in el-cheapo platforms, see e.g. https://bugzilla.kernel.org/show_bug.cgi?id=197073 I know that there are fixes from the android-x86 folks, but given that they don't sign-off their code I am not even looking at their solution.
You'd need to provide dmesg, alsa-info.sh results. and it's better to do with in bugzilla that on this mailing list.
Done - https://bugzilla.kernel.org/show_bug.cgi?id=198159 I tried to patch with es8316-Audio-exported-gpio-controlling-SPK-analog-switch.patch (adapted to my tablet), but it didn't help, probably made it worse, as the 8316 modules are no longer autoloaded.
Regards, Nerijus