translator, wb_editors
4344
правки
Matveevrj (обсуждение | вклад) (Новая страница: «* Show incoming packets: *:<syntaxhighlight lang="bash"> candump can0 </syntaxhighlight>») |
Matveevrj (обсуждение | вклад) (Новая страница: «For more information see the «AmadeuS» wiki article «[http://www.armadeus.com/wiki/index.php?title=CAN_bus_Linux_driver CAN bus Linux driver]».») Метки: правка с мобильного устройства правка из мобильной версии |
||
(не показаны 2 промежуточные версии этого же участника) | |||
Строка 52: | Строка 52: | ||
</syntaxhighlight> | </syntaxhighlight> | ||
* | * Show statistics: | ||
*:<syntaxhighlight lang="bash"> | *:<syntaxhighlight lang="bash"> | ||
cat /proc/net/can/stats | cat /proc/net/can/stats | ||
Строка 58: | Строка 58: | ||
Please note that in case of problems on the bus (no terminator, no receiving device, short circuit), the controller may stop working. | |||
To start working again, run: | |||
<syntaxhighlight lang="bash"> | <syntaxhighlight lang="bash"> | ||
ifconfig can0 down && ip link set can0 up type can bitrate 125000 | ifconfig can0 down && ip link set can0 up type can bitrate 125000 | ||
</syntaxhighlight> | </syntaxhighlight> | ||
For more information see the «AmadeuS» wiki article «[http://www.armadeus.com/wiki/index.php?title=CAN_bus_Linux_driver CAN bus Linux driver]». |