默认使用官方摄像头模块是没有/dev/video0设备的,但是用raspistill能用,按照官方wiki: https://wiki.archlinux.org/index.php/Raspberry_Pi#Raspberry_Pi_camera_module
的做法:在/etc/modules中加入bcm2835-v4l2 这行,然后重启就行。
默认使用官方摄像头模块是没有/dev/video0设备的,但是用raspistill能用,按照官方wiki: https://wiki.archlinux.org/index.php/Raspberry_Pi#Raspberry_Pi_camera_module
的做法:在/etc/modules中加入bcm2835-v4l2 这行,然后重启就行。