Firefly Open Source Community

   Login   |   Register   |
New_Topic
Print Previous Topic Next Topic

[General] rk3399 audio:rt5640 ; linux5.10

23

Credits

0

Prestige

0

Contribution

new registration

Rank: 1

Credits
23

【General】 rk3399 audio:rt5640 ; linux5.10

Posted at 8/19/2023 15:46:10      View:1416 | Replies:3        Print      Only Author   [Copy Link] 1#
Problem description and steps to reproduce:
environment:linux 5.10
when i use commond aplay to test the rt5640 , there has no sound. And the log like that:
# ./aplay -D hw:0 dynamic.wav                                                  
Playing WAVE 'dynamic.wav' : Signed 16 bit Little Endian, Rate 44100 Hz, Stereo

the output seem has no error , but has no sound.
And i did not know what happen with it. And i have some materies about the configs like that:
4005   rt5640-sound {
4006     compatible = "simple-audio-card";
4007     simple-audio-card,format = "i2s";
4008     simple-audio-card,name = "rockchip,rt5640-codec";
4009     simple-audio-card,mclk-fs = <256>;
4010     simple-audio-card,widgets =
4011     "Microphone", "Mic Jack",
4012     "Headphone", "Headphone Jack";
4013     simple-audio-card,routing =
4014     "Mic Jack", "MICBIAS1",
4015     "IN1P", "Mic Jack",
4016     "Headphone Jack", "HPOL",
4017     "Headphone Jack", "HPOR";
4018
4019     simple-audio-card,cpu {
4020       sound-dai = <0xce>;//i2c1
4021     };
4022
4023     simple-audio-card,codec {
4024       sound-dai = <0xce>;//rt5640c
4025     };
4026   };

I waiting for help!

log.zip

35.16 KB, Down times: 0

Reply

Use props Report

23

Credits

0

Prestige

0

Contribution

new registration

Rank: 1

Credits
23
Posted at 8/19/2023 15:50:46        Only Author  2#
oh , the log of the rt5640 is that:
[    1.834027] rt5640 1-001c: Failed to reguest IRQ 0: -22
[    9.883188] #1: rockchip,rt5640-codec
Reply

Use props Report

182

Credits

0

Prestige

0

Contribution

registered members

Rank: 2

Credits
182
Posted at 8/21/2023 10:02:40        Only Author  3#
Reply

Use props Report

16

Credits

0

Prestige

0

Contribution

new registration

Rank: 1

Credits
16
Posted at 11/13/2024 10:43:25        Only Author  4#
I followed the instructions here and the problem was solved. https://wiki.t-firefly.com/en/Fi ... ml?highlight=rt5640 word hurdle
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