CANalyst II: Difference between revisions
No edit summary |
add slcand speed table |
||
| Line 9: | Line 9: | ||
[6] starting on TTY device /dev/ttyUSB0 | [6] starting on TTY device /dev/ttyUSB0 | ||
[5] attached TTY /dev/ttyUSB0 to netdevice slcan0</nowiki> | [5] attached TTY /dev/ttyUSB0 to netdevice slcan0</nowiki> | ||
The generated net device cannot have its bitrate set using <tt>ip</tt>, like native SocketCAN devices. Instead, the <tt>-s</tt> argument must be provided to <tt>slcand</tt>, using the following table: | |||
{| class="wikitable sortable" | |||
|- | |||
!ASCII Command !! CAN Bitrate | |||
|- | |||
|s0 || 10 Kbit/s | |||
|- | |||
|s1 || 20 Kbit/s | |||
|- | |||
|s2 || 50 Kbit/s | |||
|- | |||
|s3 || 100 Kbit/s | |||
|- | |||
|s4 || 125 Kbit/s | |||
|- | |||
|s5 || 250 Kbit/s | |||
|- | |||
|s6 || 500 Kbit/s | |||
|- | |||
|s7 || 800 Kbit/s | |||
|- | |||
|s8 || 1000 Kbit/s | |||
|} | |||
==lsusb output== | ==lsusb output== | ||