For testing a CAN device I am developping, I try to set the presume-ack and one-shot flags using the ip command. This is with a PCAN USB x6.
Starting from a state where the interface is down, here are my results:
Code: Select all
$ sudo ip link set evb2can1 up type can bitrate 100000 one-shot on
RTNETLINK answers: Operation not supported
$ sudo ip link set evb2can1 up type can bitrate 100000 presume-ack on
RTNETLINK answers: Operation not supported
The kernel is from Debian, maybe it is too old and we need a newer version?
Code: Select all
$ uname -a
Linux lcb-testtools-dev 5.10.0-9-amd64 #1 SMP Debian 5.10.70-1 (2021-09-30) x86_64 GNU/Linux
Thanks!