linux
linux copied to clipboard
essx8336 not detected at all?
Hi, I have windows 10 os and audio is working I have essx8336 sound device.
I have defaults in bios settings.
I'm trying to get audio working in any linux distro, tried ubuntu, fedora, arch, nothing works.
My problem is that the essx8336 card is not detected at all even after kernel updates, etc.
Do I have to change something in bios to get it to be detected in linux?
I can provide info, let me know what is necessary thanks in advance.
Start with this and https://github.com/thesofproject/linux/wiki/ES8336-support and https://thesofproject.github.io/latest/getting_started/intel_debug/suggestions.html#es8336-support
Yes I have looked over those two links already. I didn't really try the 'quirk' parameter yet though although in ubuntu i followed this guide:
https://forum.ubuntu.org.cn/viewtopic.php?f=42&t=493254
Is it not being detected because I don't know the 'quirk' value?
How exactly do I find the correct 'quirk' value?
well, if you look at the links but don't follow the suggestions, and use a reference to a webpage in Chinese I am not sure how I can help.
Hi, I used google translate
sudo apt install --install-recommends linux-oem-22.04a
git clone https://github.com/yangxiaohua2009/custom-kernel
cd custom-kernel
cp ./tplg/* /lib/firmware/intel/sof-tplg/
cp sof-jsl.ri /lib/firmware/intel/sof/
cp -r sof-essx8336 /usr/share/alsa/ucm2
cd /lib/firmware/intel/sof-tplg
cp sof-jsl-es8336-ssp1.tplg sof-jsl-es8336.tplg
gedit /etc/modprobe.d/alsa-base.conf
and add a line
options snd_soc_sof_es8336 quirk=0x01
Is it not being detected because I don't know the 'quirk' value?
How exactly do I find the correct 'quirk' value?
in general we don't provide any guidance for custom kernels here. If you file an issue against the SOF driver, you need to first follow the links and install whatever is recommended for 5.19 or 6.0.
If you want to ask @yangxiaohua2009 for support on his custom kernel that's a different topic and different support.
Pick one.
Hi, all I'm saying is that I tried that. I followed the links as well.
I also did the the "setup sof on a linux machine" Sound audio card was not detected at all. So I only see the 'quirk' parameter as an option. Again I would like to ask:
Is it not being detected because I don't know the 'quirk' value?
How exactly do I find the correct 'quirk' value?
if you followed the links, then you must have tried with 6.0+patches, enabled dynamic debug and attached the logs. I don't even know what the 'quirk' value might be until we see the results. I don't even know what platform this is - you provided zero information.
Just finished installing the kernel on xubuntu. What log do i provide? How to install sof-logger? Also I am unclear about dynamic debug as well.
Just copy this file sof-dyndbg.conf.txt as /etc/modprobe.d/sof-dyndbg.conf
Also make sure that you have all ES8336 options selected, e.g.
CONFIG_SND_SOC_INTEL_SOF_ES8336_MACH=m CONFIG_SND_SOC_ES8316=m CONFIG_SND_SOC_ES8326=m
and attach the dmesg log
Ok, i downloaded the sof-dyndbg.conf.txt and copied the contents into /etc/modprobe.d/sof-dyndbg.conf file.
Where do i put:
CONFIG_SND_SOC_INTEL_SOF_ES8336_MACH=m CONFIG_SND_SOC_ES8316=m CONFIG_SND_SOC_ES8326=m
just add it to your config file and re-run 'make olddefconfig' and check it's still there. alternatively use 'make menuconfig' and select them manually.
Where is the config file located? Is it in the /work/sof/linux folder created in the beginning?
sorry, I will have to point you to the online doc at this point: https://thesofproject.github.io/latest/getting_started/setup_linux/install_locally.html
added to config file in my /work/sof/linux folder. Ran 'make olddefconfig' and still there.
Dmesg from var/log
it's likely that you are still having configuration issues @Usulyre. Unfortunately I don't have time to help further.
@Usulyre
The config files lie in /work/sof/linux/arch/x86/configs
You shound see may files end in defconfig there.
Copy the es_6_1_defconfig file to the folder and just run make es_6_1_defconfig
and compile again. This makes sure that you have CONFIG_SND_SOC_INTEL_SOF_ES8336_MACH=m
in your config file.
es_6_1_defconfig.zip
Hi, @yangxiaohua2009
I copied the file to that folder and ran make es_6_1_defconfig and recompiled. I still have no audio/sound and essx8336 doesn't show up as a device either.
What can I do next?
copy the sof-dyndbg.conf.txt to /etc/modprobe.d/sof-dyndbg.conf and give us your dmesg. This config file is not the defconfig file. You need to copy it to /etc/modprobe.d/ so that we can get enough information from your dmesg
After copying, do i recompile it then give the dmesg?
I wonder if you have installed the kernel.
After compiling the kernel, you need to install it by sudo make install and sudo make modules_install
Yes, I did that step. Do I recompile before sending the dmesg again?
@Usulyre copying sof-dyndbg.conf doesn't need recompiling kernel. copy it to /etc/modprobe.d/sof-dyndbg.conf and reboot once
Ok, well here is dmesg dmesg.txt
Sorry updated dmesg here dmesg.txt
@Usulyre sorry, no luck here. You have a plain vanilla ApolloLake device (PCI ID 0x5a98), you should see the SOF driver probe on this device and it doesn't. I guess you still have configuration issues.
I'm really not sure what I am doing wrong for the configuration.
@Usulyre Please provide the config file name 'config-6.1.0-rc1-sof+' in your /boot/ folder to prove that your configuration is correct