I downloaded linuxcan from Kvaser and got it built fine. I got an error msg when installing it,
nvidia@TX2:~/sw/linuxcan/leaf$ sudo sh ./installscript.sh
Checking for loaded SocketCAN driver for Kvaser USB devices. SocketCAN driver not found.
Blacklisting SocketCAN Kvaser USB driver to prevent it from auto-loading.
It’s strange as I already installed “sudo apt install can-utils” and loaded kernel modules,
nvidia@TX2:~/sw/linuxcan/leaf$ sudo modprobe can
nvidia@TX2:~/sw/linuxcan/leaf$ sudo modprobe can_raw
nvidia@TX2:~/sw/linuxcan/leaf$ sudo modprobe slcan
I think socketCAN is no longer in use on jetsonTX2 and it is deprecated.
We have used only can-utils.
can-utils can be used with similar configurable options for CAN nodes.
For set-up please have a look at these detailed steps using can-utils tool on the below link.