Changes

Jump to navigation Jump to search
Line 112: Line 112:  
i2c bus number is 1.
 
i2c bus number is 1.
 
== Description of video nodes ==
 
== Description of video nodes ==
 +
In general, we have implemented v4l2 standard drivers for mipi modules on different platforms. The Linux kernel will find the corresponding driver and probe the camera according to the dts when booting. After success, the /dev/videoX device node is generated, where X is a number based on the order of the probe to.
 +
 +
This tends to cause a common misunderstanding, which is explained here.
 +
 +
For motherboards that support multiple mipi cameras, the i2c bus number of each camera is determined by the camera installation location, but the generated /dev/videoX node name cannot be determined in advance.
 +
 +
For example, if we install two cameras on the agx board, mounted to cam2 and cam4 positions, then:
 +
{| class="wikitable"
 +
|+xavier agx
 +
!camera number
 +
!location
 +
!i2c bus
 +
!/dev/video node
 +
|-
 +
|1
 +
|cam2
 +
|32
 +
|/dev/video0
 +
|-
 +
|2
 +
|cam4
 +
|34
 +
|/dev/video0
 +
|}
 +
<br />

Navigation menu