Trying to install peak-linux-driver-8.8.0 on Ubuntu 16.04 desktop system. I can run make clean, make -C driver NET=NETDEV_SUPPORT, but when I run sudo make install it fails with an error:
cp cannot stat 'lib/*': no such file or directory
Any thoughts on how I can get past this and get the driver installed?
Error during make install
-
- Posts: 5
- Joined: Wed 22. May 2019, 22:35
Re: Error during make install
Fixed the install issue by using:
make clean
make NET=NETDEV_SUPPORT
sudo make install
However, I cannot use ip link set can0 type can up bitrate 500000 to get my card running.
make clean
make NET=NETDEV_SUPPORT
sudo make install
However, I cannot use ip link set can0 type can up bitrate 500000 to get my card running.
Re: Error during make install
Hi,
which PCAN hardware do you use? Which kernel version is used? Please post output of uname -a and cat /proc/pcan
regards
Michael
which PCAN hardware do you use? Which kernel version is used? Please post output of uname -a and cat /proc/pcan
regards
Michael
-
- Posts: 5
- Joined: Wed 22. May 2019, 22:35
Re: Error during make install
The card is PCAN-miniPCIe FD single channel.
uname -a
Linux olli-xx 4.13.0-36-generic #40-16.04.1-Ubuntu SMP Fri Feb 16 23:25:58 UTC 2018 x86_64 x86_64 x86_64 GNU/Linux
cat /proc/pcan
no such file or directory
I find it strange that /proc/pcan does not exist since I did all the make, and make install
uname -a
Linux olli-xx 4.13.0-36-generic #40-16.04.1-Ubuntu SMP Fri Feb 16 23:25:58 UTC 2018 x86_64 x86_64 x86_64 GNU/Linux
cat /proc/pcan
no such file or directory
I find it strange that /proc/pcan does not exist since I did all the make, and make install
Re: Error during make install
Hi,
after "sudo make install" you have to call "sudo modprobe pcan" or reboot your system once, so that the driver will be loaded.
regards
Michael
after "sudo make install" you have to call "sudo modprobe pcan" or reboot your system once, so that the driver will be loaded.
regards
Michael
-
- Posts: 5
- Joined: Wed 22. May 2019, 22:35
Re: Error during make install
Ok, got everything installed, however when I cat /proc/pcan it does show any devices. Any thoughts?
Re: Error during make install
Hi,
please check that your mainboard supports PCIe on the miniPCIe slots. There are systems which only supports the USB on those miniPCIe slots. Our PCAN-miniPCIe card uses the PCIe.
Check with lspci that the card is detected by Linux.
regards
Michael
please check that your mainboard supports PCIe on the miniPCIe slots. There are systems which only supports the USB on those miniPCIe slots. Our PCAN-miniPCIe card uses the PCIe.
Check with lspci that the card is detected by Linux.
regards
Michael