# Jetson Xavier did not find CSI camera

**URL:** <https://forums.developer.nvidia.com/t/jetson-xavier-did-not-find-csi-camera/214011>\
**Category:** Jetson Xavier NX\
**Tags:** camera\
**Created:** [May 11, 2022, 3:17am UTC](https://forums.developer.nvidia.com/t/jetson-xavier-did-not-find-csi-camera/214011 "2022-05-11T03:17:54Z")\
**Posts on this page:** 8\
**Page:** 1

<div class="post-metadata">

**Author:** ![AutoCar](https://sea2.discourse-cdn.com/nvidia/user_avatar/forums.developer.nvidia.com/autocar/32/166725_2.png) [@AutoCar](https://forums.developer.nvidia.com/u/AutoCar)\
**Post date:** [May 11, 2022, 3:17am UTC](https://forums.developer.nvidia.com/t/jetson-xavier-did-not-find-csi-camera/214011/1 "2022-05-11T03:17:54Z")

</div>

I tried to use the following RPI camera with NX,

> **[Amazon.com: Arducam 8MP IMX219 175 Degree Ultra Wide Angle Camera Module,...](https://www.amazon.com/Arducam-Camera-Module-NVIDIA-Jetson/dp/B082W4QGZH)**
>
> Amazon.com: Arducam 8MP IMX219 175 Degree Ultra Wide Angle Camera Module, Compatible with NVIDIA Jetson Nano, Raspberry Pi CM3/CM4 : Electronics

> **[Amazon.com: Compatible with NVIDIA Jetson Nano Camera IMX219-160 8-Megapixels...](https://www.amazon.com/Jetson-Nano-Camera-IMX219-160-8-Megapixels/dp/B07T43K7LC)**
>
> Amazon.com: Compatible with NVIDIA Jetson Nano Camera IMX219-160 8-Megapixels Camera Module 3280 × 2464 Resolution 160 Degree Wide Angle of View with IMX219 Sensor : Electronics

But “ls /dev/video\*” did not show anything. “v4l2-ctl” also said “could not find video0”.

How can I use this camera?

---

<div class="post-metadata">

**Author:** ![Mt.Hiker](https://developer.download.nvidia.com/images/forums/profile-default-devtalk-84.png) [@Mt.Hiker](https://forums.developer.nvidia.com/u/Mt.Hiker)\
**Post date:** [May 11, 2022, 3:47am UTC](https://forums.developer.nvidia.com/t/jetson-xavier-did-not-find-csi-camera/214011/3 "2022-05-11T03:47:51Z")

</div>

Did you check the ribbon cable direction?  
When you connect this camera module to Jetson, pls shutdown first.

---

<div class="post-metadata">

**Author:** ![ShaneCCC](https://sea2.discourse-cdn.com/nvidia/user_avatar/forums.developer.nvidia.com/shaneccc/32/14043_2.png) [@ShaneCCC](https://forums.developer.nvidia.com/u/ShaneCCC)\
**Post date:** [May 11, 2022, 3:49am UTC](https://forums.developer.nvidia.com/t/jetson-xavier-did-not-find-csi-camera/214011/4 "2022-05-11T03:49:05Z")

</div>

Check if the driver loaded by below command.

```auto
dmesg | grep -i imx219

```

---

<div class="post-metadata">

**Author:** ![jdluckyday](https://developer.download.nvidia.com/images/forums/profile-default-devtalk-84.png) [@jdluckyday](https://forums.developer.nvidia.com/u/jdluckyday)\
**Post date:** [May 11, 2022, 3:58am UTC](https://forums.developer.nvidia.com/t/jetson-xavier-did-not-find-csi-camera/214011/5 "2022-05-11T03:58:11Z")

</div>

The IM219-160 should work out of box with Xavier NX + Dev Kit carrier board on any jetpack versions. I have the same one and tested 4.4, 4.6, 4.6.1 and 5.0.

---

<div class="post-metadata">

**Author:** ![AutoCar](https://sea2.discourse-cdn.com/nvidia/user_avatar/forums.developer.nvidia.com/autocar/32/166725_2.png) [@AutoCar](https://forums.developer.nvidia.com/u/AutoCar)\
**Post date:** [May 13, 2022, 4:05pm UTC](https://forums.developer.nvidia.com/t/jetson-xavier-did-not-find-csi-camera/214011/7 "2022-05-13T16:05:59Z")

</div>

even nvgstcapture-1.0 does not work. Anyone know why?

nvidia@XavierNx:~/apps/CSI-Camera$ nvgstcapture-1.0  
Encoder null, cannot set bitrate!  
Encoder Profile = High  
Supported resolutions in case of ARGUS Camera  
(2) : 640x480  
(3) : 1280x720  
(4) : 1920x1080  
(5) : 2104x1560  
(6) : 2592x1944  
(7) : 2616x1472  
(8) : 3840x2160  
(9) : 3896x2192  
(10): 4208x3120  
(11): 5632x3168  
(12): 5632x4224

Runtime ARGUS Camera Commands:

Help : ‘h’  
Quit : ‘q’  
Set Capture Mode:  
mo:  
(1): image  
(2): video  
Get Capture Mode:  
gmo  
Set sensor orientation:  
so:  
(0): none  
(1): Rotate counter-clockwise 90 degrees  
(2): Rotate 180 degrees  
(3): Rotate clockwise 90 degrees  
Get sensor orientation:  
gso  
Set sensor mode:  
smo: e.g., smo:1  
Get sensor mode:  
gsmo  
Set Whitebalance Mode:  
wb:  
(0): off  
(1): auto  
(2): incandescent  
(3): fluorescent  
(4): warm-fluorescent  
(5): daylight  
(6): cloudy-daylight  
(7): twilight  
(8): shade  
(9): manual  
Get Whitebalance Mode:  
gwb  
Set Saturation (0 to 2):  
st: e.g., st:1.25  
Get Saturation:  
gst  
Set Exposure Compensation (-2 to 2):  
ec: e.g., ec:-2  
Get Exposure Compensation:  
gec  
Set Auto Whitebalance Lock:  
awbl: e.g., awbl:0  
Get Auto Whitebalance Lock:  
awbl  
Set Auto Exposure Lock:  
ael: e.g., ael:0  
Get Auto Exposure Lock:  
gael  
Set TNR Mode:  
tnrm: e.g., tnrm:1  
(0): OFF  
(1): FAST  
(2): HIGH QUALITY  
Get TNR Mode:  
gtnrm  
Set TNR Strength (-1 to 1):  
tnrs: e.g., tnrs:0.5  
Get TNR Strength:  
gtnrs  
Set EE Mode:  
eem: e.g., eem:1  
(0): OFF  
(1): FAST  
(2): HIGH QUALITY  
Get EE Mode:  
geem  
Set EE Strength (-1 to 1):  
ees: e.g., ees:0.5  
Get EE Strength:  
gees  
Set Auto Exposure Anti-Banding (0 to 3):  
aeab: e.g., aeab:2  
(0): OFF  
(1): MODE AUTO  
(2): MODE 50HZ  
(3): MODE 60HZ  
Get Auto Exposure Anti-Banding:  
gaeab  
Set Gain Range:  
gr: e.g., gr:1 16  
Get Gain Range:  
ggr  
Set Exposure Time Range:  
etr: e.g., etr:34000 35000  
Get Exposure Time Range:  
getr  
Set ISP Digital Gain Range:  
dgr: e.g., dgr:2 152  
Get ISP Digital Gain Range:  
gdgr  
Capture: enter ‘j’ OR  
followed by a timer (e.g., jx5000, capture after 5 seconds) OR  
followed by multishot count (e.g., j:6, capture 6 images)  
timer/multihot values are optional, capture defaults to single shot with timer=0s  
Start Recording : enter ‘1’  
Stop Recording : enter ‘0’  
Video snapshot : enter ‘2’ (While recording video)  
Get Preview Resolution:  
gpcr  
Get Image Capture Resolution:  
gicr  
Get Video Capture Resolution:  
gvcr

Runtime encoder configuration options:

Set Encoding Bit-rate(in bytes):  
br: e.g., br:4000000  
Get Encoding Bit-rate(in bytes):  
gbr  
Set Encoding Profile(only for H.264):  
ep: e.g., ep:1  
(0): Baseline  
(1): Main  
(2): High  
Get Encoding Profile(only for H.264):  
gep  
Force IDR Frame on video Encoder(only for H.264):  
Enter ‘f’

bitrate = 4000000  
Encoder Profile = High  
Encoder control-rate = 1  
Encoder EnableTwopassCBR = 0  
Opening in BLOCKING MODE  
Opening in BLOCKING MODE  
\*\* Message: 15:22:34.050: main:4670 iterating capture loop …  
NvMMLiteOpen : Block : BlockType = 4  
===== NVMEDIA: NVENC =====  
NvMMLiteBlockCreate : Block : BlockType = 4  
GST\_ARGUS: Creating output stream  
CONSUMER: Waiting until producer is connected…  
GST\_ARGUS: Available Sensor modes :  
GST\_ARGUS: 3264 x 2464 FR = 21.000000 fps Duration = 47619048 ; Analog Gain range min 1.000000, max 10.625000; Exposure Range min 13000, max 683709000;

GST\_ARGUS: 3264 x 1848 FR = 28.000001 fps Duration = 35714284 ; Analog Gain range min 1.000000, max 10.625000; Exposure Range min 13000, max 683709000;

GST\_ARGUS: 1920 x 1080 FR = 29.999999 fps Duration = 33333334 ; Analog Gain range min 1.000000, max 10.625000; Exposure Range min 13000, max 683709000;

GST\_ARGUS: 1640 x 1232 FR = 29.999999 fps Duration = 33333334 ; Analog Gain range min 1.000000, max 10.625000; Exposure Range min 13000, max 683709000;

GST\_ARGUS: 1280 x 720 FR = 59.999999 fps Duration = 16666667 ; Analog Gain range min 1.000000, max 10.625000; Exposure Range min 13000, max 683709000;

GST\_ARGUS: Running with following settings:  
Camera index = 0  
Camera mode = 4  
Output Stream W = 1280 H = 720  
seconds to Run = 0  
Frame Rate = 59.999999  
GST\_ARGUS: Setup Complete, Starting captures for 0 seconds  
GST\_ARGUS: Starting repeat capture requests.  
CONSUMER: Producer has connected; continuing.  
nvbuf\_utils: dmabuf\_fd -1 mapped entry NOT found  
nvbuf\_utils: Can not get HW buffer from FD… Exiting…  
ERROR on bus: by /GstPipeline:capture\_native\_pipeline/GstBin:cap\_bin/GstNvArgusCameraSrc:nvarguscamerasrc0: CANCELLED  
debug info:  
Argus Error Status

(nvgstcapture-1.0:12583): GStreamer-CRITICAL \*\*: 15:22:37.052: gst\_mini\_object\_set\_qdata: assertion ‘object != NULL’ failed  
GST\_ARGUS: Cleaning up  
\*\* Message: 15:22:37.801: main:4680 Capture completed  
\*\* Message: 15:22:37.801: main:4729 Camera application will now exit

---

<div class="post-metadata">

**Author:** ![AutoCar](https://sea2.discourse-cdn.com/nvidia/user_avatar/forums.developer.nvidia.com/autocar/32/166725_2.png) [@AutoCar](https://forums.developer.nvidia.com/u/AutoCar)\
**Post date:** [May 14, 2022, 10:06pm UTC](https://forums.developer.nvidia.com/t/jetson-xavier-did-not-find-csi-camera/214011/8 "2022-05-14T22:06:39Z")

</div>

Anyone knows how to fix this?

---

<div class="post-metadata">

**Author:** ![Arducam\_Lee](https://sea2.discourse-cdn.com/nvidia/user_avatar/forums.developer.nvidia.com/arducam_lee/32/139353_2.png) [@Arducam\_Lee](https://forums.developer.nvidia.com/u/Arducam_Lee)\
**Post date:** [May 17, 2022, 9:10am UTC](https://forums.developer.nvidia.com/t/jetson-xavier-did-not-find-csi-camera/214011/9 "2022-05-17T09:10:32Z")

</div>

Hello,

There are two possible solutions to the issue.  
First: Maybe you can try to reconnect the connector of the sensor.  
 ![image](https://global.discourse-cdn.com/nvidia/original/3X/f/6/f61504a1054048cd941de5ed9f8d5629e0c1b368.jpeg)  
Second: You can try to run the following code and then run the camera.

> _sudo systemctl restart nvargus-daemon_

Best regards,  
Arducam Support

---

<div class="post-metadata">

**Author:** ![system](https://sea2.discourse-cdn.com/nvidia/user_avatar/forums.developer.nvidia.com/system/32/68080_2.png) [@system](https://forums.developer.nvidia.com/u/system)\
**Post date:** [June 8, 2022, 4:33am UTC](https://forums.developer.nvidia.com/t/jetson-xavier-did-not-find-csi-camera/214011/11 "2022-06-08T04:33:34Z")

</div>

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