VIDIOC_DBG_G_CHIP_IDENT failed

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

VIDIOC_DBG_G_CHIP_IDENT failed

1,685 次查看
dh29
Contributor IV

I am trying to interface an AD7280M (MIPI) video grabber to an IMX7D. I have managed to get the driver initializing the ADV7280M on boot, but upon trying to perform any capture (imx-test utils) I get a VIDIOC_DBG_G_CHIP_IDENT error.

I have the ADV7280M configured in progressive test mode (non-interlaced).

If I run v4l2-dbg -l then I get:

ioctl: VIDIOC_DBG_G_REGISTER

00 04 08 0C 10 14 18 1C
ioctl: VIDIOC_DBG_G_REGISTER failed
: Inappropriate ioctl for device
00000000:

Within my driver, ioctl_dev_init() is never being called, but I don't understand what part of Linux should be calling this?

Is the VIDIOC_DBG_G_CHIP_IDENT error as a result of ioctl_dev_init() not being called?

or

Is ioctl_dev_init() not being called because of the cause of the VIDIOC_DBG_G_CHIP_IDENT error?

Any guidance/explanation would be appreciated.

标签 (3)
0 项奖励
2 回复数

1,106 次查看
jamesbone
NXP TechSupport
NXP TechSupport

Hello Dh29,

VIDIOC_DBG_G_CHIP_IDENT allows the camera driver to identify itself. Most likely you are not compiling the camera driver or modprobing it. Which camera are you using?

0 项奖励

1,106 次查看
dh29
Contributor IV

Hi jamesbone ,

Thanks for your reply. It is actually my own driver for an ADV7820M, that is based on /drivers/media/platform/mxc/subdev/ov5640_mipi.c.

The driver is definitely being probed. I am able to capture video using a PAL camera, via the ADV7820M, using gstreamer-1.0.

0 项奖励