如何修复 Raspi 相机 'failed to open vchiq instance'
问题:
你正在尝试使用 raspistill 或 raspivid 访问 Raspberry Pi 相机。虽然你已经使用 raspi-config 启用了相机接口,你看到此错误消息:
raspi_vchiq_error.txt
* failed to open vchiq instance解决方案
你的用户没有访问相机接口的权限。作为快速修复,你可以使用 sudo 以 root 运行 raspistill 或 raspivid,或将你的用户添加到 video 组以获取所需权限:
sudo usermod -a -G video $USER
add_user_video.sh
sudo usermod -a -G video $USER执行此操作后,注销并重新登录以使更改生效 - 或关闭你的 SSH 会话并重新连接。如果有疑问,尝试重启。
Check out similar posts by category:
Embedded, Raspberry Pi
If this post helped you, please consider buying me a coffee or donating via PayPal to support research & publishing of new posts on TechOverflow