1.格式化SD卡以及烧录系统
工具和镜像文件在百度网盘中,链接: https://pan.baidu.com/s/1XpT70_AFxyARCh-U0MkKgQ 提取码: g9kj
针对4B烧录2020-05-27的镜像,如果是3B,直接烧录带respeaker驱动的镜像
2.换源请参考(https://blog.youkuaiyun.com/zqxdsy/article/details/102574239)
更改pip源时
mkdir .pip #新建文件之前先新建文件夹
nano ~/.pip/pip.conf
3.安装中文输入法(https://blog.youkuaiyun.com/SmartTiger_CSL/article/details/101036877)
sudo apt-get install ttf-wqy-zenhei
sudo apt-get install scim-pinyin
4.安装mic驱动(https://wiki.seeedstudio.com/ReSpeaker_6-Mic_Circular_Array_kit_for_Raspberry_Pi/#software)
sudo apt-get update
sudo apt-get upgrade
git clone https://github.com/respeaker/seeed-voicecard.git
cd seeed-voicecard
sudo ./install.sh --compat-kernel
sudo reboot
其中--compat-kernel不可少,参考(https://forum.seeedstudio.com/t/raspberry-4b-with-respeaker-6-mic-dont-work/253469)
5.驱动LED
首先得安装pyusb
git clone https://github.com/walac/pyusb.git
cd pyusb
sudo python setup.py install