I just got my Camera Board and a Model A Raspberry Pi to use as a security camera for my house. I had been using Motion with a Logitech C170 USB camera on my Model B board and it worked great except for the quality. I was expecting the Raspberry Pi Camera Board to show up as /dev/video0
but when I run Motion I get an error:
Failed to open video device /dev/video0: No such file or directory
The camera works fine with raspistill -d
. This has to work with Motion as it has to take videos/pictures when movement is detected and I have to be able to access it from work.
This question was no good for me as it never answered my question and I'm not using python.
echo "bcm2835-v4l2" | tee -a /etc/modules
Ensure you can run the command firstsudo modprobe bcm2835-v4l2
– Drew Anderson Feb 03 '15 at 22:16