Open nnseva opened 1 year ago
Thanks for the detailed system information. Can you please take a look at these?
Please fix the doc (or the code) https://thesofproject.github.io/latest/getting_started/intel_debug/suggestions.html#es8336-support:
/sys/module/snd_soc_sof_es8336/parameters/quirk reports only overridden quirk value, not the default one. When the override is not set, the /sys/module/snd_soc_sof_es8336/parameters/quirk reports -1 on my host.
The default value is reported in the dmesg log. If overloaded, it is said like this:
[ 5.048328] sof-essx8336 sof-essx8336: Overriding quirk 0x1a0 => 0x120
The default quirk (0x1a0) on my host contains an undocumented bit BIT(5). When I turned this bit to 0, the sound subsystem did not show me a sound card.
I've checked also all documented bits to turn on or off one by one based on the default value. I've found the only SOF_ES8336_JD_INVERTED really noticeable, it really reverts the selection of input when inserting the headphones jack.
continue looking...
dmesg log with quirk override with all debug on dmesg log without quirk override with all debug on
Please fix the doc (or the code)
Note 5.19.0-43-generic is pretty old now, maybe this has already been fixed? I have no idea sorry, however you should always be testing a more recent kernel.
Also keep in mind that:
Changing quirk values is an extremely experimental endeavor that should only attempted by users with working knowledge of the Linux audio subsystem and an understanding that playing with hardware settings MAY DAMAGE HARDWARE or generate extremely loud sounds that MAY DAMAGE YOUR HEARING.
Note 5.19.0-43-generic is pretty old now, maybe this has already been fixed? I have no idea sorry, however you should always be testing a more recent kernel.
It's the current version of the Ubuntu kernel now. I've just installed the non-default 6.1-oem now, and the result is the same, silence on all channels, speakers as well as headphones.
The default quirk is also not reported on the /sys/module/snd_soc_sof_es8336/parameters/quirk, only overwritten.
/sys/module/snd_soc_sof_es8336/parameters/quirk reports only overridden quirk value, not the default one. When the override is not set, the /sys/module/snd_soc_sof_es8336/parameters/quirk reports -1 on my host.
Could you please file a new issue about this? Unlike all the system information you shared so far, it does not seem device specific.
Continue trying.
Now the kernel 6.2.0 provided by Ubuntu is used. There were no noticeable changes - silence on all channels.
root@SEVA-MOBILE:/disk0/home/seva# uname -srm
Linux 6.2.0-33-generic x86_64
Also, 2.6 and 2.7 files from the sof-bin project have been copied to the /lib/firmware/intel to the corresponding folders.
What is new noticed: trying to connect the TV to the HDMI cable, no changes on the sound control panel - neither device nor port has been changed.
Also, 2.6 and 2.7 files from the sof-bin project have been copied to the /lib/firmware/intel to the corresponding folders.
Make sure you download files from https://github.com/thesofproject/sof-bin/releases, NOT directly from https://github.com/thesofproject/sof-bin. See the README.md.
Considering there is no v2.7 at the former, I'm pretty sure you used the wrong place.
Hi @marc-hb,
appears to be no difference.
The 2.7 version is present in the last public release sof-bin-v2023.09-rc1.
Although you are right, really I've copied binaries directly from the sources of the sof-bin before. I've investigated the install.sh
script and used corrected paths as they are used there, checking dmesg
log for reports about loading errors.
Anyway, now I've downloaded a release and installed the binaries using the install.sh
script there. Looks like the rsync
utility just skipped files because they were on proper places already.
To be sure, I've deleted all sof-*
subfolders in the /lib/firmware/intel
folder, evaluated install.sh
again, and rebooted the host. No difference.
Tried sof-bin-2023.09.2 on the Ubuntu 22.04 with the same result. Installed using official way: download binary package, unarchive, and run sudo install.sh
.
Tried ubuntu v.23.04, it looks like already containing sof drivers v.2.4, and recognizing my sound card properly, but no sound also.
Tried sof-bin-2023.12 on the Ubuntu 22.04, no any changes found.
(I've checked the sound on Windows OS, it's present and fine)
I've downloaded binaries and installed them manually, basing on the template provided in the README, to the
/lib/firmware/intel/sof
and/lib/firmware/intel/sof-tplg
folders. I've updated them sequentially copying them on the order of versions.Now I see the SOF infrastructure and modules loaded successfully, sound controls appear, and the system thinks that devices are present. The KDE GUI shows "Comet Lake PCH-LP cAVS Stereo" device on the speakers, and inactive one on the headset microphone.
The dmesg file contains these logs correspondent to SOF:
The kern.log contains almost the same:
/proc/asound/cards
/proc/asound/modules
/proc/asound/pcm
/proc/asound/version
I could provide any other system info also.