摘要:
直接使用 sudo apt install libudev-dev 命令安装会有问题。 问题现象和根因:安装libudev-dev会卸载gdm3,network-manager等。继续执行它会卸载网络服务,桌面环境等,重启后黑屏。 解决: 使用aptitude安装。 sudo apt install 阅读全文
摘要:
使用的音频解码芯片是es8388: 驱动: dmesg会有加载的声卡日志: dmesg |grep -i ALSA -A 10 编解码器(Codec) 查看声卡: cat /proc/asound/cards 边录边播:-d5 5秒 arecord -d5 -Dhw:0,0 -r48000 -c2 阅读全文
摘要:
一共4个文件,在Linux下编译运行。 game.c 游戏要调用的函数 1 #include <stdio.h> 2 #include <unistd.h> 3 #include <stdlib.h> 4 #include <time.h> 5 #include "game.h" 6 7 void 阅读全文