PCAN-miniPCIe - SocketCAN can't bring up interface

This forum covers PCAN-Linux and Linux development issues concerning our products
Post Reply
jhollowell
Posts: 5
Joined: Wed 22. May 2019, 22:35

PCAN-miniPCIe - SocketCAN can't bring up interface

Post by jhollowell » Wed 22. May 2019, 22:59

I am running Ubuntu 16.04 and have installed the PCAN-miniPCIe FD single channel into my system. I am using the built-in support for Peak and my code is Python using socketcan.
I have made sure the can, peak_pci modules are loaded, however when I try to add the interface as a CAN device it is not seen.
sudo ip link add dev can0 type can
Returns RTNETLINK answers: Operation not supported, or can0 not found.

Any ideas?

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

Re: PCAN-miniPCIe - SocketCAN can't bring up interface

Post by M.Maidhof » Thu 23. May 2019, 13:19

Hi,

the PCAN-miniPCIE FD cards will be supported by the kernel SocketCAN driver since kernel 4.14. If you use an older kernel in your Ubuntu 16.04, update your kernel, or install the peak-linux-driver 8.8 and build it with the Netdev option.

regards

Michael

Post Reply