-
Notifications
You must be signed in to change notification settings - Fork 131
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
[BUG] Infinix Inbook X2 no sound (both speakers and jack) #3873
Comments
@faerics Can you please attach the results of 'alsa-info'? |
@plbossart Hello, attaching |
Another ES8326/ES8336 codec issue?
|
Yes, it's a codec issue @faerics /sys/bus/acpi/devices/ESSX8326:00/status 15 This points to the ES8326, NOT the ES8336. The required codec driver was upstreamed in August only, and it's certainly NOT in 5.19 As a courtesy I add the missing patches to https://github.com/thesofproject/linux/tree/es8336-v5.19 but this is not even compile-tested, and it's rather unlikely that you get sound. There will be a need for board configuration and mixer settings, but at least this branch should give you a card that's exposed to userpace. |
@plbossart Many thanks for your help. Okay then, let me clarify what my next steps should be. By the way, am I right that your new commit for ES8326 does not break entire 8336 branch? |
The es8336-v5.19 branch contains the backported patches from upstream. No need to switch kernel versions. |
@plbossart Compiled the new kernel, no changes :( Attaching updated alsa-info output. What else can we do here? |
you should remove the option snd_intel_dspcfg: dsp_driver=3, that shouldn't be necessary. also please double check if you see the e8326 driver probe and register ASoC components. You can double-check the latter by looking at /sys/kernel/debug/asoc/components and /sys/kernel/debug/asoc/dais. snd_soc_es8326 is loaded but it could very well be that the driver never probes or exits the probe with some error. I would also check if we support an acpi table to select this sof_es8336 machine driver. If I look at your PCI ID 8086:34c8, that will be used to look at machine drivers in snd_soc_acpi_intel_icl_machines (sound/soc/intel/common/soc-acpi-intel-icl-match.c) and I don't see any ID for the ES8326. Try to copy this block from JSL into the ICL table: {
.comp_ids = &essx_83x6,
.drv_name = "sof-essx8336",
.sof_tplg_filename = "sof-jsl-es8336", /* the tplg suffix is added at run time */
.tplg_quirk_mask = SND_SOC_ACPI_TPLG_INTEL_SSP_NUMBER |
SND_SOC_ACPI_TPLG_INTEL_SSP_MSB |
SND_SOC_ACPI_TPLG_INTEL_DMIC_NUMBER,
}, |
Hello, @plbossart, sorry for the delay, just got free time to continue trying things you suggest.
Next,
To the last step, I noticed that ES8336 wiki got updated, Should we try to repeat steps using newer v6 kernel? Thanks for your help! |
Yet another hardware variant we need to handle. BugLink: thesofproject#3873 Signed-off-by: Pierre-Louis Bossart <pierre-louis.bossart@linux.intel.com>
Missing entry to find a machine driver for ES83x6-based platforms. BugLink: thesofproject#3873 Signed-off-by: Pierre-Louis Bossart <pierre-louis.bossart@linux.intel.com>
Yet another hardware variant we need to handle. BugLink: thesofproject#3873 Signed-off-by: Pierre-Louis Bossart <pierre-louis.bossart@linux.intel.com>
Missing entry to find a machine driver for ES83x6-based platforms. BugLink: thesofproject#3873 Signed-off-by: Pierre-Louis Bossart <pierre-louis.bossart@linux.intel.com>
Yet another hardware variant we need to handle. BugLink: #3873 Signed-off-by: Pierre-Louis Bossart <pierre-louis.bossart@linux.intel.com>
Missing entry to find a machine driver for ES83x6-based platforms. BugLink: #3873 Signed-off-by: Pierre-Louis Bossart <pierre-louis.bossart@linux.intel.com>
@plbossart should these commits be added on top of es8336-v6.0? |
yes. I don't have the time to do it for now. |
TL;DR no sound, dummy output but seems that something has changed and we need a topology. No sound, dummy output is still here. Maybe we are missing some topologies?
Attaching full alsa-info: alsa-info-v6.txt |
Yet another hardware variant we need to handle. BugLink: #3873 Signed-off-by: Pierre-Louis Bossart <pierre-louis.bossart@linux.intel.com> Reviewed-by: Bard Liao <yung-chuan.liao@linux.intel.com>
Missing entry to find a machine driver for ES83x6-based platforms. BugLink: #3873 Signed-off-by: Pierre-Louis Bossart <pierre-louis.bossart@linux.intel.com> Reviewed-by: Bard Liao <yung-chuan.liao@linux.intel.com>
@faerics please try this:
|
This needs to be added in sof-bin. Link: thesofproject/linux#3873 Signed-off-by: Pierre-Louis Bossart <pierre-louis.bossart@linux.intel.com>
@plbossart now I have the soundcard but still no sound. But I can hear some noises when changing volume in headphones. |
Missing entry to find a machine driver for ES83x6-based platforms. Link: thesofproject#3873 Signed-off-by: Pierre-Louis Bossart <pierre-louis.bossart@linux.intel.com> Reviewed-by: Bard Liao <yung-chuan.liao@linux.intel.com> Link: https://lore.kernel.org/r/20221031195836.250193-1-pierre-louis.bossart@linux.intel.com Signed-off-by: Mark Brown <broonie@kernel.org>
Yet another hardware variant we need to handle. Link: thesofproject#3873 Signed-off-by: Pierre-Louis Bossart <pierre-louis.bossart@linux.intel.com> Reviewed-by: Bard Liao <yung-chuan.liao@linux.intel.com> Reviewed-by: Takashi Iwai <tiwai@suse.de> Link: https://lore.kernel.org/r/20221031195639.250062-1-pierre-louis.bossart@linux.intel.com Signed-off-by: Mark Brown <broonie@kernel.org>
[ Upstream commit 5d73263 ] Yet another hardware variant we need to handle. Link: thesofproject/linux#3873 Signed-off-by: Pierre-Louis Bossart <pierre-louis.bossart@linux.intel.com> Reviewed-by: Bard Liao <yung-chuan.liao@linux.intel.com> Reviewed-by: Takashi Iwai <tiwai@suse.de> Link: https://lore.kernel.org/r/20221031195639.250062-1-pierre-louis.bossart@linux.intel.com Signed-off-by: Mark Brown <broonie@kernel.org> Signed-off-by: Sasha Levin <sashal@kernel.org>
[ Upstream commit 9a1d248 ] Missing entry to find a machine driver for ES83x6-based platforms. Link: thesofproject/linux#3873 Signed-off-by: Pierre-Louis Bossart <pierre-louis.bossart@linux.intel.com> Reviewed-by: Bard Liao <yung-chuan.liao@linux.intel.com> Link: https://lore.kernel.org/r/20221031195836.250193-1-pierre-louis.bossart@linux.intel.com Signed-off-by: Mark Brown <broonie@kernel.org> Signed-off-by: Sasha Levin <sashal@kernel.org>
[ Upstream commit 5d73263 ] Yet another hardware variant we need to handle. Link: thesofproject/linux#3873 Signed-off-by: Pierre-Louis Bossart <pierre-louis.bossart@linux.intel.com> Reviewed-by: Bard Liao <yung-chuan.liao@linux.intel.com> Reviewed-by: Takashi Iwai <tiwai@suse.de> Link: https://lore.kernel.org/r/20221031195639.250062-1-pierre-louis.bossart@linux.intel.com Signed-off-by: Mark Brown <broonie@kernel.org> Signed-off-by: Sasha Levin <sashal@kernel.org>
[ Upstream commit 9a1d248 ] Missing entry to find a machine driver for ES83x6-based platforms. Link: thesofproject/linux#3873 Signed-off-by: Pierre-Louis Bossart <pierre-louis.bossart@linux.intel.com> Reviewed-by: Bard Liao <yung-chuan.liao@linux.intel.com> Link: https://lore.kernel.org/r/20221031195836.250193-1-pierre-louis.bossart@linux.intel.com Signed-off-by: Mark Brown <broonie@kernel.org> Signed-off-by: Sasha Levin <sashal@kernel.org>
[ Upstream commit 5d73263 ] Yet another hardware variant we need to handle. Link: thesofproject/linux#3873 Signed-off-by: Pierre-Louis Bossart <pierre-louis.bossart@linux.intel.com> Reviewed-by: Bard Liao <yung-chuan.liao@linux.intel.com> Reviewed-by: Takashi Iwai <tiwai@suse.de> Link: https://lore.kernel.org/r/20221031195639.250062-1-pierre-louis.bossart@linux.intel.com Signed-off-by: Mark Brown <broonie@kernel.org> Signed-off-by: Sasha Levin <sashal@kernel.org>
[ Upstream commit 9a1d248 ] Missing entry to find a machine driver for ES83x6-based platforms. Link: thesofproject/linux#3873 Signed-off-by: Pierre-Louis Bossart <pierre-louis.bossart@linux.intel.com> Reviewed-by: Bard Liao <yung-chuan.liao@linux.intel.com> Link: https://lore.kernel.org/r/20221031195836.250193-1-pierre-louis.bossart@linux.intel.com Signed-off-by: Mark Brown <broonie@kernel.org> Signed-off-by: Sasha Levin <sashal@kernel.org>
[ Upstream commit 5d73263 ] Yet another hardware variant we need to handle. Link: thesofproject/linux#3873 Signed-off-by: Pierre-Louis Bossart <pierre-louis.bossart@linux.intel.com> Reviewed-by: Bard Liao <yung-chuan.liao@linux.intel.com> Reviewed-by: Takashi Iwai <tiwai@suse.de> Link: https://lore.kernel.org/r/20221031195639.250062-1-pierre-louis.bossart@linux.intel.com Signed-off-by: Mark Brown <broonie@kernel.org> Signed-off-by: Sasha Levin <sashal@kernel.org>
[ Upstream commit 9a1d248 ] Missing entry to find a machine driver for ES83x6-based platforms. Link: thesofproject/linux#3873 Signed-off-by: Pierre-Louis Bossart <pierre-louis.bossart@linux.intel.com> Reviewed-by: Bard Liao <yung-chuan.liao@linux.intel.com> Link: https://lore.kernel.org/r/20221031195836.250193-1-pierre-louis.bossart@linux.intel.com Signed-off-by: Mark Brown <broonie@kernel.org> Signed-off-by: Sasha Levin <sashal@kernel.org>
[ Upstream commit 5d73263 ] Yet another hardware variant we need to handle. Link: thesofproject/linux#3873 Signed-off-by: Pierre-Louis Bossart <pierre-louis.bossart@linux.intel.com> Reviewed-by: Bard Liao <yung-chuan.liao@linux.intel.com> Reviewed-by: Takashi Iwai <tiwai@suse.de> Link: https://lore.kernel.org/r/20221031195639.250062-1-pierre-louis.bossart@linux.intel.com Signed-off-by: Mark Brown <broonie@kernel.org> Signed-off-by: Sasha Levin <sashal@kernel.org>
[ Upstream commit 9a1d248 ] Missing entry to find a machine driver for ES83x6-based platforms. Link: thesofproject/linux#3873 Signed-off-by: Pierre-Louis Bossart <pierre-louis.bossart@linux.intel.com> Reviewed-by: Bard Liao <yung-chuan.liao@linux.intel.com> Link: https://lore.kernel.org/r/20221031195836.250193-1-pierre-louis.bossart@linux.intel.com Signed-off-by: Mark Brown <broonie@kernel.org> Signed-off-by: Sasha Levin <sashal@kernel.org>
[ Upstream commit 5d73263 ] Yet another hardware variant we need to handle. Link: thesofproject/linux#3873 Signed-off-by: Pierre-Louis Bossart <pierre-louis.bossart@linux.intel.com> Reviewed-by: Bard Liao <yung-chuan.liao@linux.intel.com> Reviewed-by: Takashi Iwai <tiwai@suse.de> Link: https://lore.kernel.org/r/20221031195639.250062-1-pierre-louis.bossart@linux.intel.com Signed-off-by: Mark Brown <broonie@kernel.org> Signed-off-by: Sasha Levin <sashal@kernel.org>
[ Upstream commit 9a1d248 ] Missing entry to find a machine driver for ES83x6-based platforms. Link: thesofproject/linux#3873 Signed-off-by: Pierre-Louis Bossart <pierre-louis.bossart@linux.intel.com> Reviewed-by: Bard Liao <yung-chuan.liao@linux.intel.com> Link: https://lore.kernel.org/r/20221031195836.250193-1-pierre-louis.bossart@linux.intel.com Signed-off-by: Mark Brown <broonie@kernel.org> Signed-off-by: Sasha Levin <sashal@kernel.org>
[ Upstream commit 5d73263 ] Yet another hardware variant we need to handle. Link: thesofproject/linux#3873 Signed-off-by: Pierre-Louis Bossart <pierre-louis.bossart@linux.intel.com> Reviewed-by: Bard Liao <yung-chuan.liao@linux.intel.com> Reviewed-by: Takashi Iwai <tiwai@suse.de> Link: https://lore.kernel.org/r/20221031195639.250062-1-pierre-louis.bossart@linux.intel.com Signed-off-by: Mark Brown <broonie@kernel.org> Signed-off-by: Sasha Levin <sashal@kernel.org>
Missing entry to find a machine driver for ES83x6-based platforms. Link: thesofproject#3873 Signed-off-by: Pierre-Louis Bossart <pierre-louis.bossart@linux.intel.com> Reviewed-by: Bard Liao <yung-chuan.liao@linux.intel.com> Link: https://lore.kernel.org/r/20221031195836.250193-1-pierre-louis.bossart@linux.intel.com Signed-off-by: Mark Brown <broonie@kernel.org>
Yet another hardware variant we need to handle. Link: thesofproject#3873 Signed-off-by: Pierre-Louis Bossart <pierre-louis.bossart@linux.intel.com> Reviewed-by: Bard Liao <yung-chuan.liao@linux.intel.com> Reviewed-by: Takashi Iwai <tiwai@suse.de> Link: https://lore.kernel.org/r/20221031195639.250062-1-pierre-louis.bossart@linux.intel.com Signed-off-by: Mark Brown <broonie@kernel.org>
Missing entry to find a machine driver for ES83x6-based platforms. Link: thesofproject/linux#3873 Signed-off-by: Pierre-Louis Bossart <pierre-louis.bossart@linux.intel.com> Reviewed-by: Bard Liao <yung-chuan.liao@linux.intel.com> Link: https://lore.kernel.org/r/20221031195836.250193-1-pierre-louis.bossart@linux.intel.com Signed-off-by: Mark Brown <broonie@kernel.org> Author: Pierre-Louis Bossart <pierre-louis.bossart@linux.intel.com> Date: Mon Oct 31 15:58:36 2022 -0400 Signed-off-by: Jaroslav Kysela <jkysela@redhat.com> (cherry picked from commit 9a1d248bb4beaf1b43d17ba12481ee0629fa29b9) Bugzilla: https://bugzilla.redhat.com/2125540
Yet another hardware variant we need to handle. Link: thesofproject/linux#3873 Signed-off-by: Pierre-Louis Bossart <pierre-louis.bossart@linux.intel.com> Reviewed-by: Bard Liao <yung-chuan.liao@linux.intel.com> Reviewed-by: Takashi Iwai <tiwai@suse.de> Link: https://lore.kernel.org/r/20221031195639.250062-1-pierre-louis.bossart@linux.intel.com Signed-off-by: Mark Brown <broonie@kernel.org> Author: Pierre-Louis Bossart <pierre-louis.bossart@linux.intel.com> Date: Mon Oct 31 15:56:39 2022 -0400 Signed-off-by: Jaroslav Kysela <jkysela@redhat.com> (cherry picked from commit 5d73263f9e7c54ccb20814dc50809b9deb9e2bc7) Bugzilla: https://bugzilla.redhat.com/2125540
To people who come here googling: I got this sort of working on my own INBOOK X2 GEN11, which, while a model not identical to the one discussed in this issue, appears to be at least fairly similar:
The magic sauce, as it applies to Ubuntu 22.04:
(I originally had Mess with alsamixer low-level volume levels for optimal results. Caveats:
Not ideal, but better than could be expected. |
@Mihara Hi there, Eugene! Thanks for your input to the issue. Could you please clarify the step
What levels did you tweak and what values did you stick with? In my case, hearing strange noises, but not the actual sound. |
I tried tweaking pretty much all of them, so it's hard to describe. Here's what I have right now:
It is important to mention that without an alsa-ucm definition that fits this particular combination of hardware, nothing is going to work and you won't even see these sliders, so see step number 3 if you didn't do that already. |
Hey bro, Your sound started working? |
Bro I tried every step, still no help? |
This phrase is not actually a question, it's a confusing statement with a question mark added onto it. It is tempting to assume that "tried every step" means "I have exactly the same situation as yours, exactly the same machine as yours, exactly the same Linux distribution as yours, I did everything you listed and I still hear no sound" but experience tells me this is never what people actually mean. Please describe your situation in greater detail, what you are doing, and what you are expecting to happen that isn't happening. |
Sorry for that question mark, but you have same device as me, not same linux distributor but yes pop os 22.04 and I did everything as you did and I got it working, Thanks. Bur only one issue that my earphones are not detecting. |
Mine aren't detecting either, but manually switching them through |
I dont know what happened and sound stopped again |
Супер! Реально помогло со звуком! Спасибо!!!! |
Hello,
following docs and wiki I've compiled the 5.19.0 + fixes kernel. and see Dummy output instead of the sounding device.
New topology files added.
My laptop is Infinix Inbook X2 with the following:
Attaching dmesg from boot. Not an audio expert so need some help from the community to investigate this.
dmesg-5.19.0+.log
Thanks.
The text was updated successfully, but these errors were encountered: