VIDIOC_DQBUF failed: Resource temporarily unavailable

キャンセル
次の結果を表示 
表示  限定  | 次の代わりに検索 
もしかして: 

VIDIOC_DQBUF failed: Resource temporarily unavailable

ソリューションへジャンプ
10,593件の閲覧回数
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,006件の閲覧回数
yangthomas
Contributor II

Thanks.

I slove it.

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

epoll has a bug.

元の投稿で解決策を見る

0 件の賞賛
6 返答(返信)
6,006件の閲覧回数
umit_kayacik
Contributor II

Can you pls share the patch?

0 件の賞賛
6,007件の閲覧回数
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,007件の閲覧回数
yangthomas
Contributor II

Thanks.

I slove it.

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

epoll has a bug.

0 件の賞賛
6,007件の閲覧回数
rbabu
Contributor I

Please share the patch to fix the issue.

0 件の賞賛
6,007件の閲覧回数
chrisroed
Contributor IV

Hi Thomas.

What is the epoll bug?

0 件の賞賛
6,007件の閲覧回数
yangthomas
Contributor II

Camera can capture video.

0 件の賞賛