Olimex Support Forum

OLinuXino Android / Linux boards and System On Modules => A20 => Topic started by: mimi1962 on December 19, 2015, 07:42:18 PM

Title: module can
Post by: mimi1962 on December 19, 2015, 07:42:18 PM
hello,

i want to install slcan for the device usbtin.
http://www.fischl.de/usbtin/linux_can_socketcan/
when i launch the command modprobe can
i have this message
modprobe: FATAL: Module can not found
i would want to install the module can,How have to I make?

best regard,

Michel
Title: Re: module can
Post by: Gerrit on December 20, 2015, 12:08:10 AM
recompile the kernel with can support, you find directions on this forum and the website how to compile and install the kernel yourself
Title: Re: module can
Post by: Darkness on January 08, 2016, 12:21:52 PM
it also seems that a CAN driver was merged in the 4.4 mainline kernel: http://linux-sunxi.org/Linux_mainlining_effort

That might be another way to try it. Let me know if you get things working  :D

Some more details here (including the driver code if you want to compile it): http://www.bananapi.com/index.php/forum/interfacing/1575-socketcan-dirver-for-a10-a20
Title: Re: module can
Post by: Darkness on January 12, 2016, 03:30:50 PM
and with the fresh release of Linux 4.4, here is the relevant commit adding the CAN support:
https://git.kernel.org/cgit/linux/kernel/git/torvalds/linux.git/commit/?id=0738eff14d817a02ab082c392c96a1613006f158