I have a normal usb 2.0 cam. Connecting it to my pc, it works perfectly. It is not working with my raspberry pi (2). I had installed motion and it had worked good before 2/3 weeks when I tried it but now, it says
[1] Retrying until successful connection with camera
[1] Failed to open video device /dev/video0: No such file or directory
When I run:
sudo modprobe bcm2835-v4l2
It gives me:
ERROR: could not insert 'bcm2835_v4l2': Operation not permitted
I searched up much but did not find a solution. When I run:
vcgencmd get_camera
I get:
supported=1, detected=0
What can I do?