peak usb eval board not working in Kernel 4.9.78

This forum covers PCAN-Linux and Linux development issues concerning our products
Post Reply
rr_iav
Posts: 6
Joined: Wed 15. Mar 2017, 16:50

peak usb eval board not working in Kernel 4.9.78

Post by rr_iav » Thu 28. Jun 2018, 12:02

I tried to set up the Peak USB Eval board with a beagle bone black board by using the mainline driver and socketcan. The peak_usb module shows as loaded in lsmod. However, when setting up the can device via ip link set, the device shows in ifconfig after activation but somehow does not receive or send any frames. The activity of the canbus was verified by a second dongle listening in on the bus. So, there is certainly traffic on the bus (generated by other can devices).
The peak_usb module does not show any "used by" module in lsmod.
I found that the can-dev module is no longer a loadable module in my kernel version (4.9.78-ti-r94, debian 6.3.0-18), but rather builtin.
Could this be the reason for my problem (missing SW layer which connects peak_usb to socketcan/network layer)?
Thanks for your support.

M.Maidhof
Support
Support
Posts: 1753
Joined: Wed 22. Sep 2010, 14:00

Re: peak usb eval board not working in Kernel 4.9.78

Post by M.Maidhof » Thu 28. Jun 2018, 12:49

Hi,

the PCAN-USB Chip solution will be supported from kernel version 4.11 on. So as long as you use an older kernel, the workaround using our peak-linux-driver compiled with NETDEV option will be necessary.

best regards

Michael Maidhof

Post Reply