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;
Solved! Go to Solution.
Thanks.
I slove it.
drivers/media/video/mxc/capture/mxc_v4l2_capture.c
epoll has a bug.
Can you pls share the patch?
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!
-----------------------------------------------------------------------------------------------------------------------
Thanks.
I slove it.
drivers/media/video/mxc/capture/mxc_v4l2_capture.c
epoll has a bug.
Please share the patch to fix the issue.
Hi Thomas.
What is the epoll bug?
Camera can capture video.