VIDIOC_DQBUF failed: Resource temporarily unavailable

cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 

VIDIOC_DQBUF failed: Resource temporarily unavailable

Jump to solution
11,385 Views
yangthomas
Contributor II

Hi,

     I use camera on platform of IMX6.Use selcect or epoll to control camera, but print this log.

VIDIOC_DQBUF failed: Resource temporarily unavailable

int epoll_wait(int epfd, struct epoll_event * events, int maxevents, int timeout);

timeout = -1;

Labels (2)
0 Kudos
Reply
1 Solution
6,798 Views
yangthomas
Contributor II

Thanks.

I slove it.

drivers/media/video/mxc/capture/mxc_v4l2_capture.c

epoll has a bug.

View solution in original post

0 Kudos
Reply
6 Replies
6,798 Views
umit_kayacik
Contributor II

Can you pls share the patch?

0 Kudos
Reply
6,799 Views
igorpadykov
NXP Employee
NXP Employee

Hi Yang

this error is V4L2 Capture IOCTLs error, described for example at

VIDIOC_DQBUF: Resource temporarily unavailable · Issue #3 · fsphil/fswebcam · GitHub

you may wish to test camera with FSL-UT-V4L2-capture tests described in

attached document sect.5.5.2 Video4Linux API test.

Best regards

igor

-----------------------------------------------------------------------------------------------------------------------

Note: If this post answers your question, please click the Correct Answer button. Thank you!

-----------------------------------------------------------------------------------------------------------------------

0 Kudos
Reply
6,799 Views
yangthomas
Contributor II

Thanks.

I slove it.

drivers/media/video/mxc/capture/mxc_v4l2_capture.c

epoll has a bug.

0 Kudos
Reply
6,799 Views
rbabu
Contributor I

Please share the patch to fix the issue.

0 Kudos
Reply
6,799 Views
chrisroed
Contributor IV

Hi Thomas.

What is the epoll bug?

0 Kudos
Reply
6,799 Views
yangthomas
Contributor II

Camera can capture video.

0 Kudos
Reply