When I try to take an image through the fswebcam, Raspberry Pi 2 shows following error.
--- 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
And I am using following command to take the photo:
What could be the problem ?