Search found 3 matches

by Hartmut Hoss
Sat 2. Feb 2019, 12:28
Forum: Linux
Topic: Linux driver compiled with NETDEV_SUPPORT, but no can0 dev
Replies: 2
Views: 7778

Re: Linux driver compiled with NETDEV_SUPPORT, but no can0 d

Coming closer :D The missing popt.h can be installed by

sudo apt-get install libelf-dev
sudo apt-get install libpopt-dev

After that, "make NET=NETDEV_SUPPORT" and "sudo make install" work without any errors. And after

sudo modprobe pcan
sudo modprobe can
sudo modprobe vcan
sudo modprobe slcan ...
by Hartmut Hoss
Sat 2. Feb 2019, 11:45
Forum: Linux
Topic: Linux driver compiled with NETDEV_SUPPORT, but no can0 dev
Replies: 2
Views: 7778

Re: Linux driver compiled with NETDEV_SUPPORT, but no can0 d

P.S.: some additional information:
Running "make -C driver NET=NETDEV_SUPPORT" in folder "peak-linux-driver-8.7.0" works, but "make NET=NETDEV_SUPPORT" fails with error message "src/pcan-settings.c:53:10: fatal error: popt.h: No such file or directory".
Running "sudo make -C driver install" works ...
by Hartmut Hoss
Fri 1. Feb 2019, 18:23
Forum: Linux
Topic: Linux driver compiled with NETDEV_SUPPORT, but no can0 dev
Replies: 2
Views: 7778

Linux driver compiled with NETDEV_SUPPORT, but no can0 dev

Hi,
after compiling and installing the linux driver, pcanview runs on Ubuntu, but I can't use my PCAN-USB-adapter with can-utils/socketcan (no device can0). Compiling with "make -C driver NET=NETDEV_SUPPORT" doesn't help: pcanview runs, but there is still no device can0 or vcan. For some reason, the ...