Super User is a question and answer site for computer enthusiasts and power users. Join them; it only takes a minute:

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

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

You must log in to answer this question.

Browse other questions tagged .