Closed VitalyOstanin closed 4 months ago
@bardliao @plbossart looks like NHLT is reporting 4 DMICs, but could it be missing a valid DMIC config blob ? (I'm assuming driver would select DMIC NHLT if it looked valid).
There are really 4 microphones in this laptop. nhlt-dmic-info output is attached. nhlt-dmic-info.txt
I'm sorry, this issue looks like a duplicate of https://github.com/thesofproject/linux/issues/4973
Update: yes, it is duplicate. Please, close it.
@VitalyOstanin Can you try with options snd_sof_intel_hda_common sof_use_tplg_nhlt=1
? You can add the option to /etc/modprobe.d/alsa-base.conf
@bardliao Yes, I've tried it as suggested in https://github.com/thesofproject/linux/issues/4973#issuecomment-2096173970 and mic doesn't work.
I think the problem is fully investigated in https://github.com/thesofproject/linux/issues/4973 and I have exactly the same laptop model.
All I need is to wait for new ubuntu kernel 6.10 + fixed sof-hda-generic-4ch.tplg or sof release 2.10. I can't build custom ubuntu kernel myself yet.
Finally recording from internal mic works.
kernel 6.10.0-9005-oem
sof-hda-generic-4ch.tplg from https://github.com/thesofproject/linux/issues/4973#issuecomment-2099838538
arecord -fS32_LE -r 48000 -D hw:0,6 -c4 -d 5 test.wav
aplay test.wav
Don't forget to enable capture on mic channels in alsamixer: F6/Select sof-hda-dsp/F5/Press space on dmic0 Front/Rear.
By default pipewire uses incorrect capture device for internal mic. Fixed by adding new mic device to pipewire-pulse (run as user):
pactl load-module module-alsa-source device=hw:0,6 channels=4
# check it:
pw-record test.wav
pw-play test.wav
I have the problem also on Huawei Matebook D14. in the settings menu there is only a dummy output
Thanks @VitalyOstanin . I'll close this FW bug instance as duplicate of LInux kernel driver bug https://github.com/thesofproject/linux/issues/4973
@reyhanboim If the fixes in 4973 don't help on your device, can you please file a new bug with Matebook D14 in the title (use https://github.com/thesofproject/linux/issues/4973 as example)?
Describe the bug Internal mic does not work on laptop Huawei matebook x pro 2024 U9
using sof-bin v2024.03 kernel 6.8.0-36-generic on Ubuntu 24.04 + oracular unstable internal speakers work well using pipewire/wireplumber
dmesg (full output is attached as well):
To Reproduce Install Ubuntu 24.04 - does not work. Update ubuntu to latest noble-proposed/oracular unstable - does not work.
Reproduction Rate Always
Expected behavior Working internal mic.
Impact showstopper dmesg.sof.gz