Page 1 of 1

PCAN-miniPCIe - SocketCAN can't bring up interface

Posted: Wed 22. May 2019, 22:59
by jhollowell
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?

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

Posted: Thu 23. May 2019, 13:19
by M.Maidhof
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