Firefly Open Source Community

Title: rk3399 audio:rt5640 ; linux5.10 [Print This Page]

Author: Senhong    Time: 8/19/2023 15:46
Title: rk3399 audio:rt5640 ; linux5.10
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!
tchip_askquestions

log.zip

35.16 KB, Down times: 0


Author: Senhong    Time: 8/19/2023 15:50
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
Author: zooora111    Time: 8/21/2023 10:02
This may help you: https://wiki.t-firefly.com/en/Fi ... ml?highlight=rt5640





Welcome Firefly Open Source Community (https://bbs.t-firefly.com/) Powered by Discuz! X3.1