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

Internal microphone does not work on Braswell / Realtek ALC5645 #319

Open
reynhout opened this Issue Jan 18, 2017 · 24 comments

Comments

Projects
None yet
@reynhout
Copy link
Member

reynhout commented Jan 18, 2017

We're pulling in future mainline code from @plbossart's experimental repo, for the chtrt5650 drivers in 4.9.4-galliumos kernels. Watch for updates.


Workaround options: Bluetooth or USB microphones/headsets, including USB-to-3.5mm jacks.

@reynhout reynhout referenced this issue Jan 18, 2017

Closed

Braswell Platform Validation #270

15 of 15 tasks complete
@evan-a-a

This comment has been minimized.

Copy link

evan-a-a commented Jan 19, 2017

I'm working with @plbossart to obtain the information necessary to get the microphone working and will leave a comment here when it is operational.

@drrwebber

This comment has been minimized.

Copy link

drrwebber commented Feb 5, 2017

I have the same problem with latest Alpha and Acer Chromebook 14

@hmedina0

This comment has been minimized.

Copy link

hmedina0 commented Mar 4, 2017

Not working on TERRA, running 2.1

@drrwebber

This comment has been minimized.

Copy link

drrwebber commented Mar 5, 2017

BTW - found that using Bluetooth headset is a workaround. Just switch device input to use BT headset.
I've ordered a USB microphone - will update when I've tried that next.

@reynhout

This comment has been minimized.

Copy link
Member Author

reynhout commented Mar 5, 2017

@drrwebber USB mics will work too. I should have added workaround options to the initial description; will do so now. Thanks for mentioning it!

@xmbwd

This comment has been minimized.

Copy link

xmbwd commented Mar 18, 2017

@reynhout, @evan-a-a , I can help test any fixes on an Acer 14 EDGAR.

@chuckhacker

This comment has been minimized.

Copy link

chuckhacker commented Mar 18, 2017

Any ETA from @reynhout or @evan-a-a ?

Trying to use the GalliumOS Samsung 3 Chromebook in a classroom setting where we do need individual microphones to perform speech recognition. I can't dive too deeply into this one myself yet, even though it really just amounts to pulling code from upstream.

Going to try using the USB microphones as a workaround:
https://www.amazon.com/gp/product/B0171MRGME
for now until things are operational.

Ideally, the internal mics work.

@reynhout

This comment has been minimized.

Copy link
Member Author

reynhout commented Mar 19, 2017

@chuckhacker no ETA. Pulling code from upstream won't work unless the problem is fixed in upstream. USB mics are the best answer for now.

@drrwebber

This comment has been minimized.

Copy link

drrwebber commented Mar 19, 2017

I like that USB $20 boom mic - I should have ordered one of those! Instead I have the Samson Go Mic which is studio quality - but super portable.

What people need to know is that this is NOT a GalliumOS problem - its in the underlying ALSA support and the audio chipset in the Chromebook and its firmware - https://wiki.archlinux.org/index.php/Advanced_Linux_Sound_Architecture

Sadly no quick fix - ugly - so when ALSA solves this - then we all get this working again. In the meantime - USB mic' easy plug and play solution.

@xmbwd

This comment has been minimized.

Copy link

xmbwd commented Mar 19, 2017

@drrwebber, does that mean that we are at the mercy of ALSA? Because if that is the case, it seems that this issue may never get fixed. Is that the current situation? If so, please confirm, as I may want to return my EDGAR. Despite it being a terrific value, it can't be a daily driver (especially for travel) without a working built in mic.

@reynhout

This comment has been minimized.

Copy link
Member Author

reynhout commented Mar 19, 2017

@xmbwd We have a history of fixing audio (in/out) on ChromeOS devices even when it is not fixed upstream or in other distros, and it is a priority for us...but unfortunately we can't (ever) make any promises about specific models or timelines.

@drrwebber

This comment has been minimized.

Copy link

drrwebber commented Mar 19, 2017

@xmbwd IDNK - but I did find this trouble shooting - https://wiki.archlinux.org/index.php/Advanced_Linux_Sound_Architecture/Troubleshooting#Microphone

And tried alsamixer in terminal - and PulseAudio tweaking.

I got as far as the crackling and poor sound quality input working with Audicity - I did not try the config changes they suggest - my external mic arrived and its so much better than any built-in mic.

I have the Acer Chromebook 14 and I'm keeping it - so good on all other fronts! So not sure if your EDGAR can be coaxed better on the microphone.

@xmbwd

This comment has been minimized.

Copy link

xmbwd commented Mar 19, 2017

Thanks @reynhout, that distinction helps. I'm good waiting for you guys and completely understand.

And thanks @drrwebber as well.

@chrisjohgorman

This comment has been minimized.

Copy link

chrisjohgorman commented Jun 22, 2017

Does anyone have a link to the patches that @plbossart has for testing? I tried a 4.10.10 kernel to see if his commits in that kernel fixed this problem. Sadly they didn't. I'm also looking to fix #318 if anyone has patches to try for that one.

@evan-a-a

This comment has been minimized.

Copy link

evan-a-a commented Jun 24, 2017

@chrisjohgorman Microphone has not been resolved yet. For updates, follow the kernel bug report. https://bugzilla.kernel.org/show_bug.cgi?id=95681

@mathnic

This comment has been minimized.

Copy link

mathnic commented Jan 8, 2018

New kernel commit in that thread about analog mic on 5645:
https://git.kernel.org/pub/scm/linux/kernel/git/next/linux-next.git/commit/?h=next-20180104&id=b70b309950418437bbd2a30afd169c4f09dee3e5

Is this relevant here? I have no idea if my mic on Edgar is analog or digital...

@reynhout

This comment has been minimized.

Copy link
Member Author

reynhout commented Jan 8, 2018

@mathnic Good question! Fortunately, this patch is included in the 4.14.12-galliumos1 kernel currently in the testing repo.

I just tested the mic on TERRA (also Braswell & RT5645) on the new kernel. After some futzing with alsamixer, I can see meter movement when tapping the mic itself, so it's possible that careful tuning would yield a usable internal mic. Further futzing required, but I'm hopeful.

@mathnic

This comment has been minimized.

Copy link

mathnic commented Jan 8, 2018

Ah. Good to know it's in testing. I just did the update but no change in mic functionality. On Edgar, I've had mic response from tapping it for quite some time. Anyhow, I'll try some futzing myself:)
Thanks for the new kernel and all good work!

@boutell

This comment has been minimized.

Copy link

boutell commented Feb 8, 2018

No love so far on CELES. Mic input device opens but only records noise. Don't see much I can do in alsamixer?

@maymage

This comment has been minimized.

Copy link

maymage commented Feb 17, 2018

@reynhout

As far as I can judge the patch from Hans de Goede

ASoC: Intel: cht_bsw_rt5645: Analog Mic support

has been merged to kernel 4.16-rc1

https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git/log/?h=v4.16-rc1&qt=grep&q=rt5645

I was installing 4.16-rc2 on my Edgar, mic not working.

However Edgar is rt5650, no rt5645. I found the corresponding mailing list conversation

https://www.spinics.net/lists/alsa-devel/msg71865.html

They report the mic should be usable, even with some noise. Hope, that helps.

@maymage

This comment has been minimized.

Copy link

maymage commented Feb 19, 2018

@reynhout Ping

@kamilsss655

This comment has been minimized.

Copy link

kamilsss655 commented Jul 4, 2018

I also have the same problem.. internal microphone is not working

@jacksonbenete

This comment has been minimized.

Copy link

jacksonbenete commented Jan 5, 2019

Any news?

@chrisjohgorman

This comment has been minimized.

Copy link

chrisjohgorman commented Jan 6, 2019

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment