Search found 7 matches

by felgo
Mon 19. Mar 2018, 15:37
Forum: Linux
Topic: PEAK-Linux Driver on Raspberry Pi
Replies: 156
Views: 547805

Re: PEAK-Linux Driver on Raspberry Pi

Hi Stephané,

thanks for your fast response. It seems that on the current Raspbian this option is disabled. So I'll recompile the kernel and try again.

Best regards
Felix
by felgo
Mon 19. Mar 2018, 14:47
Forum: Linux
Topic: PEAK-Linux Driver on Raspberry Pi
Replies: 156
Views: 547805

Re: PEAK-Linux Driver on Raspberry Pi

Hi,

I installed the driver on RPi with Raspbian and kernel 4.9.80-v7+
It brings up the netdev device but I can't send/receive messages via the CAN bus.

modprobe pcan && dmesg brings the following output:

[ 1088.616028] pcan: Tx fifo full: frame 123 dropped, net queue stopped
[ 1198.208767 ...
by felgo
Fri 19. Feb 2016, 15:25
Forum: Linux
Topic: PEAK-Linux Driver on Raspberry Pi
Replies: 156
Views: 547805

Re: PEAK-Linux Driver on Raspberry Pi

Hi,
after reinstalling everything, SocketCAN seems to work now.
For everyone with the same probs, installing PCAN with netdev support on the PRi, I used this manual:
http://qiita.com/mt08/items/6d50193df857e839547e#%E3%83%93%E3%83%AB%E3%83%89
(just replace NET=NO with NET=NETDEV_SUPPORT in the make ...
by felgo
Thu 18. Feb 2016, 18:16
Forum: Linux
Topic: PEAK-Linux Driver on Raspberry Pi
Replies: 156
Views: 547805

Re: PEAK-Linux Driver on Raspberry Pi

Thanks Michael,
you are right, I installed the linux-headers for the wrong kernel version ;-)
And 4.1.13-v7+ is shipped without kernel-headers.
I now got the driver installed using precompiled heades from here:
https://www.niksula.hut.fi/~mhiienka/Rpi/linux-headers-rpi/
For the installation I used ...
by felgo
Thu 18. Feb 2016, 14:18
Forum: Linux
Topic: PEAK-Linux Driver on Raspberry Pi
Replies: 156
Views: 547805

Re: PEAK-Linux Driver on Raspberry Pi

Hi Michael,

like Rob discribed above, this file is also not present in my system.

pi@raspberrypi:~ $ uname -r
4.1.13-v7+
pi@raspberrypi:~ $ ls /boot/config*
/boot/config-3.18.0-trunk-rpi /boot/config-3.18.0-trunk-rpi2 /boot/config.txt


The output of my driver installation looks like this:
pi ...
by felgo
Wed 17. Feb 2016, 18:19
Forum: Linux
Topic: PEAK-Linux Driver on Raspberry Pi
Replies: 156
Views: 547805

Re: PEAK-Linux Driver on Raspberry Pi

Hi Michael,

I'm working with RPi2 and kernel 4.1.13. (current Raspbian), I can modprobe the can modules but ifconfig -a doesn't show any can device. Booting with the 3.18 kernel everthing works fine. Do I have to recompile the 4.1.13 kernel for activating socketcan?
BTW: If I try to compile the ...
by felgo
Tue 16. Feb 2016, 19:05
Forum: Linux
Topic: PEAK-Linux Driver on Raspberry Pi
Replies: 156
Views: 547805

Re: PEAK-Linux Driver on Raspberry Pi

Is support for 4.* kernel also included in the upcomming driver? Is there another way to use pcan with this kernel and socketcan?