This is an old revision of the document!


USB2CAN

usb2can.jpg

Void Linux for Raspberry Pi

First install development tools and the kernel headers.

xbps-install mercurial make gcc rpi-kernel-headers 

Now install the kernel modules.

hg clone http://hg.kewl.org/pub/can-modules
cd can-modules
./rpi-void.sh

Bananian for Banana Pi

Install development tools and the kernel headers and then install the kernel modules.

hg clone http://hg.kewl.org/pub/can-modules
cd can-modules
./bpi-bananian.sh

Configure

modprobe usb_8dev
ip link set can0 up type can bitrate 250000
ip link set can0 txqueuelen 1024
ip -s -d link show can0

Resources

This website uses cookies for visitor traffic analysis. By using the website, you agree with storing the cookies on your computer.More information