Tool/software: Linux
Hello,
The ip command on Sitara Linux (SDK 04.04, Linux 4.9.69) reports error for a CAN device option:
# ip link set can0 type can triple-sampling on
RTNETLINK answers: Operation not supported
The CAN device appears to operate nevertheless.
Other options appear to work, such as
ip link set can0 type can bitrate 100000 berr-reporting off
The ip utility help for CAN shows this option is available
# ip link set can0 type can help
Usage: ip link set DEVICE type can
[ bitrate BITRATE [ sample-point SAMPLE-POINT] ] |
[ tq TQ prop-seg PROP_SEG phase-seg1 PHASE-SEG1
phase-seg2 PHASE-SEG2 [ sjw SJW ] ]
[ dbitrate BITRATE [ dsample-point SAMPLE-POINT] ] |
[ dtq TQ dprop-seg PROP_SEG dphase-seg1 PHASE-SEG1
dphase-seg2 PHASE-SEG2 [ dsjw SJW ] ]
[ loopback { on | off } ]
[ listen-only { on | off } ]
[ triple-sampling { on | off } ]
[ one-shot { on | off } ]
[ berr-reporting { on | off } ]
[ fd { on | off } ]
[ fd-non-iso { on | off } ]
[ presume-ack { on | off } ]
[ restart-ms TIME-MS ]
[ restart ]
Would you please advise regarding the 'triple-sampling' CAN option of the ip utility.
Could it be dependent on some configuration parameter in Linux build config?
Thanks