Webcam: libv4l2 & VIDIOC_DQBUF: no such device

I wrote python code using the OpenCV library for motion detection. If movement occurs, a snapshot of a moving object is required. However, my problem is this: if I run the program on my PC (Ubuntu 12.04), everything is OK.

But when I run the program on my BeagleBone with the launch of Angstrom Linux and the Us Robotics webcam device connected to it, after a while the following error appears:

libv4l2: error dequeuing buf: No such device
VIDIOC_DQBUF: No such device

How can I solve this problem? Relationship

edit: I installed ubuntu 12.04 on my BeagleBone and everything is fine with it. It looks like my problem is with the Angstrom image. Perhaps a problem with the driver or library (libv4l2?)? Any ideas?

+5
source share
2 answers

I saw this error with Ubuntu when the board was connected via a USB cable. When I turned on the power with 5V power, the problem disappeared.

+4
source

I had the same problem. Because of this error, I even changed my board. But when I resorted to my oldest source of nutrition, it disappeared. So simple.

0
source

All Articles