VIDIOC_DQBUF failed: Resource temporarily unavailable

取消
显示结果 
显示  仅  | 搜索替代 
您的意思是: 
已解决

VIDIOC_DQBUF failed: Resource temporarily unavailable

跳至解决方案
10,590 次查看
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;

标签 (2)
0 项奖励
1 解答
6,003 次查看
yangthomas
Contributor II

Thanks.

I slove it.

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

epoll has a bug.

在原帖中查看解决方案

0 项奖励
6 回复数
6,003 次查看
umit_kayacik
Contributor II

Can you pls share the patch?

0 项奖励
6,004 次查看
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 项奖励
6,004 次查看
yangthomas
Contributor II

Thanks.

I slove it.

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

epoll has a bug.

0 项奖励
6,004 次查看
rbabu
Contributor I

Please share the patch to fix the issue.

0 项奖励
6,004 次查看
chrisroed
Contributor IV

Hi Thomas.

What is the epoll bug?

0 项奖励
6,004 次查看
yangthomas
Contributor II

Camera can capture video.

0 项奖励