KERNEL=="i2c-13", GROUP="i2c", MODE="0666"
and potentially other udev rules are missing from the 5.0.1 SDK installer.
While building jetson docker images to run the ZedX cameras, I continuously ran into issues opening the cameras when the container was run as a non-root user. The behavior was inconsistent across computers and cameras which made it even harder to debug - I believe this is because different ports on the capture card use different i2c channels. I eventually narrowed it down to the missing udev rule
Problematic setup
> ll /dev/i2c-13
crw-rw---- 1 root 116 89, 13 Jun 10 10:24 /dev/i2c-13
Good setup
> ll /dev/i2c-9
crw-rw-rw- 1 root 116 89, 9 Jun 10 11:00 /dev/i2c-9
The installer only sets
# Kernel I2C //For ZED-GMSL
KERNEL=="i2c-0", GROUP="i2c", MODE="0666"
KERNEL=="i2c-1", GROUP="i2c", MODE="0666"
KERNEL=="i2c-2", GROUP="i2c", MODE="0666"
KERNEL=="i2c-3", GROUP="i2c", MODE="0666"
KERNEL=="i2c-4", GROUP="i2c", MODE="0666"
KERNEL=="i2c-5", GROUP="i2c", MODE="0666"
KERNEL=="i2c-6", GROUP="i2c", MODE="0666"
KERNEL=="i2c-7", GROUP="i2c", MODE="0666"
KERNEL=="i2c-8", GROUP="i2c", MODE="0666"
KERNEL=="i2c-9", GROUP="i2c", MODE="0666"
KERNEL=="i2c-10", GROUP="i2c", MODE="0666"
KERNEL=="i2c-11", GROUP="i2c", MODE="0666"
KERNEL=="i2c-12", GROUP="i2c", MODE="0666"
KERNEL=="i2c-30", GROUP="i2c", MODE="0666"
KERNEL=="i2c-31", GROUP="i2c", MODE="0666"
KERNEL=="i2c-32", GROUP="i2c", MODE="0666"
KERNEL=="i2c-33", GROUP="i2c", MODE="0666"
KERNEL=="i2c-34", GROUP="i2c", MODE="0666"
KERNEL=="i2c-35", GROUP="i2c", MODE="0666"
KERNEL=="i2c-36", GROUP="i2c", MODE="0666"
KERNEL=="i2c-37", GROUP="i2c", MODE="0666"
after adding the i2c-13 rule and applying the rules the camera opened fine. If you could please test that all ports on the quad link card work with the jetson agx orin I’d appreciate it.