e-CAM80 integration with ORIN NX

I am testing the integration of an e-Con Systems camera with my Orin NX on the Photon carrier board by CTI. We happened to have a few older e-CAM83_CUMI415_MOD (4K@90fps Sony STARVIS IMX415 Low light Camera Module) in stock, they have the same SONY STARVIS™ IMX415 CMOS sensor as the officially supported e-CAM80_CUONX (4K Sony Starvis IMX415 Low Light Camera for NVIDIA® Jetson Orin NX / Nano).

I am assuming that the driver baked into the kernel will detect the camera correctly. I get the following when trying to list the camera through v4lc-ctl:

$ v4l2-ctl --list-devices
NVIDIA Tegra Video Input Device (platform:tegra-camrtc-ca):
/dev/media0

Cannot open device /dev/video0, exiting.

More detailed debugging shows the following through sudo dmesg:

[ 12.061288] NVRM: loading NVIDIA UNIX Open Kernel Module for aarch64 35.4.1 Release Build (buildbrain@mobile-u64-6422-d7000) Tue Aug 1 12:45:41 PDT 2023
[ 12.099411] e-con_imx415 9-0042: Probing for sensor eimx415
[ 12.107132] e-con_imx415 9-0042: Unable to get Reset GPIO
[ 12.113963] e-con_imx415 9-0042: CAM core initialize failed
[ 12.120053] e-con_imx415: probe of 9-0042 failed with error -22
[ 12.126336] e-con_imx415 10-0042: Probing for sensor eimx415
[ 12.132182] e-con_imx415 10-0042: Unable to get Reset GPIO
[ 12.137823] e-con_imx415 10-0042: CAM core initialize failed
[ 12.143702] e-con_imx415: probe of 10-0042 failed with error -22

What is this error code -22?
Is the driver at fault?
Is the driver so specific to the e-CAM80_CUONX that my expectation to be able to talk to a e-CAM 83 with the same sensor is unrealistic?

Here is the system and software information:

NVIDIA CTI Photon + Orin NX
Distribution Ubuntu 20.04 focal
L4T 35.4.1 [ JetPack 5.1.2 ]
Ubuntu 20.04.6 LTS
Kernel Version: 5.10.120-tegra
CUDA 11.4.315
CUDA Architecture: 8.7
OpenCV version: 4.6.0
OpenCV Cuda: YES
CUDNN: 8.6.0.166
TensorRT: 8.5.2.2
VPI: 2.3.9

Hello,

Welcome to the NVIDIA Developer forums! Your topic will be best served in the Jetson category.

I will move this post over for visibility.

Cheers,
Tom

1 Like

Please consult with E-CON to get proper help on it.

@JeslinPaul

Thanks

1 Like

Indeed I had a chat with the fellows at e-Con Systems today. When I gave them the QR on the camera module, they confirmed the camera on my board is an e-CAM80_CUNX, originally for a Xavier NX-based board, not the e-CAM80_CUONX for a Jetson Orin NX-based board.

The confusion can happen easily because the cameras share the same Sony® STARVIS Camera Module with the reference e-CAM83_CUMI415_MOD. The lens and the processing are different. We placed the order for the correct product right away.

Thanks for the suggestions and for moving my question to a more relevant category.