IMX219 camera issue

    Hello.

I am newbie at camera activity.
So, I bought IMX219 camera:
https://www.amazon.com/dp/B082W4QGZH?psc=1&ref=ppx_yo2_dt_b_product_details
And connected it to CAM0 socket:

mobulusnet@mobulusnet-desktop:~$ dmesg | grep imx
[    1.878955] imx219 9-0010: tegracam sensor driver:imx219_v2.0.6
[    1.902477] imx219 9-0010: imx219_board_setup: error during i2c read probe (-121)
[    1.902520] imx219 9-0010: board setup failed
[    1.902606] imx219: probe of 9-0010 failed with error -121
[    1.903009] imx219 10-0010: tegracam sensor driver:imx219_v2.0.6
[    2.851412] tegra194-vi5 15c10000.vi: subdev imx219 10-0010 bound

As a result, I have /dev/video0 point.
I tried to get video with help of this instruction:

But it fails:
mobulusnet@mobulusnet-desktop:~/MIPI_Camera/Jetson/Jetvariety/example$ python3 arducam_displayer.py

Firmware Version: 0
Sensor ID: 0x0000
Serial Number: 0x00000000

It seems, that there is I2C access problems.
I tried to scan I2C bus, and as result there is no IMX219 camera:

mobulusnet@mobulusnet-desktop:~/MIPI_Camera/Jetson/Jetvariety/example$ i2cdetect -y 2
Warning: Can't use SMBus Quick Write command, will skip some addresses
     0  1  2  3  4  5  6  7  8  9  a  b  c  d  e  f
00:                                                 
10:                                                 
20:                                                 
30: -- -- -- -- -- -- -- --                         
40:                                                 
50: -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- 
60:                                                 
70:                                                 
mobulusnet@mobulusnet-desktop:~/MIPI_Camera/Jetson/Jetvariety/example$ 

R32 (release), REVISION: 4.4
What is my mistake? How to bring this camera up?

Thank you for help.

1 Like

Check with below command.

v4l2-ctl -c bypass_mode=0 --stream-mmap

gst-launch-1.0 nvarguscamerasrc sensor-id=0 ! 'video/x-raw(memory:NVMM),format=NV12' ! nvvidconv ! fpsdisplaysink video-sink=xvimagesink sync=false -v

While running command ‘v4l2-ctl -c bypass_mode=0 --stream-mmap’, nothing happens.


But while running ‘gst-launch-1.0 nvarguscamerasrc sensor-id=0…’ it seems that OK and I can see a stream.

Dmesg is without errors.
Why the behavior so different?
And why I can’t grab video methods like this?
mplayer tv:// -tv driver=v4l2:width=640:height=480:device=/dev/video0 -fps 15 -vf screenshot

Thank you for the clarification.

It’s Bayer sensor don’t support v4l2 APP need implement DeBayer for it. If need preview from Jetson ISP need using Argus base APP like command mention in early comment or using MMAPI for it.

Thank you for information.

This topic was automatically closed 14 days after the last reply. New replies are no longer allowed.