Firefly Open Source Community

   Login   |   Register   |
New_Topic
12
New Topic
Print Previous Topic Next Topic

[Android] Audio RT5640

103

Credits

0

Prestige

0

Contribution

registered members

Rank: 2

Credits
103

【Android】 Audio RT5640

Posted at 12/14/2018 21:00:13      View:10750 | Replies:10        Print      Only Author   [Copy Link] 1#
Hi
We run Android Oreo 8.1 on our FireFly-RK3399 Boards in our Labs at the University.
Everything runs smooth except the audio part is not working.
There is no sound on the headset HPOx and also on the speaker SPOx output.
It seems that device tree is ok and the audio drivers are installed.

130|rk3399_firefly_mid:/ # cat /proc/asound/cards                              
0 [rockchiprt5640c]: rockchip_rt5640 - rockchip,rt5640-codec
                                              rockchip,rt5640-codec
1 [ROCKCHIPSPDIF  ]: ROCKCHIP_SPDIF - ROCKCHIP,SPDIF
                                                 ROCKCHIP,SPDIF
2 [rkhdmidpsound  ]: rk-hdmi-dp-soun - rk-hdmi-dp-sound
                                                 rk-hdmi-dp-sound

How can I  fix that problem?
Is it more a Linux problem  or in the Android part?

Many thanks and Regards
Martin
Reply

Use props Report

792

Credits

10

Prestige

10

Contribution

advanced

Rank: 4

Credits
792
Posted at 12/22/2018 11:19:07        Only Author  2#
Working on it. Just waiting for update.
Reply

Use props Report

103

Credits

0

Prestige

0

Contribution

registered members

Rank: 2

Credits
103
Posted at 12/22/2018 21:16:19        Only Author  3#
Thank you leung :_)
Reply

Use props Report

103

Credits

0

Prestige

0

Contribution

registered members

Rank: 2

Credits
103
Posted at 12/27/2018 21:06:38        Only Author  4#
Dear leung

Do you already have a fix for the audio problem.
It would be great if the new firmware works at the beginning of January and we are able to use it at our labs.

Thank you.
Reply

Use props Report

103

Credits

0

Prestige

0

Contribution

registered members

Rank: 2

Credits
103
Posted at 1/16/2019 20:39:11        Only Author  5#
Any progress?

Thanks
Reply

Use props Report

792

Credits

10

Prestige

10

Contribution

advanced

Rank: 4

Credits
792
Posted at 1/18/2019 15:33:37        Only Author  6#

patch.rar (6.61 MB, Down times: 57)




flash kernel.img and replace source code
audio.primary.rk30board.so_32 vendor/rockchip/common/tinyalsa/lib/hw/audio.primary.rk30board.so
audio.primary.rk30board.so_64 vendor/rockchip/common/tinyalsa/lib64/hw/audio.primary.rk30board.so

or adb push and replace
vendor/lib64/hw/audio.primary.rk30board.so
vendor/lib/hw/audio.primary.rk30board.so
Reply

Use props Report

103

Credits

0

Prestige

0

Contribution

registered members

Rank: 2

Credits
103
Posted at 1/19/2019 18:14:09        Only Author  7#
Hello

adb push doesn’t work directly because /vender/ is mounted ro
I was able to update the audio.primary.rk30board.so in the vendor.img (64bit)

How can I unpack/repack the kernel.img
We use a modified device tree blob rk3399-firefly.dtb and I need to replace it?

It would be great if the patch goes into the firenow-oreo-rk3399 repo.

Thanks a lot
Martin
Reply

Use props Report

103

Credits

0

Prestige

0

Contribution

registered members

Rank: 2

Credits
103
Posted at 1/21/2019 16:10:20        Only Author  8#
Hello

We use a touchscreen driver from FocalTech FT5x06 in the kernel.
Your kernel image doesn't work, because the FT5x06 driver is not enabled in your kernel image.

What changes do I have to make in the kernel source tree for the audio part?

Thank you
Martin

Reply

Use props Report

792

Credits

10

Prestige

10

Contribution

advanced

Rank: 4

Credits
792
Posted at 1/21/2019 16:39:16        Only Author  9#
aebersold Posted at 1/21/2019 16:10
Hello

We use a touchscreen driver from FocalTech FT5x06 in the kernel.

We will update Android8.1 source code this week . Just wait a few days.
Reply

Use props Report

103

Credits

0

Prestige

0

Contribution

registered members

Rank: 2

Credits
103
Posted at 1/27/2019 17:28:51        Only Author  10#
Hello

Is the Android 8.1 source already updated?
I would like to update the firmware of our 35 RK399 Android Lab-Kits.

Thank you
Reply

Use props Report

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

This forum Credits Rules

Quick Reply Back to top Back to list