Merge branch 'master' of https://git.scientificdatasystems.co.uk/robin/useful_linux_scripts
This commit is contained in:
commit
96d3651d95
@ -5,3 +5,13 @@
|
|||||||
sudo ip link set dev can0 down
|
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 type can bitrate 100000 sjw 4
|
||||||
sudo ip link set dev can0 up
|
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
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user