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
10,224 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
1 Solution
5,637 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
6 Replies
5,637 Views
umit_kayacik
Contributor II

Can you pls share the patch?

0 Kudos
5,638 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
5,638 Views
yangthomas
Contributor II

Thanks.

I slove it.

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

epoll has a bug.

0 Kudos
5,638 Views
rbabu
Contributor I

Please share the patch to fix the issue.

0 Kudos
5,638 Views
chrisroed
Contributor IV

Hi Thomas.

What is the epoll bug?

0 Kudos
5,638 Views
yangthomas
Contributor II

Camera can capture video.

0 Kudos