Jetson not interfacing with AR1820HS 18MP - (open fail,rtn_val = 65281 ; Error capture image, rtn_val = 65318)

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

  2. Model number of the product(s)?
    Arducam 18MP USB Camera Evaluation Kit - CMOS AR1820HS 1/2.3−inch Color Camera with USB3 Camera Shield and MIPI Adapter Board

  3. What hardware/platform were you working on?
    Nvidia Jetson

  4. Instructions you have followed. (link/manual/etc.)
    https://github.com/ArduCAM/ArduCAM_USB_Camera_Shield,
    SDK and Examples for Nvidia Jetson - Arducam,
    /docs/camera-breakout-board/18mp-ar1820hs/ (Arducam site, forum won’t let me add a third link)

  5. Problems you were having?
    When trying to run an arducam node or the arducam demo, obtained error open fail,rtn_val = 65281

SUMMARY
========

CLEAR PARAMETERS
 * /arducam0/

PARAMETERS
 * /arducam0/arducam_trigger_ros_node/camera_serial:
 * /arducam0/arducam_trigger_ros_node/config_file: /home/lux/Code/pa...
 * /arducam0/arducam_trigger_ros_node/frame_id: arducam0
 * /arducam0/arducam_trigger_ros_node/horizontal_flip: False
 * /arducam0/arducam_trigger_ros_node/vertical_flip: False
 * /rosdistro: melodic
 * /rosversion: 1.14.13

NODES
  /arducam0/
    arducam_trigger_ros_node (arducam_usb2_ros/arducam_trigger_ros_node.py)

auto-starting new master
process[master]: started with pid [7979]
ROS_MASTER_URI=http://localhost:11311

setting /run_id to 5312f6ee-0f52-11ed-9d96-00044be6f253
process[rosout-1]: started with pid [7992]
started core service [/rosout]
process[arducam0/arducam_trigger_ros_node-2]: started with pid [8001]
color mode 2
open fail,rtn_val =  65281
[arducam0/arducam_trigger_ros_node-2] process has finished cleanly
log file: /home/lux/.ros/log/5312f6ee-0f52-11ed-9d96-00044be6f253/arducam0-arducam_trigger_ros_node-2*.log

After adjusting the arducam.rules file to correspond to IDs found in lsusb, now obtain error : Error capture image, rtn_val = 65318

NODES
  /cam0/
    arducam_ros_node (arducam_usb2_ros/arducam_ros_node.py)

auto-starting new master
process[master]: started with pid [8738]
ROS_MASTER_URI=http://localhost:11311

setting /run_id to 457c4a5a-0f55-11ed-895d-00044be6f253
process[rosout-1]: started with pid [8751]
started core service [/rosout]
process[cam0/arducam_ros_node-2]: started with pid [8760]
color mode 2
USB VERSION: 3
Serial: AU3S-2220-0003
Capture began, rtn_val =  0
Error capture image, rtn_val =  65318
Error capture image, rtn_val =  65318
Error capture image, rtn_val =  65318
Error capture image, rtn_val =  65318
Error capture image, rtn_val =  65318
Error capture image, rtn_val =  65318
Error capture image, rtn_val =  65318
Error capture image, rtn_val =  65318
  1. The dmesg log from your hardware?
    Will add in reply

  2. Troubleshooting attempts you’ve made?
    Replacing the ros/arducam ArducamSDK.so with the one from the NVidia Jetson example
    Installing Arducam SDK through pip
    Editing udev rules to correspond to product ID found in lsusb command
    Running camera on windows to confirm it works (it works)
    Switching out cables and cameras (tried with 3 different cameras and cables)
    Checking camera detection with v4l2-util (camera is not detected)
    Installing the latest libusb library
    Running Arducam Jetson python demo to confirm issue isn’t with ros (same error obtained)

  3. What help do you need?
    Troubleshooting tips or instructions on how to get the camera to be detected.

1 Like

Hi @ofrech,

Did you solve the problem? I’m having the same issue as you described with the same camera, but using a RPi 4.