getModuleString()` returns identical value for all cameras

Platform: Jetson AGX Orin

L4T version: r36.3

JetPack: 6.x

Kernel: 5.15.136-tegra

NVCSI: single port, 4 Virtual Channels (VC0–VC3)

Sensors: 4× identical sensor type, distinct I2C addresses


Summary

When 4 cameras share a single NVCSI port using Virtual Channel IDs 0–3, ICameraProperties::getModuleString() returns the same module_string for all 4 cameras. All cameras report the badge of the first module in the Device Tree (module0), regardless of which physical sensor is queried.

Everything else works correctly: all 4 cameras stream video, V4L2 devices enumerate as expected, SensorPlacement UUIDs are unique per camera, and sensor-id-based selection in nvarguscamerasrc functions normally.


Device Tree Configuration

The overlay DTS is structured following standard NVIDIA camera DT conventions. Each module entry has a unique badge (3-token format), distinct position, and drivernode0 pointing to the correct sensor I2C node.

tegra-camera-platform/modules section (relevant excerpt):


tegra-camera-platform {

modules {

module0 {

badge = "imx623_bottomleft_IMX623";

position = "bottomleft";

orientation = "1";

drivernode0 {

pcl_id = "v4l2_sensor";

sysfs-device-tree = "/sys/firmware/devicetree/base/bus@0/i2c@3180000/imx623@1e";

proc-device-tree = "/proc/device-tree/bus@0/i2c@3180000/imx623@1e";

};

};

module1 {

badge = "imx623_bottomright_IMX623";

position = "bottomright";

orientation = "1";

drivernode0 {

pcl_id = "v4l2_sensor";

sysfs-device-tree = "/sys/firmware/devicetree/base/bus@0/i2c@3180000/imx623@1b";

proc-device-tree = "/proc/device-tree/bus@0/i2c@3180000/imx623@1b";

};

};

module2 {

badge = "imx623_topleft_IMX623";

position = "topleft";

orientation = "1";

drivernode0 {

pcl_id = "v4l2_sensor";

sysfs-device-tree = "/sys/firmware/devicetree/base/bus@0/i2c@3180000/imx623@1c";

proc-device-tree = "/proc/device-tree/bus@0/i2c@3180000/imx623@1c";

};

};

module3 {

badge = "imx623_topright_IMX623";

position = "topright";

orientation = "1";

drivernode0 {

pcl_id = "v4l2_sensor";

sysfs-device-tree = "/sys/firmware/devicetree/base/bus@0/i2c@3180000/imx623@1d";

proc-device-tree = "/proc/device-tree/bus@0/i2c@3180000/imx623@1d";

};

};

};

};

Sensor nodes :

Each sensor node has a unique I2C address, vc-id, and devnode. All 4 have the same sensor_model = "imx623".

Note on V4L2 ordering: The kernel VI driver assigns /dev/videoN in reverse VC order for sensors sharing a CSI port (VC0 → video3, VC3 → video0). The devnode values reflect this verified runtime assignment.


Observed Behaviour

Querying ICameraProperties::getModuleString() for each camera via the Argus API returns the same string for all 4 cameras:


Camera 0 (UUID ...0000): module_string = 'imx623_bottomleft_IMX623'

Camera 1 (UUID ...0003): module_string = 'imx623_bottomleft_IMX623'

Camera 2 (UUID ...0004): module_string = 'imx623_bottomleft_IMX623'

Camera 3 (UUID ...0005): module_string = 'imx623_bottomleft_IMX623'

All 4 report module0’s badge (imx623_bottomleft_IMX623) rather than their own unique badge.

SensorPlacement UUIDs are unique per camera and correctly distinguish the sensors — this is the only per-camera identity that currently works via the Argus API.


According to documentation, module_string should be unique since badge is unique.
Are we doing something wrong in the dts? We have tried also with last characters from badge unique

It’s known issue.

Please upgrade to latest release.

[Argus][multi-cam] getModuleString() always returns the values of 1st camera
https://forums.developer.nvidia.com/t/343974/6/
(Fixed in Jetpack 6.2.2 r36.5)