Orin NX 16GB Jetvariety Camera B0353 (AR0234) Setup

  1. Where did you get the camera module(s)?

  2. Model number of the product(s).

  3. What hardware/platform were you working on?
    Orin NX 16GB

  4. Instructions you have followed. (link/manual/etc.)
    Jetvariety-Camera/Quick-Start-Guide/ on Arducam

  5. Problems you were having.
    [ WARN:[email protected]] global cap_v4l.cpp:982 open VIDEOIO(V4L2:/dev/video0): can’t open camera by index
    [ WARN:[email protected]] global cap.cpp:342 open VIDEOIO(V4L2): backend is generally available but can’t be used to capture by index
    Traceback (most recent call last):
    File “/usr/local/lib/python3.8/dist-packages/jtop/jtop.py”, line 1113, in start
    File “/usr/lib/python3.8/multiprocessing/managers.py”, line 548, in connect
    conn = Client(self._address, authkey=self._authkey)
    File “/usr/lib/python3.8/multiprocessing/connection.py”, line 502, in Client
    c = SocketClient(address)
    File “/usr/lib/python3.8/multiprocessing/connection.py”, line 630, in SocketClient
    PermissionError: [Errno 13] Permission denied

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
File “arducam_displayer.py”, line 135, in
arducam_utils = ArducamUtils(args.device)
File “/home/ubu/MIPI_Camera/Jetson/Jetvariety/example/utils.py”, line 131, in init
with jtop() as jetson:
File “/usr/local/lib/python3.8/dist-packages/jtop/jtop.py”, line 1277, in enter
File “/usr/local/lib/python3.8/dist-packages/jtop/jtop.py”, line 1129, in start
raise JtopException(“I can’t access jtop.service.\nPlease logout or reboot this board.”)
jtop.core.exceptions.JtopException: I can’t access jtop.service.
Please logout or reboot this board.

  1. The dmesg log from your hardware.
ubu@ubu-desktop:~/MIPI_Camera/Jetson/Jetvariety/example$ cat /var/log/dmesg | grep -E "arducam"
[    0.000000] kernel: Linux version 5.10.104-tegra (arducam_006@arducam-server-006) (aarch64-linux-gcc.br_real (Buildroot 2020.08) 9.3.0, GNU ld (GNU Binutils) 2.33.1) #1 SMP PREEMPT Fri Jul 21 17:08:15 CST 2023

  1. Troubleshooting attempts you’ve made.
    Requires cv2.VideoCapture(0) to be set to -1, but Line 128 of arducam_displayer.py
    is cap = cv2.VideoCapture(args.device, cv2.CAP_V4L2)
    59371075/opencv-error-cant-open-camera-through-video-capture on StackOverflow.

  2. What help do you need?
    Resolve the issue, and get camera working.