[Jetpack6] USB-CAN: Cannot find device "can1"

Hi, I am using Jetpack6. In Jetpack5, I just connect the device and it is newly recognized as can1 and I could immediately communicate with CAN by typing sudo ip link set can1 type bitrate 500000 and up commands. I want to use multiple CAN buses so USB-CAN must be used in addition to built-in CAN.

However, since Jetpack6, only the Built-in CAN can be used because the USB-CAN is not recognized.

I would like to know if there are any changes in the kernel drivers or something with the update from Jetpack5 to Jetpack6, and if you know how to get USB-CAN to work or what to look for.

Hi k.uchiyama,

Are you using the devkit or custom board for Orin Nano?
Are you using JP6.0 DP or JP6.0GA?

Do you mean this USB-CAN can not be recognized through lsusb?

Thank you for reply.

I’m using devkit for Orin Nano and JP6.0GA.

It can be recognized thought lsusb. USB-CAN device is not recognized as CAN device.

Is the issue specific to your USB-CAN device?

How about USB mouse and keyboard? Could they working with JP6.0GA?

I think so. Other USB devices such as mouse and keyboard are woking on JP6.0GA.

If other USB devices work as expected, then the USB functions seem okay.

Is there any dmesg/errors showing when you plug/remove your USB-CAN device?

Run sudo dmesg, it is displayed like below.

[   16.486528] Bridge firewalling registered
[   16.593288] nvidia-modeset: Loading NVIDIA UNIX Open Kernel Mode Setting Driver for aarch64  540.3.0  Release Build  (buildbrain@mobile-u64-6269-d7000)  Wed Apr 24 20:03:36 PDT 2024
[   18.628627] ACK 04 d4
[   18.633459] ACK 04 d4
[   18.746701] IPv6: ADDRCONF(NETDEV_CHANGE): wlan0: link becomes ready
[   19.634482] rfkill: input handler disabled
[   28.719198] rfkill: input handler enabled
[   32.790740] rfkill: input handler disabled
[  219.494147] loop7: detected capacity change from 0 to 8
[  225.206276] loop7: detected capacity change from 0 to 8
[  458.828750] usb 1-2.1: new full-speed USB device number 5 using tegra-xusb
[  481.898047] usb 1-2.1: USB disconnect, device number 5

The last two lines are related to plug/remove my USB-CAN device. So it seem okay.

But it still be shown Cannot find device "can1"

I use this USB-CAN module.
https://www.inno-maker.com/product/usb2can-cable/

Sorry that we don’t have this USB-CAN module to verify it locally.
Does your USB-CAN adapter only can not work on Orin Nano with JP6?

Do you need to run any command to setup can1?

What’s the expected message would be?

When I use JP5, I can use USB-CAN just run like below.

sudo ip link set can1 type can bitrate 500000
sudo ip link set can1 up

But, now USB-CAN cannot be used in the same way.

I have tried what is in the SDK documentation, but I don’t know how to get it to work.
I am looking for ideas on something to try.

In JP5 do an lsmod and check if the required modules are present on JP6. NVidia has a habit of removing important modules from the distro, e.g. mdadm-raid or wwan-qmi, so you could be a victim of that. In that case you need the kernel sources and recompile the missing modules for yourself - and you need to repeat that for each new kernel revision.

1 Like

Please share if the module is missing in your case.
You can also share the full dmesg for further check.

1 Like

This topic was automatically closed 14 days after the last reply. New replies are no longer allowed.