Take the 2-minute tour ×
Super User is a question and answer site for computer enthusiasts and power users. It's 100% free, no registration required.

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?

share|improve this question
    
Show us your code, please. –  ymn Dec 25 '12 at 8:33

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Browse other questions tagged or ask your own question.