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
Hi @bardliao, I have the same system and am experiencing the same issue. I tried the latest from that repo (installed via instructions in the README, including state purge), but no change -- still just a click at the beginning, then silence.
Is there something else I can try, or additional debug info I can gather? Thanks!
@pcgrosen Can you upgrade cs42l43.bin ? I thought it is a muted issue but it should not be. Because you could record a pop noise at the beginning. Now I guess you may need an upgraded cs42l43 firmware.
@pcgrosen Can you upgrade cs42l43.bin ? I thought it is a muted issue but it should not be. Because you could record a pop noise at the beginning. Now I guess you may need an upgraded cs42l43 firmware.
I think we are already on the latest version since it has been in linux-firmware for (exactly) one year.
Does anyone know exactly which DMIC is used by this device?
[ 3.831584] sof-audio-pci-intel-lnl 0000:00:1f.3: DMICs detected in NHLT tables: 2
It seems PCH DMIC is detected in the NHLT table, but I am not sure if it matches the real HW design or not.
If PCH DMIC is used, we probably need to create sof-lnl-cs42l43-l0-cs35l56-l23-2ch.tplg and some kernel change is required.
This laptop has host DMICs but is missing a quirk for such, we are looking at putting together a patch.
@charleskeepax We may need to do some change other than adding a quirk.
/* * DMICs use up to 4 pins and are typically pin-muxed with SoundWire * link 2 and 3, or link 1 and 2, thus we only try to enable dmics * if all conditions are true: * a) 2 or fewer links are used by SoundWire * b) the NHLT table reports the presence of microphones */if (hweight_long(mach->link_mask) <= 2)
dmic_fixup= true;
elsemach->mach_params.dmic_num=0;
My ouput of the file (tail -n 17 /usr/share/alsa/ucm2/sof-soundwire/sof-soundwire.conf):
# Define macros to set up processing controls
Include.dsp-variables.File "../Intel/sof-hda-dsp/dsp.conf"
# Set BootSequence and FixedBootSequence for drc, eqiir, eqfir
Macro.SpeakerDrc.SofDrcBootSetup "endpoint='PostMixerSpeaker' direction='Playback'"
Macro.SpeakerIir.SofEqBootSetup "endpoint='PostMixerSpeaker' direction='Playback' eqtype='Iir'"
Macro.SpeakerFir.SofEqBootSetup "endpoint='PostMixerSpeaker' direction='Playback' eqtype='Fir'"
# Set BootSequence and FixedBootSequence for Mic array eqiir, tdfb, drc
Macro.MicArrayIir.SofEqBootSetup "endpoint='MicArray' direction='Capture' eqtype='Iir'"
Macro.MicArrayDrc.SofDrcBootSetup "endpoint='MicArray' direction='Capture'"
Macro.MicarrayTdfb.SofBeamformerBootSetup "endpoint='MicArray' direction='Capture'"
# For SoundWire PC with PCH-DMIC set BootSequence and FixedBootSequence for eqiir, tdfb, drc
Macro.Dmic0ArrayIir.SofEqBootSetup "endpoint='Dmic0' direction='Capture' eqtype='Iir'"
Macro.Dmic0ArrayDrc.SofDrcBootSetup "endpoint='Dmic0' direction='Capture'"
Macro.Dmic0ArrayTdfb.SofBeamformerBootSetup "endpoint='Dmic0' direction='Capture'"
@vanheck At least with the UCM2 git master version the IIR setup in a SoundWire PC worked for me. I didn't test with Fedora's UCM version that is likely a bit older. I have /usr/share/alsa/ucm2 tree copied from git. I added for the Dell computer that I forced with kernel options to have DMIC DAI (with great help from @ujfalusi ) into appropriate the <sys_vendor>/<product_name>.conf. this line:
I would check that all the files you added to UCM tree have proper read access and that .bin file is in the referenced directory. Also it might be needed to reset the UCM and reboot after for it to apply the new FixedBootSequence:
It was changed in this patch alsa-project/alsa-ucm-conf#542 . In some cases the relative path to dsp.conf caused problems. Maybe omitting all the lines after that.
version of packages linux-firmware 20250311, alsa-ucm 1.2.13
I removed the external kernel instalation and now I'm using the native kernel in Fedora: 6.14.2-300.fc42.x86_64+debug. But the sound again doesn't work.
I took the topology sof-lnl-cs42l43-l0-cs35l56-l23-2ch.tplg from @bardliao/lib/firmware/intel/sof-ipc4-tplg/, but it didn't help, the sound still doesn't work.
@vanheck "the sound still doesn't work"
All sound? Speakers, headphone, headset mic, internal mic - none of them are working?
Or are some working and other are not working?
* version of packages `linux-firmware 20250311`, `alsa-ucm 1.2.13`
* I removed the external kernel instalation and now I'm using the native kernel in Fedora: `6.14.2-300.fc42.x86_64+debug`. But the sound again doesn't work.
Did everything else work? I had a similar experience in Fedora 42,, but wifi and bluetooth also didn't work for me, with those same versions. I wonder if that's related?
I'm on Fedora 42 and the only change I've done to get my sound working is replace the ucm2 folder
The firmware is already updated with the latest version of alsa-sof-firmware 2025.01.1 in Fedora 42, perhaps remove the file you placed there and run dnf reinstall alsa-sof-firmware? @vanheck
Edit: though I realise this might be a regression in alsa-ucm too, I'll test out the latest commit later and see if it still works
@rpolyano yes bluetooth doesn't work, but it didn't work before the upgrade either (bluetooth worked only with kernel 6.13.3). Usb-c 4k monitor also doesn't work (monitor writes connection not detected, but hdmi works). Wifi works well.
@retrixednf reinstall alsa-sof-firmware doesnt work
@scngo I've tried update these newest packages, without any change. Microphone LED control and changing volume works, but no input real sound is capturing (sound bar shows nothing also in speakers).
Blutooth - create a symbolic link didn't help
@vanheck What fixed sound for me (on Fedora 42, kernel 6.14.2-300), was following the instructions from the main README of alsa-ucm-conf GitHub to get the version from the latest commit. In particular, I run the lines below yesterday (before alsa-ucm update was pushed to Fedora 42):
Sound started working after reboot + microphone keyboard LED as well. Today I upgraded my packages (including alsa-ucm 1.2.14-2) and sound still works. I am not sure if that helps, but maybe worth trying out.
Sound works for me without any modifications to Fedora 42 now with the latest kernel 6.14.2-300, alsa-ucm 1.2.14 and alsa-sof-firmware 2025.01.1 packages 🎉
Bluetooth works with linux-firmware 20250410 too (it was broken in 20250311)
@retrixe thank you for your post. I had to reinstall whole fedora from scratch and after upgrade alsa-ucm, alsa-sof-firmware and linux-firmware packages to newest version, Audio and also Bluethoot work well.
Activity
iradraconis commentedon Dec 31, 2024
Same here.. Using Linux Kernel 13.0 RC5 on Fedora and still the microphone is not functioning.
Inxi output for Audio:
singalsu commentedon Jan 3, 2025
Can you list what controls you have with
amixer -c0 controls. I wonder what processing components you have. In the latest version there's these:But I doubt the SOF processing would cause what you see.
Another idea is that has UCM correctly enabled the SDW codec DMIC. You can check with amixer cget if these csets in EnableSequence are done:
https://github.com/alsa-project/alsa-ucm-conf/blob/cde064fd3a1a7cd57b56d32d42ae57f7e8b454e7/ucm2/sof-soundwire/cs42l43-dmic.conf#L10
dantmnf commentedon Jan 3, 2025
I don't have these controls on my system. List of controls is available in alsa-info.txt in the top comment.
Confirmed that the EnableSequence is all done.
singalsu commentedon Jan 7, 2025
Thanks @dantmnf . @bardliao Do you have ideas what could cause this?
bardliao commentedon Jan 8, 2025
That might be UCM issue. @dantmnf Can you try the latest UCM from https://github.com/alsa-project/alsa-ucm-conf? @charleskeepax @stuhenderson Could you take a look?
pcgrosen commentedon Jan 8, 2025
Hi @bardliao, I have the same system and am experiencing the same issue. I tried the latest from that repo (installed via instructions in the README, including state purge), but no change -- still just a click at the beginning, then silence.
Is there something else I can try, or additional debug info I can gather? Thanks!
bardliao commentedon Jan 8, 2025
@pcgrosen Can you upgrade cs42l43.bin ? I thought it is a muted issue but it should not be. Because you could record a pop noise at the beginning. Now I guess you may need an upgraded cs42l43 firmware.
dantmnf commentedon Jan 8, 2025
I think we are already on the latest version since it has been in linux-firmware for (exactly) one year.
bardliao commentedon Jan 8, 2025
Does anyone know exactly which DMIC is used by this device?
It seems PCH DMIC is detected in the NHLT table, but I am not sure if it matches the real HW design or not.
If PCH DMIC is used, we probably need to create sof-lnl-cs42l43-l0-cs35l56-l23-2ch.tplg and some kernel change is required.
dantmnf commentedon Jan 8, 2025
It do have 2-channel microphone and can be verified in Windows by moving a speaker around two microphones while recording:

charleskeepax commentedon Jan 8, 2025
This laptop has host DMICs but is missing a quirk for such, we are looking at putting together a patch.
bardliao commentedon Jan 8, 2025
@charleskeepax We may need to do some change other than adding a quirk.
https://github.com/thesofproject/linux/blob/topic/sof-dev/sound/soc/sof/intel/hda.c#L1332
I think that's why the kernel didn't look for sof-lnl-cs42l43-l0-cs35l56-l23-2ch.tplg
98 remaining items
vanheck commentedon Apr 11, 2025
@singalsu
My ouput of the file (
tail -n 17 /usr/share/alsa/ucm2/sof-soundwire/sof-soundwire.conf):singalsu commentedon Apr 11, 2025
Thanks @vanheck , then it should be up-to-date and the issue must be somewhere in UCM. I'll try to replicate a similar setup here.
singalsu commentedon Apr 11, 2025
@vanheck At least with the UCM2 git master version the IIR setup in a SoundWire PC worked for me. I didn't test with Fedora's UCM version that is likely a bit older. I have /usr/share/alsa/ucm2 tree copied from git. I added for the Dell computer that I forced with kernel options to have DMIC DAI (with great help from @ujfalusi ) into appropriate the <sys_vendor>/<product_name>.conf. this line:
Define.Dmic0CaptureIirBlob "/usr/share/alsa/ucm2/blobs/sof/ipc4/eq_iir/highpass_40hz_40db_48khz.bin"
And I got the +40 dB blob with data (last number changes depending on gain in the 40 Hz high-pass blobs)
(3,120,)877023059,0,88,50450433,0,0,0,0,88,2,1,0,0,0,0,0,0,1,1,0,0,0,0,3229146956,2139532835,536156946,3222653403,536156946,4294967289,25539
I would check that all the files you added to UCM tree have proper read access and that .bin file is in the referenced directory. Also it might be needed to reset the UCM and reboot after for it to apply the new FixedBootSequence:
Also, it seems that you are missing a fix in UCM
Include.dsp-variables.File "../Intel/sof-hda-dsp/dsp.conf"It was changed in this patch alsa-project/alsa-ucm-conf#542 . In some cases the relative path to dsp.conf caused problems. Maybe omitting all the lines after that.
vanheck commentedon Apr 16, 2025
I upgraded the OS to from Fedora 41 to Fedora 42:
linux-firmware 20250311,alsa-ucm 1.2.136.14.2-300.fc42.x86_64+debug. But the sound again doesn't work.Tried to reproduce @singalsu #5325 (comment):
/usr/share/alsa/ucm2/and replaced the folder from git https://github.com/alsa-project/alsa-ucm-conf/tree/master/ucm2 (a6efd43), after reboot the sound devices are detected, but the sound still doesn't worksof-lnl-cs42l43-l0-cs35l56-l23-2ch.tplgfrom @bardliao/lib/firmware/intel/sof-ipc4-tplg/, but it didn't help, the sound still doesn't work.customize_dmic0_iir_gain.zipfrom [BUG] ASUS Zenbook S 14: No sound from DMIC #5325 (comment), but still doesn't work@bardliao dmesg.log.txt
amixer.log
rfvirgil commentedon Apr 17, 2025
@vanheck "the sound still doesn't work"
All sound? Speakers, headphone, headset mic, internal mic - none of them are working?
Or are some working and other are not working?
vanheck commentedon Apr 17, 2025
@rfvirgil I have no sound at all
Speakers are detected, volume could be changed without effect.

Microphones are detected, also here volume could be changed without effect.

bardliao commentedon Apr 17, 2025
@vanheck Can you run "alsaucm dump text" and share the output?
rpolyano commentedon Apr 17, 2025
Did everything else work? I had a similar experience in Fedora 42,, but wifi and bluetooth also didn't work for me, with those same versions. I wonder if that's related?
retrixe commentedon Apr 17, 2025
I'm on Fedora 42 and the only change I've done to get my sound working is replace the
ucm2folderThe firmware is already updated with the latest version of
alsa-sof-firmware 2025.01.1in Fedora 42, perhaps remove the file you placed there and rundnf reinstall alsa-sof-firmware? @vanheckEdit: though I realise this might be a regression in alsa-ucm too, I'll test out the latest commit later and see if it still works
vanheck commentedon Apr 17, 2025
@rpolyano yes bluetooth doesn't work, but it didn't work before the upgrade either (bluetooth worked only with kernel 6.13.3). Usb-c 4k monitor also doesn't work (monitor writes connection not detected, but hdmi works). Wifi works well.
@retrixe
dnf reinstall alsa-sof-firmwaredoesnt work@bardliao here is alsaucm_dump_text.txt
scngo commentedon Apr 18, 2025
I am also running Fedora 42 on Intel Lunar Lake CPU, with the following packages and setup
kernel-6.14.2-300.fc42alsa-sof-firmware-2025.01.1-1(the release withsof-lnl-cs42l43-l0-cs35l56-l23-2ch)alsa-lib-1.2.14-2.fc42(the newest release came several hours ago, covers the updates inucm2discussed here)alsaucm dump textoutput as @vanheck .By this setting,
@vanheck For the Bluetooth, have you tried the solution provided at the bottom of this page? https://bodhi.fedoraproject.org/updates/FEDORA-2025-7f56eb37a0
vanheck commentedon Apr 18, 2025
@scngo I've tried update these newest packages, without any change. Microphone LED control and changing volume works, but no input real sound is capturing (sound bar shows nothing also in speakers).
Blutooth - create a symbolic link didn't help
JakubBujnowicz commentedon Apr 18, 2025
@vanheck What fixed sound for me (on Fedora 42, kernel 6.14.2-300), was following the instructions from the main README of alsa-ucm-conf GitHub to get the version from the latest commit. In particular, I run the lines below yesterday (before alsa-ucm update was pushed to Fedora 42):
Sound started working after reboot + microphone keyboard LED as well. Today I upgraded my packages (including alsa-ucm 1.2.14-2) and sound still works. I am not sure if that helps, but maybe worth trying out.
retrixe commentedon Apr 18, 2025
Sound works for me without any modifications to Fedora 42 now with the latest
kernel 6.14.2-300,alsa-ucm 1.2.14andalsa-sof-firmware 2025.01.1packages 🎉Bluetooth works with
linux-firmware 20250410too (it was broken in20250311)vanheck commentedon Apr 20, 2025
@retrixe thank you for your post. I had to reinstall whole fedora from scratch and after upgrade
alsa-ucm,alsa-sof-firmwareandlinux-firmwarepackages to newest version, Audio and also Bluethoot work well.