HI,
CONFIG_IMX8_MEDIA_DEVICE=m
CONFIG_IMX8_ISI_HW=y
CONFIG_IMX8_ISI_CORE=y
CONFIG_IMX8_ISI_CAPTURE=y
CONFIG_IMX8_ISI_M2M=y
CONFIG_IMX8_MIPI_CSI2=y
CONFIG_IMX8_MIPI_CSI2_SAM=y
CONFIG_IMX8_PARALLEL_CSI=y
I used the virtual channel of imx8,but the registered video device does not have the capture function。
example:
struct v4l2_capability cap;
ioctl(fd,VIDIOC_QUERYCAP,&cap);
if(!(cap.capabilities & V4L2_CAP_VIDEO_CAPTURE))
{
printf("[%s:%d]TK---------->>>>>%s is no video capture device\n",__func__,__LINE__,dev);
}
else
{
printf("[%s:%d]TK---------->>>>>Device %s: supports capture.\n",__func__,__LINE__,dev);
}
the ISI video such as /dev/video8 is is no video capture device,but use the uvcvideo is ok.
the kernle log is:
[ 7.290430] mx8-img-md: created link [nvp6324_mipi 6-0030] => [mxc-mipi-csi2.1]
[ 7.302302] mxc-md bus@58000000:camera: mxc_md_create_links
I use the AHD to mipi chip nvp6324,So how should I handle ISI device registration
thanks;
Hi songhongliang
for virtual channels one can look at MX8XMIPI4CAM2 configuration:
https://www.nxp.com/part/MX8XMIPI4CAM2#/
simple unit test:
Best regards
igor
HI,
I am use the usb camera is ok, in QT QCamera or QML。
So,I expect the ISI camera can also be very convenient to use。in QCamera or QML。
I am not sure if there is something wrong with the driver of the virtual channel(IMX8 Image Sensor Interface Capture Device Driver )。Please help to confirm
thanks!
thanks
one can try to build QT image using Table 1. i.MX Yocto project images
i.MX Yocto Project User’s Guide
https://developer.ridgerun.com/wiki/index.php?title=Gstreamer_QT_Overlay
Best regards
igor
HI,
You can see the screen when you use the mx8_v4l2_cap_drm.c
example:
/unit_tests/V4L2/mx8_v4l2_cap_drm.out -cam 0x100 -ow 1280 -oh 720 -num 200
the cmd is ok,
but, I want use camera in QT, use Qcamera or QML to Get video
thanks!