-
Notifications
You must be signed in to change notification settings - Fork 131
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
[FEATURE] Xiaomi Redmibook 16 2024 mic is not working #5053
Comments
please share the output of 'alsa-info', it's not clear that it's an SOF problem but more likely a Linux hardware detection issue. |
Looks like this issue is unrelated to SOF and is a platform issue with HDA mic integration. |
please share alsa-info without this "option snd_intel_dspcfg: dsp_driver=1" |
@plbossart how to do this? I ran just |
you have this option somewhere in /etc/modprobe.d/*.conf. Remove it, reboot and send the results of alsa-info. |
double check the results,
|
Ha yes, we've seen this before
This was reported in #4973 and fixed by 806f52f The patch was submitted upstream and is already in maintainer branches, commit d556f80, and already in Linus' tree. Please try to apply this commit or wait until it shows up in your distribution. |
@plbossart so how can I fix this on Ubuntu? Kernel did not help some weeks ago. |
you can compile your own kernel or wait for the Ubuntu kernel to have this supported. Presumably the fix will be applied to Linux stable so all distros will get the fix at some point. |
@plbossart thanks a lot! |
@plbossart this is not Huawei, this is Xiaomi |
@plbossart anyway, I am running 6.10rc2, looks like it includes this commit. But still no any microphone input. Can you please give advice how to configure alsa now? https://alsa-project.org/db/?f=ebfc9d57a9e98132909114151d1f70e9109b8eaa |
are you sure this is the right log? There's the same error
I can't recall if we need a topology update as well. @ujfalusi might know? |
@plbossart as you can see this is within new kernel 6.10 which includes your patch. And yes, I have no idea how to setup this thing properly. |
Can you also extract the NHLT? cat /sys/firmware/acpi/tables/NHLT > nhlt.dat; gzip nhlt.dat and attach the zipped file, thanks! |
This still looks like the 16-bit issue corrected by the commit d556f80 my money is on the topology now. Please try to add (backup what you have of course!) from this comment: #4973 (comment) |
@plbossart
|
@plbossart OMG it works!!!! Without any additional options Thanks. What is futher steps to fix this in codebase? https://alsa-project.org/db/?f=71084485390ea3ac2dab60932cd23e0ee6b91e16 |
Excellent.
If you meant "when is this going to be supported by distros", there will be an 'sof-bin' 2.10 release soonish - in the coming weeks - where the required topology will be included. The kernel patch should also be propagated to stable kernels but that takes time and depends on stable maintainers. |
@plbossart Yes, I mean when this update will be in the linux kernel or somewhere downloadable. |
Fedora is now on Linux 6.10.7 SOF 2024.06, sound and microphone both work. |
I'm on Fedora KDE now and can confirm that sound and microphone is working now. However something in the sound pipepline seems to crash somehow after some time. I get robotic sounding voices, everything sounds distored. It stops when I switch to pro audio in the sound settings. When I get it on pro audio, it stops again when switching to play hi fi quality music. Maybe some buffering issues. It seems I can trigger it faster when skipping trough a youtube video with the arrow keys, and often start and stop playing sounds. But yeah, maybe the issue is somewhere in pipewire idk. Anyone else with a redmibook 16 that has this now ? I was on bazzite before (fedora atomic spin with custom kernel) with kernel 6.10, and the sof files from march. So for me its hard to say what introduced this on my side... |
Same issues on Arch Linux (linux=6.10.8, sof-firmware=2024.06, pipewire 1:1.2.3). Steps to reproduce robotic sound:
Steps to reproduce missed sound:
|
@johndoe3535, @malvery, can you describe or better provide a recording of the 'robotic' sound? |
@ujfalusi I can confirm this issue. This is completely random issue. I have this issue while using Chrome browser. Restarting application process helps. |
@OrelSokolov, so it is with playback? If the issue is easy to reproduce, can you make a recording of it with a phone for example for us to hear it? A video is also good so we could see what is going on in the UI. I think we will need to collect firmware logs to have cleaner picture and more data points. |
Recorded "robotic" sound on the attached video How can I help in collecting firmware logs ? |
So can anyone help with implementing firmware for this model?
What should I provide?
options snd-hda-intel dmic_detect=0
currently works for sound, but internal microphone does not work.3.5 headset works.
Thanks.
UPD:
Windows works fine with internal mic, device info:
INTELAUDIO\CTLR_DEV_7E28&LINKTYPE_02&DEVTYPE_00&VEN_8086&DEV_AE20&SUBSYS_1D722309&REV_10EC\5&1ed5312d&0&0000
The text was updated successfully, but these errors were encountered: