2
I am using a raspberry pi with raspbian to capture webcam shots and upload them to a web server. However, when I rebooted just now I no longer have access to the webcam. I have no idea why this suddenly happened, I didn't change anything as far as I know before I rebooted. I just chowned and chmoded an unrelated file (bash script), and added a cron job. Even logged in as root I cannot access the webcam. These are error messages I get when I try to utilize the webcam in various ways:
libv4l2: error turning on stream: Operation not permitted
v4l2: ioctl(fildes = 3 "/dev/video0", request = VIDIOC_STREAMON, int *data = { V4L2_BUF_TYPE_VIDEO_CAPTURE }) failed, Operation not permitted (1, EPERM) because the process does not have the appropriate privileges to use the ioctl VIDIOC_STREAMON system call
Fatal Python error: (pygame parachute) Segmentation Fault
error: ioctl(VIDIOC_STREAMON) failure : 1, Operation not permitted
Does anyone know what could be wrong?
Show us your code, please. – ymn – 2012-12-25T08:33:40.190