I am using Ubuntu 19.10, and I have installed the peak linux drivers with
Code: Select all
make NET=NETDEV_SUPPORT
sudo make install
sudo modprobe pcan
If I open pcanview, I am able to connect to the interface, and correctly send and receive messages.
However, it is not listed in ifconfig.
When I try to retrieve the interface id by its name (pcanusb32) in my application, I get an error resulting from a ioctl call, saying "No such device".
I am not sure what I am doing wrong, any help is appreciated! I already search in this forum and tried many solutions, such as building a charnet or trying different arguments for the build, but they didn't work.
Alessandro