Cannot turn on camera on Jetson Nano 4GB

Hello forums! I bought jetson nano 4GB which has model name P3450 and a IMX219-120 camera image. I used opencv2 to start interacting with camera but it didn’t work. The error said that it cannot find camera by index.?

Does the sensor driver probe successfully?
Have a check with v4l2-ctl --list-devices. Also check the kernel message by " dmesg | grep -i imx219"

Thanks for your response !
I got this message when typing this line “v4l2-ctl --list-devices”

vi-output, imx219 8-0010 (

and here is the message I got from this command “dmesg | grep -i imx219”

luggage@localhost:~$ dmesg | grep -i imx219
[ 1.243990] imx219 7-0010: tegracam sensor driver:imx219_v2.0.6
[ 1.267363] imx219 7-0010: imx219_board_setup: error during i2c read probe (-121)
[ 1.267391] imx219 7-0010: board setup failed
[ 1.267452] imx219: probe of 7-0010 failed with error -121
[ 1.267854] imx219 8-0010: tegracam sensor driver:imx219_v2.0.6
[ 1.477565] vi subdev imx219 8-0010 bound

Could you confirm if below command working well?

v4l2-ctl --stream-mmap--set-ctrl bypass_mode=0

Also what’s you command to launch camera? Have you try sensor-id=1?

1 Like

No the command resulted in

v4l2-ctl: unrecognized option ‘–stream-mmap–set-ctrl’
Unknown argument ‘bypass_mode=0’

I used opencv to turn on camera as well as chess webcam booth.

It’s could be the command line not type correct.
I don’t think the bayer sensor(imx219) can support chess webcam.

1 Like

Hi ! The command v4l2-ctl --stream-mmap --set-ctrl bypass_mode=0
gave me this message
“VIDIOC_REQBUFS: failed: Device or resource busy”

Some APP acquire the video# node.
Try reboot the system and try it first.

1 Like

Jetson nano can detect my camera now but I cannot turn on camera. I followed CSI-Camera instruction.
This command " gst-launch-1.0 nvarguscamerasrc sensor_id=0" gave me

Error generated. /dvs/git/dirty/git-master_linux/multimedia/nvgstreamer/gst-nvarguscamera/gstnvarguscamerasrc.cpp, execute:551 Failed to create CameraProvider

I tried “python” and it showed “can’t open camera by index”

It’s original system image? what’s the version?

1 Like

Yes I downloaded from official website? Here is the information of my system

Check the BSP version by

cat /etc/nv_tegra_release

Here is message i got

How about the sensor-id =1?

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

It gives me the window of name gst-launch-1.0 but didn’t show up any image from the camera?

Any message from the launch console?

Yes, it gave me this message

Does your Nano have two camera connector? Try to connect to another connector.

OK I will try it! Thanks for your quick response

I switched to another camera connector but still got this window

And the message from terminal is CONSUMER: Producer has connected; continuing