Camera 我运行raspistill或raspivid时出现ENOMEM错误:

Camera 我运行raspistill或raspivid时出现ENOMEM错误:,camera,raspberry-pi,Camera,Raspberry Pi,当我运行raspistill或raspivid时,我得到以下错误: mmal: Cannot read camera info, keeping the defaults for OV5647 mmal: mmal_vc_component_create: failed to create component 'vc.ril.camera' (1:ENOMEM) mmal: mmal_component_create_core: could not create component 'vc.ri

当我运行
raspistill
raspivid
时,我得到以下错误:

mmal: Cannot read camera info, keeping the defaults for OV5647
mmal: mmal_vc_component_create: failed to create component 'vc.ril.camera' (1:ENOMEM)
mmal: mmal_component_create_core: could not create component 'vc.ril.camera' (1)
mmal: Failed to create camera component
mmal: main: Failed to create camera component
mmal: Camera is not detetected. Please check carefully the camera module is installed correctly
我已经重新安装了好几次相机带。相机上的led灯也亮着。

下面为我解决了这个问题

sudo raspi-config
-> 5 Interfacing Options
-> Camera
-> Yes
-> Reboot

您是否在
/boot/config.txt
中检查了
gpu_mem
是否足够?是否运行了
sudo Raspivid config
并在其中启用摄像头并重新启动?是否有任何原因导致停机?上面的菜单配置确实解决了我的相机问题,我想我是通过谷歌搜索ENOMEM和raspistill找到这张票的。