useful_linux_scripts/README_CANABLE_V_2_0.txt
2024-12-16 11:03:34 +00:00

18 lines
525 B
Plaintext

# the CANable V2.0 does not seem to obej the sjw argument.
# hence it will miss can bus messages esp 0x0F1FD000 etc.
# 10DEC2024
sudo ip link set dev can0 down
sudo ip link set dev can0 up type can bitrate 100000 sjw 4
sudo ip link set dev can0 up
#
# SJW cannot be changed currently using slcan (which is a serial terminal such as /dev/ttyACM0 linked to the linux kernel)
# see
# https://github.com/linux-can/can-utils/issues/30
# https://github.com/torvalds/linux/commit/80bcf5ec9927
#
sudo ip --details link show can0