I have added "bcm2845-v4l2" in the /etc/modules-load.d/modules.conf
I have enabled the camera interface
I have inputted $sudo apt-get install motion
$sudo apt-get update
$sudo apt-get upgrade
I input $ls /dev/video* and get
/dev/video0
I open the chromium and input 127.0.0.1:8080
I can get the image from usb camera
but when I input vcgencmd get_camera, I get
supported=1 detected=0
when I input $sudo raspistill -o camera.jpg, I get
mmal: Cannot read camera info, keeping the default for OV5647
mmal: mmal_vc_component_create: failed to create component 'vc.ril.camera' (1:ENOMEM)
mmal: mmal_vc_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 detected. Please check carefully the camera module is installled correctly
when I input $fswebcam /dev/video0 ~/image.jpg, I get
--- Opening /dev/video0...
Trying source module v4l2...
/dev/video0 opened.
No input was specified, using the first.
Error selecting input 0
VIDIOC_S_INPUT: Device or resource busy
I do not know why. Could you help me, please? Thank you!