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 };