Firefly Open Source Community

   Login   |   Register   |
New_Topic
Print Previous Topic Next Topic

[Linux] how to enable mic linein input using microphone(3.5mm jack) in UBUNTU

1388

Credits

0

Prestige

0

Contribution

vip

Rank: 6Rank: 6

Credits
1388
Posted at 3/8/2019 14:18:27      1#
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.


Reply

Use props Report

1388

Credits

0

Prestige

0

Contribution

vip

Rank: 6Rank: 6

Credits
1388
Posted at 3/19/2019 09:16:03      2#
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.
Reply

Use props Report

You need to log in before you can reply Login | Register

This forum Credits Rules

Quick Reply Back to top Back to list