AnsweredAssumed Answered

Adv7180 - IMX6 and chromium

Question asked by Gianluca Romanin on Oct 12, 2016
Latest reply on Oct 20, 2016 by jimmychan

Hi all.

 

I'm trying to expose the CSI video device with the adv7180 decoder on a IMX6 Solo/Dual (Variscite IMX6 Solo/Dual).

I managed to patch the kernel and the device is running. I can get a gstreamer pipe with:

 

gst-launch-1.0 imxv4l2videosrc ! imxeglvivsink

 

and get the parallel camera interface input on the touchscreen (I use a variscite solo CustomBoard EVB with a standard touch). The video is working. I am using an analogic camera attached to the adv7180 and all is now smooth.

 

I am now trying to get this device working on chromium as a webcam with WebRTC (appr.tc).

The v4l2 device is not used and not seen. If I start chromium with LD_PRELOAD and v4l1compat.so, chromium

seems to access the adv7180 device but it shows a black screen with no apparent error.

I have enabled debug support on my adv7180.c file and with "v4l2-ctl --list-formats-ext" I get nothing from the v4l2 device:

 

ioctl: VIDIOC_ENUM_FMT

 

the device is accessed but it seems not to return compatible formats.

 

Where am I failing?

Any hint?

Outcomes