I encountered a strange problem regarding mx8_v4l2_cap_drm.c

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

I encountered a strange problem regarding mx8_v4l2_cap_drm.c

ソリューションへジャンプ
1,113件の閲覧回数
783435100
Contributor III

Dear technical support:
   mx8_v4l2_cap_drm.c,
   I removed part of the DRM code, kept the v4l2 code, compiled my own mx8_v4l2_cap_drm.out with aarch64-linux-gnu-gcc and run it to ioctl(fd_v4l, VIDIOC_S_PARM, &parm). The return value is -1, and the mx8_v4l2_cap_drm.out provided by the system can be normal Run, why? Thank you!

0 件の賞賛
返信
1 解決策
1,102件の閲覧回数
igorpadykov
NXP Employee
NXP Employee

Hi 783435100

 

one can try to debug it using Video for Linux API documentation and error codes description :

https://siqueira.tech/doc/drm/userspace-api/media/v4l/vidioc-g-parm.html#c.VIDIOC_S_PARM

https://siqueira.tech/doc/drm/userspace-api/media/gen-errors.html#id1

 

Best regards
igor

元の投稿で解決策を見る

0 件の賞賛
返信
1 返信
1,103件の閲覧回数
igorpadykov
NXP Employee
NXP Employee

Hi 783435100

 

one can try to debug it using Video for Linux API documentation and error codes description :

https://siqueira.tech/doc/drm/userspace-api/media/v4l/vidioc-g-parm.html#c.VIDIOC_S_PARM

https://siqueira.tech/doc/drm/userspace-api/media/gen-errors.html#id1

 

Best regards
igor

0 件の賞賛
返信