Monday, September 13, 2010

CAN-USB/2

Driver install (Linux kernel 2.6)
% cd socketcan-trunk-r1110/kernel/2.6
% make
% sudo make modules_install
% sudo /sbin/depmod -a

Check installation
% ls /sys/class/net/

There should be have an entry "can0".

2 comments:

麥克斯 said...

Site:
http://www.esd-electronics.com/german/candriver/

麥克斯 said...

Once you upgrade iproute2, you may encounter problems, like
"db_185.h: not found"

Following instructions may help:
$ wget http://download.oracle.com/berkeley-db/db-4.6.18.tar.gz
$ tar -xzvf db-4.6.18.tar.gz
$ cd db-4.6.18;cd build_unix;../dist/configure --prefix=$INSTALLPATH --enable-compat185;make;make install