硬件部分如下
ps:硬件部分已经有人用专用镜像测试过,应该是没有问题的?
aplay和arecord已经可以识别到声卡了,但是录音时候会报错,播放也是没有声音的。内容如下
#
# aplay -l
**** List of PLAYBACK Hardware Devices ****
card 0: Codec [V3s Audio Codec], device 0: CDC PCM Codec-0 []
Subdevices: 1/1
Subdevice #0: subdevice #0
# arecord -l
**** List of CAPTURE Hardware Devices ****
card 0: Codec [V3s Audio Codec], device 0: CDC PCM Codec-0 []
Subdevices: 1/1
Subdevice #0: subdevice #0
# arecord -d 5 -f cd -r 44100 -c 2 -t wav test.wav
Recording WAVE 'test.wav' : Signed 16 bit Little Endian, Rate 44100 Hz, Stereo
arecord: pcm_read:2152: read error: Input/output error
#
已经在dts中加入了声卡 设备树如下
...
&codec {
allwinner,audio-routing =
"Headphone", "HP",
"Headphone", "HPCOM",
"MIC1", "Mic",
"Mic", "HBIAS";
status = "okay";
};
...
离线