Firefly Open Source Community
Title: how to enable mic linein input using microphone(3.5mm jack) in UBUNTU [Print This Page]
Author: meche95 Time: 3/6/2019 11:04
Title: how to enable mic linein input using microphone(3.5mm jack) in UBUNTU
Last edited by meche95 In 3/6/2019 12:59 Editor
Hi Firefly team,
I would like to use microphone linein (headset with 3.5mm 4 pin jack) in ubuntu.
I checked the mic is working within Android which is default installation when I got the board first time with change in audio setting in Android.
After the firmware changed to ubuntu 18.04,
I tested the mic device input and checked that is working well which is attached mic sensor device right beside the PWR button.
But I want to use the headset (mic+ spk via 3.5mm jack with 4 pins ).
#01. Is it possible to use headset in Ubuntu 18.04 ?
#02. How to disable built-in MIC device in kernel?
I checked that the headset(mic+ spk via 3.5mm jack with 4 pins)
is working within the Android 7.1 firmware.
#02. Is there a way to use headset in Ubuntu 18.04? (by modifying the kernel & some sound related code)
Or where do I change the kernel code?
Roughly I guess that refer to Android code and change the Ubuntu source tree.
Please give me any information, it will be helpful & appreciated.
Author: penguin Time: 3/8/2019 14:18
Last edited by penguin In 3/8/2019 14:27 Editor
Hi, @meche95,
According to the driver code at:
https://github.com/FireflyTeam/k ... soc/codecs/rt5640.c
add "linein-mute = 1" to the rt5640 node in dts.
Then a "/sys/linein/linein" file will be created.
echo 1 > /sys/linein/linein
should be sufficient to turn on Line In support.
Author: meche95 Time: 3/18/2019 10:27
Last edited by meche95 In 3/18/2019 10:29 Editor
Hi thank you for reply.
I added the "linein-mute=1" and I found the /sys/linein/linein after compile & flasing the firmware.
But when I install ubuntu using the following guideline, mic input DOES NOT work.
And also linein input does not work.
I'm using the rootfs image named in 'rk3399_ubuntu18.04_LXDE.img'.
http://wiki.t-firefly.com/en/Fir ... ux_compile_gpt.html
When I flash the image (FIREFLY-RK3399-UBUNTU18.04-GPT-20190216-1136.img), then MIC input works well.
But when I compiled the kernel, uboot, etc and using rk3399_ubuntu18.04_LXDE.img rootfs then MIC input did NOT work.
How can I enable Mic input with kernel compile with latest source ?
Author: penguin Time: 3/19/2019 09:16
Hi @meche95,
You can use some tools to extract FIREFLY-RK3399-UBUNTU18.04-GPT-20190216-1136.img,
splitting into individual kernel, uboot and rootfs image etc.
http://wiki.t-firefly.com/en/Fir ... droid_firmware.html
Then you can take the right rootfs to move on.
Author: olivera936 Time: 1/10/2026 10:48
I’m in awe of this article, thank you for sharing it with us! Strengthen your IT abilities with free Real 1Z0-1081-24 braindumps. Good luck with your exams!
Author: ashleyd111 Time: 1/18/2026 23:20
Your article was absolutely enlightening, thank you! Here comes the 100% 312-50v13 exam coverage exam! Wish me luck and success!
Author: jaybrow641 Time: 1/23/2026 17:02
やってみて購入します。我々ShikenPASSはすべてのお客様に責任を持っています。我々はあなたにCiscoの300-430試験ソフトのデモを無料で提供しています。あなたは体験してから安心で購入できます。われわれはあなたが弊社のCiscoの300-430試験ソフトを購入して満足することに自信を持っています。利用してからあなたも弊社のCiscoの300-430試験ソフトに自信を持っています。あなたは自信満々にCiscoの300-430試験に参加することができます。
Author: jamesmo834 Time: 5 day before
他の人はあちこちでCIPS L5M1試験資料を探しているとき、あなたはすでに勉強中で、準備階段でライバルに先立ちます。また、我々ShikenPASSは量豊かのCIPS L5M1試験資料を提供しますし、ソフト版であなたにCIPS L5M1試験の最も現実的な環境をシミュレートさせます。勉強中で、何の質問があると、メールで我々はあなたのためにすぐ解決します。心配はありませんし、一心不乱に試験復習に取り組んでいます。
| Welcome Firefly Open Source Community (https://bbs.t-firefly.com/) |
Powered by Discuz! X3.1 |