摘要: 直接使用 sudo apt install libudev-dev 命令安装会有问题。 问题现象和根因:安装libudev-dev会卸载gdm3,network-manager等。继续执行它会卸载网络服务,桌面环境等,重启后黑屏。 解决: 使用aptitude安装。 sudo apt install 阅读全文
posted @ 2024-04-03 09:15 潇汀 阅读(5) 评论(0) 推荐(0) 编辑
摘要: 使用的音频解码芯片是es8388: 驱动: dmesg会有加载的声卡日志: dmesg |grep -i ALSA -A 10 编解码器(Codec) 查看声卡: cat /proc/asound/cards 边录边播:-d5 5秒 arecord -d5 -Dhw:0,0 -r48000 -c2 阅读全文
posted @ 2024-02-07 10:29 潇汀 阅读(94) 评论(0) 推荐(0) 编辑
摘要: 一共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 阅读全文
posted @ 2023-02-05 12:19 潇汀 阅读(0) 评论(0) 推荐(0) 编辑