AnsweredAssumed Answered

does ADV7480 linux driver make it work like normal camera?

Question asked by Wally.Yeh on Jan 28, 2016
Latest reply on Mar 1, 2016 by Wally.Yeh

Hi, guys:

     Our company is using ADV7480 for screen monitoring - it will accept HDMI input, and produce MIPI csi output. so we want to grab some picture form chip's output.

 

    After compile it's bridge&subdevice driver, it will appear a linux system device node - "/dev/video0", we use ADI's official sample application code to configure it's input and output:

user@atrust-000CD3:~$ sudo /.profile/adv748x_app /dev/video0 16

advp_uspace> Video Device-/dev/video0 Openend

advp_uspace> S_CTRL passed. ID: 0x9A191E and VALUE: 0x0

advp_uspace> S_CTRL passed. ID: 0x9A1917 and VALUE: 0xC

advp_uspace> S_CTRL passed. ID: 0x9A1917 and VALUE: 0xD

advp_uspace> S_CTRL passed. ID: 0x9A1917 and VALUE: 0xE

advp_uspace> S_CTRL passed. ID: 0x9A1917 and VALUE: 0x0

advp_uspace> S_CTRL passed. ID: 0x9A1917 and VALUE: 0x1

advp_uspace> S_CTRL passed. ID: 0x9A1917 and VALUE: 0x2

advp_uspace> S_CTRL passed. ID: 0x9A1917 and VALUE: 0x3

advp_uspace> S_CTRL passed. ID: 0x9A1917 and VALUE: 0x4

advp_uspace> S_CTRL passed. ID: 0x9A1917 and VALUE: 0x5

advp_uspace> S_CTRL passed. ID: 0x9A1917 and VALUE: 0x6

advp_uspace> S_CTRL passed. ID: 0x9A1917 and VALUE: 0x7

advp_uspace> S_CTRL passed. ID: 0x9A1917 and VALUE: 0x8

advp_uspace> S_CTRL passed. ID: 0x9A1917 and VALUE: 0x9

advp_uspace> S_CTRL passed. ID: 0x9A1917 and VALUE: 0xA

advp_uspace> S_CTRL passed. ID: 0x9A1917 and VALUE: 0xB

advp_uspace> S_CTRL passed. ID: 0x9A1917 and VALUE: 0xE

advp_uspace> S_CTRL passed. ID: 0x9A1917 and VALUE: 0xF

advp_uspace> S_CTRL passed. ID: 0x9A1903 and VALUE: 0x53

advp_uspace> Input set to HDMI

advp_uspace> Audio set to STEREO AUDIO

advp_uspace> Format set to SMPTE170M - ITU-R 601

advp_uspace> Output set to MIPITxA-SDR422-2CH-1LANE

 

but the device node seems not acting like a normal webcam:

user@atrust-000CD3:~$ /.profile/v4l2grab -d /dev/video0 -o /tmp/test.jpg

/dev/video0 is no video capture device

 

does I missing something? any suggestion will be appreciated, thanks.

 

Outcomes