I am having major trouble disabling the can0 loopback off.
I have followed the instructions here: https://docs.nvidia.com/drive/active/188.8.131.52L/nvvib_docs/index.html#page/DRIVE%20Linux%20AGX%20PDK%20Development%20Guide%2FInterfaces%2FAppxTegraCAN.html%23wwpID0E04D0HA
sudo ip link set can0 type can loopback off
sudo ip link show can0
4: can0: <NOARP,ECHO> mtu 16 qdisc pfifo_fast state DOWN mode DEFAULT group default qlen 10
I have tried this while turning can on, and this is set as default in: /etc/network/interfaces (see below)
iface can0 inet manual
pre-up /sbin/ip link set $IFACE type can bitrate 1000000 loopback off
up /sbin/ifconfig $IFACE up
down /sbin/ifconfig $IFACE down
I have also triednot including ‘loopback off’ at all to see if it would fix it.
I have tried restarting the TX2 after any modification to /etc/network/interfaces as to be expected.
Does anyone know a fix or workaround to this?
can0 works otherwise and can transmit/recieve.
However the echo is taking precious compute power.