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] Microphone array not working on Lenovo Yoga C740 (Comet Lake, i7-10510U) #2275
Comments
the boot log doesn't look that bad... probably your pulseaudio is using sw volume, so could you check with amixer if the dmic mute switch is on (this is not visible in alsamixer), so something like: "amixer contents | grep "Dmic0 Capture Switch" -A2"... also you could check with "dmesg -w" during recording runtime do you get some other errors? Then you could try just bypassing pulseaudio and trying to record from dmic with arecord. |
Thank you very much for your answers and suggestions. I stopped pulseaudio using
|
@p-try can you try arecord when pulseaudio is disabled and send the dmesg. Fwiw, there will be some dmic fixes in 1.4.2 due out next week. |
I haven't had any luck with disabling pulseaudio using these instructions (the pulseaudio process was still running) so I removed it completely using I still get the same dmesg when running arecord:
The recording contains only silence. |
@p-try the dmesg messages you have should not be fatal... could you still try explicit hw definitions with arecord, so omething like: "arecord -Dhw:0,6 -d 10 -f S16_LE -c 2 -r 48000 test.wav " ? |
Can you please post the full dmesg log? Thanks |
@juimonen Your command worked, sound was recorded properly this time. Does this mean pulseaudio is the problem? The full dmesg is here: https://drive.google.com/file/d/1UZZbn0VNiJHv-Npxbo3Bl0ZutHlPD6kv/view?usp=sharing Update: the command also works with pulseaudio installed. |
@p-try yes I think it is. Your pulseaudio probably doesn't create a source for dmic at all... you now have several input sources from alsa, and pulseaudio just doesn't handle the naming (it is a quite new thing, so pulseaudio paths configuration just doesn't support it) You could check for example with "pactl list sources". |
Thank you so much for your help. The ucm file for sof-hda-dsp looks promising, the microphone is listed there as I have compiled and installed the latest commit of pulseaudio and copied the alsa-ucm-conf files to /usr/share/alsa/ucm. I have now run into the issue that the ucm configuration for sof-hda-dsp is provided only in ucm2 format, and I still have alsa 1.1.9 on Ubuntu Eoan which does not seem to support ucm2. A build for alsa 1.2.1 is in the process of being made for Focal so I might switch to the Focal beta in order to try it out once the alsa build is ready. |
@p-try ok, please keep us updated, fwiw new stable FW is out v1.4.2 |
Again, I stole some packages from Fedora to get alsa-utils version 1.2.1 which supports ucm2. Aaaand..... it is working now! GNOME settings is now showing "Digital Microphone - sof-hda-dsp" as the input device and the volume bar is registering noise. Also, recording in Audacity is working now. I expect that everything will be working out-of-the-box as soon as the updated alsa and ucm packages are pushed to the Ubuntu repositories. I will continue my efforts there. Again, thank you so much for your most efficient help. |
@p-try your welcome. |
Recently I have installed Deepin 20 in my Lenovo C740 i5 10th gen processor. Both the microphone and fingerprint is not working. Could you please advise how can I resolve this issue? Below is some of the information for your reference. D message and arecord System settings: |
Hi @aravind816 it looks like you have an older kernel and FW. Have you tried a more recent kernel and FW ? |
Describe the bug
On my Lenovo Yoga C740 with a Comet Lake CPU (i7-10510U), the dual-microphone array does not work. Speakers are working. In GNOME settings, "Input device" shows "Multichannel input (sof-hda-dsp)", but the input monitor bar (below the input selection combo box) does not register any input noise and Audacity records only silence.
I have "dmic0" and "dmic1" in alsamixer, though.
To Reproduce
I'm on Ubuntu 19.10. In order to have proper SOF support, I installed mainline kernel 5.5-rc5. I stole the firmware files from the latest Fedora package.
Reproduction Rate
100%
Expected behavior
Microphone input to be recorded in Audacity.
Impact
showstopper if microphone is needed (not for me, though)
Environment
Ubuntu 19.10 with mainline kernel 5.5-rc5, alsa-firmware-1.2.1-4 borrowed from Fedora 31
Screenshots or console output
This is my
dmesg | grep audio
:I'd like to help to make this work. Let me know if I can provide any further info.
The text was updated successfully, but these errors were encountered: