-
Notifications
You must be signed in to change notification settings - Fork 132
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
[ADL-P] Missing topology for ES8336 Alder Lake P device (i5-1240P Huawei Matebook 14 2022) #4111
Comments
Thanks for reporting this issue, which is actually a problem on both SOF and linux sides. Gah. You can try a temporary fix by backup up your files in intel/sof-tplg/ and then I'll submit a rename and add the missing topologies. |
The ADL integration was botched with missing topologies and errors in topology names in the kernel. Link: thesofproject/linux#4111 Signed-off-by: Pierre-Louis Bossart <pierre-louis.bossart@linux.intel.com>
Thanks for your timely reply.
If I sould modify the quirk? or if I sould use sof-logger to get the DSP traces? or if I should try pulseaudio? |
@yangxiaohua2009 can you comment on the 'low sound' issue reported by multiple people? |
@Jay-716 Can you provide alsainfo/amixer when playing music? Thanks |
Here is the output when playing video with mpv: PS. I suddenly got infected with COVID-19, so my reply may not be timely. Sorry. |
@yangxiaohua2009 Additional information is here: I think it may probably be a pipewire issue, but I cannot make sure. |
Your Headphone is -48dB and your DAC is -60% vol, which makes your sound extremely low.
|
I actually have a script help you doing that |
OMG, The sound works perfectly now!!! |
The ADL integration was botched with missing topologies and errors in topology names in the kernel. Link: thesofproject/linux#4111 Signed-off-by: Pierre-Louis Bossart <pierre-louis.bossart@linux.intel.com>
I saw your alsa info. One control is off so you cannot hear sound.
Does the playback device in your sound settings change when you insert a headset/headphone? If so you should have sound after running the shell script which changes the mixer controls You may run alsainfo again or run |
@ToutouDogo Also I cannot see your dmesg. Since your HUAWEI device have 2 gpios, one for speaker and one for headphone, your need to set quirk (to enable 2 gpios). |
Indeed, inserting headset made it work! |
Audio from headphones is fixed thank you very much. Only speaker are missing, I feel so close from solving this. Here is the dmesg with tplg Yet, when I tried to add the line |
Please try quirk=0xa0 since you're using dmic. |
Hi, I have the same issue on my matebook 14. I tried everything and the sound doesn't work! My environment OS: Ubuntu I tried everything I found and the sound didn't work. |
@sstavridis Hi, |
We're moving forward, since with this quirk 0xa0 the "dummy output" issue does not pop back as it does with other quirks. |
Late update for the original issue:
I do tons of searching and find tons of different issues related to es8336 codec chipsets. I think this chipset is very annoying and troublesome to some degree. So I may not try to fix these issues these days, because, on one hand, it may be time-consuming for me and the developers, on the other hand, my speakers just work, though not fine. :) Logs when playing sound with PS. Sorry for my poor English, please forgive me for my typo and mistakes. |
@Jay-716 Please try |
@ToutouDogo There are two gpios, one for speaker and one for headphone. If still nothing happens, try |
Thanks for your swift reply very much. And thanks for your treasured time. I use Speaker
Mic In Logs |
The default output device in
I'm currently using the official alsa-ucm-conf 1.2.8 (an official package required by alsa in archlinux). I check the files between the official github repo and that installed in my pc, they are actually the same one. Now I switch to the ucm you provided. I am considering migrating back to pulseaudio instead of pipewire to see if these issues remain. |
Thank you for the explaination, and for your huge patience.
I then turn up volume to maximum with keyboard key, and no sound either from Speaker, or Headphone.
And sill no sound, either from Speaker, or Headphone, Headphone being plugged all along as you precised. |
@ToutouDogo You may want to try this patch #4112. This patch changes the gpio level. |
@Jay-716 a folder named sof-essx8336 with sof-essx8336.conf in it under ucm2 or ucm2/conf.d should give you normal ucm configuration. Even if the ucm is not working The speaker can be available. Yes you should debug pipewire or switch to pulseaudio. |
I did try.
With headphones plugged in, there's sound from headphone as previously reported.
This output does not changes, when I
The output is the same when I unplugg headphones, and still no sound from speakers.
Headphones plugged, sound from headphones.
Unplugged Headphones, still no sound.
No sound. |
@Jay-716 Even though I was frustrated I decided to give it one more chance. So, I installed Manjaro and it seems to recognize everything out of the box. The only issue is that the sound is too low. I open the |
@sstavridis edit the file |
@yangxiaohua2009 I can't find this file, this location doesn't even exists |
@sstavridis what does |
@yangxiaohua2009
What should I do? |
You may change the DAC volume in Also, you may want to manuelly enable mic by cset "name='Internal Mic Switch' on"
cset "name='ADC PGA Gain Volume' 10"
cset "name='ADC Capture Volume' 150"
cset "name='Headset Mic Switch' on"
cset "name='Digital Mic Mux' 'dmic disable'" and switch between the two mic input via cset "name='Differential Mux' 'lin1-rin1'"
cset "name='Differential Mux' 'lin2-rin2'" |
@yangxiaohua2009 Sorry all this question but I'm new to linux. |
You may want to backup and replace your HiFi.conf file with this one:
|
@yangxiaohua2009 Unfortunately, it didn't work... |
@yangxiaohua2009 Sorry for disturbing you again. This is just a late inform, and my issues are almost finished. No need to reply if you don't want to. Thanks. :) Here are my tests:
Remaining small problems:
These problems are relatively tolerable. At least the mic works. |
@sstavridis Can you make sound loader with typing |
It works. I should have searched for it myself. In the beginning, I expected it as some kind of a module parameter instead of a sound server side solution. But it works fine too. |
@yangxiaohua2009 I tried it and the terminal returns Thank you very much for your help! |
Please provide your |
@yangxiaohua2009 Also i tried |
@sstavridis Try adding |
@yangxiaohua2009 |
Hey it's been a while, I still haven't found a way to fix my speaker and mic, even though headphones are functionning. Do you have any comment about my last post on this issue? Thank you #4111 (comment) |
@ToutouDogo You may want to open the mic controls by
|
The ADL integration was botched with missing topologies and errors in topology names in the kernel. Link: thesofproject/linux#4111 Signed-off-by: Pierre-Louis Bossart <pierre-louis.bossart@linux.intel.com> (cherry picked from commit 57e976e)
The ADL integration was botched with missing topologies and errors in topology names in the kernel. Link: thesofproject/linux#4111 Signed-off-by: Pierre-Louis Bossart <pierre-louis.bossart@linux.intel.com> (cherry picked from commit 57e976e)
Sorry @yangxiaohua2009 , this is did not solve the issue. I see there were commits pushed by @mengdonglin and @kv2019i |
Sorry for this seemingly duplicate issue.
Problem
tplg request firmware intel/sof-tplg/sof-adl-es83x6-dmic4ch-ssp0.tplg failed err: -2
at every boot.Due to the missing tplg file, my speaker never work.
My Environment
OS: Arch Linux
Machine: Huawei Matebook 14 2022 (KLVF-XX M1010)
Kernel: 6.0.12-arch1-1
CPU: 12th Gen Intel i5-1240P (16) @ 4.400GHz
Soundcard: Intel Corporation Alder Lake PCH-P High Definition Audio Controller (rev 01)
sof-firmware version: 2.2.3
Check Support for ES8336 on My Machine
I have read the github wiki and sof docs as well as github issues related to the es8336 issues.
I check the kernel(the archlinux official kernel) that I am currently using, and the commits which are related to es8336 and mentioned by the wiki are actually in there.
And the compiling configs mentioned in the wiki are the same as mentioned in the wiki.
alsa-info.sh also detects my audio device as /sys/bus/acpi/devices/ESSX8336:00
lsmod also shows that es8336 related modules are loaded.
Logs
alsa-info.txt
lspci.txt
kernel_log.txt
Here is the tplg loading section in the kernel log:
Cannot Find the tplg Required
And I check the files under /usr/lib/firmware/intel/sof-tplg-v2.2.3/ , and there is NOT a file named
sof-adl-es83x6-dmic4ch-ssp0.tplg
, only to find the similar tplg for apl.In the tplgs file([es8336_topologies_main.tar.gz] provided in the wiki page, I cannot find this tplg too.
PS. I don't know exactly if this issue should be submit to thesofproject/sof or thesofproject/linux, so I submit it here.
And I owe this problem to the missing tplg file, which may be inappropriate or inaccurate because it is just my guess.
If further information is needed, please let me know. I will post them below.
Thanks for your viewing. :)
The text was updated successfully, but these errors were encountered: