Raspberry Pi 实用指南:vcgencmd 命令、Pi Zero 配置与交叉编译
1. vcgencmd 命令详解
Raspberry Pi 除了常见的 Linux 命令外,还包含一个名为 vcgencmd 的自定义命令,可报告电压、温度等特定属性。该命令的可执行文件为 /usr/bin/vcgencmd 。
1.1 vcgencmd 命令列表
使用 vcgencmd commands 可列出所有支持的选项,以下是部分命令及其描述:
| 命令 | 参数 | 描述 |
| — | — | — |
| ap_output_control | | |
| ap_output_post_processing | | |
| arbiter | | |
| cache_flush | | 刷新 GPU 的 L1 缓存 |
| codec_enabled | codec | 报告编解码器状态(H264、MPG2、WVC1 之一) |
| commands | | 列出支持的命令 |
| disk_notify | | |
| display_power | 0 或 1 | 关闭或打开显示器 |
| dispmanx_list | | |
| egl_platform_switch | | |
| file | | |
| force_audio | | |
| get_camera | | |
| get_config | parameter | 查询配置参数
超级会员免费看
订阅专栏 解锁全文
10

被折叠的 条评论
为什么被折叠?



