Unable to Set Up External USB-to-CAN Adapter on Jetson Orin NX

Hello,

I am trying to set up an external USB-to-CAN adapter on my Jetson Orin NX running Ubuntu 22.04 with JetPack 6.2, but the device is not being recognized as can1.

System Details:

  • Jetson Board: Jetson Orin NX
  • OS: Ubuntu 22.04
  • JetPack Version: JetPack 6.2
  • Kernel Version: (Run uname -r 5.15.148-tegra )
  • CAN Adapter: OpenMoko, Inc. Geschwister Schneider CAN adapter (ID: 1d50:606f)
  • Existing CAN Interface: The Jetson board already has a built-in can0
  • Tools Installed: can-utils
  • Modules Loaded: can, can_raw, can_dev

lsusb

Bus 001 Device 005: ID 1d50:606f OpenMoko, Inc. Geschwister Schneider CAN adapter

Hi chaud324,

Are you using the devkit or custom board for Orin NX?

Do you just connect the USB-CAN adapter on your board?
(i.e. do you load any driver for your adapter?)

Please share the full dmesg for further check.

I am using Amazon.com: USB CAN Converter Module for Raspberry Pi 5/4/Pi3B+/Pi3/Pi Zero(W)/Jetson Nano/Tinker Board and Any Single Board Computer Support Windows Linux Mac OS Android Venus OS : Electronics (USB CAN Converter Module for Raspberry Pi 5/4/Pi3B+/Pi3/Pi Zero(W)/Jetson Nano/Tinker Board and Any Single Board Computer Support Windows Linux Mac OS Android Venus OS0

Yes I just connected on USB to can on Jetson. It is not getting recognize

Here is the full dmesg log after connecting the USB-to-CAN adapter:


nvidia@ubuntu:~$ sudo dmesg | tail -n 50
[   11.182123] Adding 1001960k swap on /dev/zram6.  Priority:5 extents:1 across:1001960k SS
[   11.183554] zram7: detected capacity change from 0 to 2003928
[   11.188686] Adding 1001960k swap on /dev/zram7.  Priority:5 extents:1 across:1001960k SS
[   12.709272] nvidia-modeset: Loading NVIDIA UNIX Open Kernel Mode Setting Driver for aarch64  540.4.0  Release Build  (buildbrain@mobile-u64-6336-d8000)  Tue Jan  7 17:35:14 PST 2025
[   12.714287] [drm] [nvidia-drm] [GPU ID 0x00020000] Loading driver
[   12.870345] Bridge firewalling registered
[   12.924184] loop9: detected capacity change from 0 to 8
[   13.019091] NVRM rpcRmApiControl_dce: NVRM_RPC_DCE: Failed RM ctrl call cmd:0x731341 result 0xffff:
[   13.244947] [drm] Initialized nvidia-drm 0.0.0 20160202 for 13800000.display on minor 1
[   13.245046] checking generic (47de00000 1680000) vs hw (47de00000 1680000)
[   13.245049] fb0: switching to nvidia-drm from simple
[   13.245600] Console: switching to colour dummy device 80x25
[   13.381112] Console: switching to colour frame buffer device 240x67
[   13.381126] nv_platform 13800000.display: [drm] fb0: nvidia-drmdrmfb frame buffer device
[   15.697132] rfkill: input handler disabled
[   61.687265] NVRM rpcRmApiControl_dce: NVRM_RPC_DCE: Failed RM ctrl call cmd:0x731341 result 0xffff:
[   64.547402] NVRM rpcRmApiControl_dce: NVRM_RPC_DCE: Failed RM ctrl call cmd:0x731341 result 0xffff:
[   68.581434] iwlwifi 0001:01:00.0: loaded firmware version 36.ca7b901d.0 8265-36.ucode op_mode iwlmvm
[   68.606819] iwlwifi 0001:01:00.0: Detected Intel(R) Dual Band Wireless AC 8265, REV=0x230
[   68.667290] iwlwifi 0001:01:00.0: base HW address: 48:89:e7:9d:e3:dd, OTP minor version: 0x0
[   68.742553] ieee80211 phy0: Selected rate control algorithm 'iwl-mvm-rs'
[   68.751369] iwlwifi 0001:01:00.0 wlP1p1s0: renamed from wlan0
[   69.015999] ACPI: <n/a>: failed to evaluate _DSM (0x1001)
[   69.016009] ACPI: <n/a>: failed to evaluate _DSM (0x1001)
[   69.016011] ACPI: <n/a>: failed to evaluate _DSM (0x1001)
[   69.016012] ACPI: <n/a>: failed to evaluate _DSM (0x1001)
[   69.016013] ACPI: <n/a>: failed to evaluate _DSM (0x1001)
[   69.016014] ACPI: <n/a>: failed to evaluate _DSM (0x1001)
[   69.016015] ACPI: <n/a>: failed to evaluate _DSM (0x1001)
[   72.142786] usb 1-2.4: new full-speed USB device number 4 using tegra-xusb
[   72.312127] input: Telink Wireless Receiver Mouse as /devices/platform/bus@0/3610000.usb/usb1/1-2/1-2.4/1-2.4:1.0/0003:248A:8373.0001/input/input5
[   72.312386] input: Telink Wireless Receiver Consumer Control as /devices/platform/bus@0/3610000.usb/usb1/1-2/1-2.4/1-2.4:1.0/0003:248A:8373.0001/input/input6
[   72.341802] wlP1p1s0: authenticate with f0:b0:52:5c:04:8c (local address=48:89:e7:9d:e3:dd)
[   72.342869] wlP1p1s0: send auth to f0:b0:52:5c:04:8c (try 1/3)
[   72.347920] wlP1p1s0: authenticated
[   72.350802] wlP1p1s0: associate with f0:b0:52:5c:04:8c (try 1/3)
[   72.359687] wlP1p1s0: RX AssocResp from f0:b0:52:5c:04:8c (capab=0x1011 status=0 aid=7)
[   72.362044] wlP1p1s0: associated
[   72.370933] input: Telink Wireless Receiver System Control as /devices/platform/bus@0/3610000.usb/usb1/1-2/1-2.4/1-2.4:1.0/0003:248A:8373.0001/input/input7
[   72.371057] hid-generic 0003:248A:8373.0001: input,hidraw0: USB HID v1.11 Mouse [Telink Wireless Receiver] on usb-3610000.usb-2.4/input0
[   72.374897] input: Telink Wireless Receiver as /devices/platform/bus@0/3610000.usb/usb1/1-2/1-2.4/1-2.4:1.1/0003:248A:8373.0002/input/input9
[   72.435269] hid-generic 0003:248A:8373.0002: input,hidraw1: USB HID v1.11 Keyboard [Telink Wireless Receiver] on usb-3610000.usb-2.4/input1
[   72.439225] wlP1p1s0: Limiting TX power to 30 (30 - 0) dBm as advertised by f0:b0:52:5c:04:8c
[   72.475158] IPv6: ADDRCONF(NETDEV_CHANGE): wlP1p1s0: link becomes ready
[   76.087057] rfkill: input handler enabled
[   79.258436] rfkill: input handler disabled
[  110.328623] usb 1-2.4: USB disconnect, device number 4
[  126.414640] NVRM rpcRmApiControl_dce: NVRM_RPC_DCE: Failed RM ctrl call cmd:0x731341 result 0xffff:
[  132.632791] NVRM rpcRmApiControl_dce: NVRM_RPC_DCE: Failed RM ctrl call cmd:0x731341 result 0xffff:
[  810.681566] usb 1-2.4: new full-speed USB device number 5 using tegra-xusb

Could you run lsusb before and after you connect the USB-CAN adapter?

Or have you tried to connect this adapter on an Ubuntu host PC to check if it could be recognized?