You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
ES8336: Audio input and output devices are unavailable #4002
When using Huawei matebook 13, it is found that the sound card it carries cannot recognize the input and output devices, the sound card information is as follows:
Thanks for your guidance and reminder, according to your instructions, I updated the firmware. But it still doesn't work properly.
After updating the firmware, it seems to work, there are no more obvious error messages in the log, but the audio device still has the following problems:
The speaker is recognized but cannot be used.
The built-in microphone is not recognized.
There is no feedback from the microphone and mic after the 4-segment earphone is inserted.
I have noticed that in the "Changelog between 1.2.6.3 and 1.2.7 releases"(https://www.alsa-project.org/wiki/Changes_v1.2.6.3_v1.2.7), there are "ucm2: sof-essx8336" related repair enhancements. Does it mean that I need to use a higher version of alsa?
But after updating alsa-ucm-conf to 1.2.7.2 version, the problem is still not resolved.
(This release contains your alsa-project/alsa-ucm-conf@62a0049 commit)
yeah, well it's the classic problem with this codec, we have no idea what configuration needs to be used for a particular instance. That's why we added quirks left and right for the user to tweak. Some users reported success, most reported failures. There is limited hope of a turn-key solution given the lack of information and variability.
Activity
plbossart commentedon Nov 10, 2022
-> please see
https://github.com/thesofproject/linux/wiki/ES8336-support
https://thesofproject.github.io/latest/getting_started/intel_debug/suggestions.html#es8336-support
plbossart commentedon Nov 10, 2022
and clearly 5.18.17 will not support this codec, need 6.0 + patches listed in the wiki, and even that is not a sure bet of success.
[-]Audio input and output devices are unavailable[/-][+]ES8336: Audio input and output devices are unavailable[/+]imtangmeng commentedon Nov 14, 2022
I used the 6.1.0-rc4 version + New topology files added in /lib/firmware/intel/sof-tplg (es8336_topologies_main.tar.gz), but the input and output devices are still not recognized, and the kernel still reports an error, see the link for details:
https://github.com/imtangmeng/intel-audio/blob/master/alsa-info.txt.8pNeq2sof7
https://github.com/imtangmeng/intel-audio/blob/master/dmesg.log
plbossart commentedon Nov 14, 2022
https://github.com/thesofproject/linux/wiki/ES8336-support#background
You also want to enable dynamic debug as suggested in https://thesofproject.github.io/latest/getting_started/intel_debug/suggestions.html#enable-dynamic-debug. The recommended configuration is to copy this file sof-dyndbg.conf.txt
imtangmeng commentedon Nov 15, 2022
https://github.com/imtangmeng/intel-audio/blob/master/alsa-info.txt.mxZCX3G4qW
https://github.com/imtangmeng/intel-audio/blob/master/sof-dyndbg.conf-log
plbossart commentedon Nov 15, 2022
You are using an ancient firmware from maybe 2 years ago.
It's not really surprising that you get an error, this firmware should not even work on TGL :-)
Please update your firmware, depending on distributions this can be in different packages.
plbossart commentedon Nov 15, 2022
ubuntu: firmware-sof-signed
fedora: alsa-sof-firmware
imtangmeng commentedon Nov 16, 2022
Thanks for your guidance and reminder, according to your instructions, I updated the firmware. But it still doesn't work properly.
After updating the firmware, it seems to work, there are no more obvious error messages in the log, but the audio device still has the following problems:
Detailed logs refer to the link below:
https://github.com/imtangmeng/intel-audio/blob/master/alsa-info.txt.i1fIaPDZAQ
I have noticed that in the "Changelog between 1.2.6.3 and 1.2.7 releases"(https://www.alsa-project.org/wiki/Changes_v1.2.6.3_v1.2.7), there are "ucm2: sof-essx8336" related repair enhancements. Does it mean that I need to use a higher version of alsa?
imtangmeng commentedon Nov 16, 2022
But after updating alsa-ucm-conf to 1.2.7.2 version, the problem is still not resolved.
(This release contains your alsa-project/alsa-ucm-conf@62a0049 commit)
plbossart commentedon Nov 16, 2022
yeah, well it's the classic problem with this codec, we have no idea what configuration needs to be used for a particular instance. That's why we added quirks left and right for the user to tweak. Some users reported success, most reported failures. There is limited hope of a turn-key solution given the lack of information and variability.
The description of the quirks you can change is here: https://thesofproject.github.io/latest/getting_started/intel_debug/suggestions.html#es8336-support