Help getting csi camera working

Hi, I have a seeed studio J401 carrier board and Orin NX 8GB. I have JP6.0 installed on it and uname -r says 5.15.136-tegra

I have a Raspberry Pi Global Shutter camera (Raspberry Pi Global Shutter Camera - PiShop.us) with a CSI ribbon cable plugged in. I’m having trouble getting the device to be recognized and need some advice on what to try.

I tried systemctl status nvargus-daemon and got this:

nvidia@orin-desktop:~/Desktop$ systemctl status nvargus-daemon
● nvargus-daemon.service - Argus daemon
     Loaded: loaded (/etc/systemd/system/nvargus-daemon.service; enabled; vendor preset: enabled)
     Active: active (running) since Thu 2024-09-19 18:51:53 PDT; 41min ago
   Main PID: 981 (nvargus-daemon)
      Tasks: 1 (limit: 8813)
     Memory: 43.3M
        CPU: 290ms
     CGroup: /system.slice/nvargus-daemon.service
             └─981 /usr/sbin/nvargus-daemon

Sep 19 18:52:05 orin-desktop nvargus-daemon[981]: NvPclDriverInitializeData: Unable to initialize driver v4l2_sensor
Sep 19 18:52:05 orin-desktop nvargus-daemon[981]: NvPclInitializeDrivers: error: Failed to init camera sub module v4l2_sensor
Sep 19 18:52:05 orin-desktop nvargus-daemon[981]: NvPclStartPlatformDrivers: Failed to start module drivers
Sep 19 18:52:05 orin-desktop nvargus-daemon[981]: NvPclDriver_V4L2_Focuser_Stub_Close: Invalid NULL input pPclDriver
Sep 19 18:52:05 orin-desktop nvargus-daemon[981]: NvPclStateControllerOpen: Failed ImagerGUID 0. (error 0xA000E)
Sep 19 18:52:05 orin-desktop nvargus-daemon[981]: NvPclOpen: PCL Open Failed. Error: 0xf
Sep 19 18:52:05 orin-desktop nvargus-daemon[981]: SCF: Error BadParameter: Sensor could not be opened. (in src/services/capture/CaptureServiceDeviceSensor.cpp, func>
Sep 19 18:52:05 orin-desktop nvargus-daemon[981]: SCF: Error BadParameter:  (propagating from src/services/capture/CaptureService.cpp, function addSourceByGuid(), l>
Sep 19 18:52:05 orin-desktop nvargus-daemon[981]: SCF: Error BadParameter:  (propagating from src/api/CameraDriver.cpp, function addSourceByIndex(), line 347)
Sep 19 18:52:05 orin-desktop nvargus-daemon[981]: SCF: Error BadParameter:  (propagating from src/api/CameraDriver.cpp, function getSource(), line 519)

When I try v4l2-ctl --list-devices I see this:

nvidia@orin-desktop:~/Desktop$ v4l2-ctl --list-devices
NVIDIA Tegra Video Input Device (platform:tegra-camrtc-ca):
	/dev/media0

Cannot open device /dev/video0, exiting.

I suspect the driver for this camera isn’t installed but would appreciate a pointer in the right direction to resolve this issue. thanks in advance!

hello cgpadwick,

it looks the camera device did not register to the system.
during kernel initialization stage, it’s step for camera device registration to setup a video device node to linux kernel. sensor probing only run once during kernel initialization stage of system boot-up.
for a typical camera application running cycle, the driver will Power On the sensor, Start Sensor Streaming, sending relevant v4l2 controls, and finally power off the sensor.
so… if there’s a error returns, it’ll not register a video node, (/dev/video0).

please contact with sensor vendor to confirm it’s compatible with JP-6.0
you may see-also r36.3 release note for section [4.2. Device Registration].

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