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