1,linux音频测试
aplay -l 查看设备
录音
arecord -D hw:0,0 -f S16_LE -r 8000 -c 2 -d 3 -t wav record.wav
播放
aplay -D plughw:0,0 record.wav
补充:
speaker-test -D hw:0,0 -c2 -r48000
aplay east123.wav -D default:CARD=U0x4b40x307 //声卡名操作
alsamixer -c 0/1/2/3 //方向键就可以操作 ,图形界面
/**************************************************************/
2,linux串口测试
minicom -D /dev/ttySP0 -b 115200
stty -a 查看所有终端设置
stty -F /dev/ttySP0 115200 raw
cat /dev/ttySP0 收数据
cat>/dev/ttySP0 发文件
echo "ispsubb" /dev/ttySP0 发数据
参考链接 https://community.freescale.com/message/310814#310814
/**************************************************************/
3,linux查看CPU ,MEM
cat /proc/cpuinfo
cat /proc/meminfo
top
/**************