PCAN-USB FD Driver Installation Error

This forum covers PCAN-Linux and Linux development issues concerning our products
Post Reply
mtse_27
Posts: 1
Joined: Wed 7. Aug 2024, 20:07

PCAN-USB FD Driver Installation Error

Post by mtse_27 » Wed 7. Aug 2024, 20:24

Trying to install the PCAN-USB FD Driver, not sure if this also installs the PCAN-USB Pro FD Driver as well.
Using a Debian 11 machine, kernel version is 5.10.216-rt108, x86_64 GNU/Linux.

These are the commands I entered in the konsole:

Code: Select all

tar -xzf peak-linux-driver-8.18.0.tar.gz
cd peak-linux-driver-8.18.0
make clean
make NET=NETDEV_SUPPORT
make install
This is the error I'm receiving:

Code: Select all

root@AVDeskRT:/home/aviya/Downloads/peak-linux-driver-8.18.0# make install
make[1]: Entering directory '/home/aviya/Downloads/peak-linux-driver-8.18.0/driver'
Info: Left current 'pcan'-entry in /etc/modprobe.d/pcan.conf untouched.
mkdir -p /usr/local/bin
cp -f udev/pcan_usb_minor_check.bash /usr/local/bin
chmod 744 /usr/local/bin/pcan_usb_minor_check.bash
cp -f udev/45-pcan.rules /etc/udev/rules.d
Info: Copied 45-pcan.rules to /etc/udev/rules.d.
cp -f udev/blacklist-peak.conf /etc/modprobe.d
chmod 644 /etc/modprobe.d/blacklist-peak.conf
Info: mainline drivers removed and blacklisted in
      /etc/modprobe.d/blacklist-peak.conf
udevadm control --reload-rules
- manually installing pcan under /lib/modules/5.10.216-rt108/misc...
mkdir -p /lib/modules/5.10.216-rt108/misc
cp -f pcan.ko /lib/modules/5.10.216-rt108/misc/pcan.ko
- Building dependencies...
depmod 5.10.216-rt108
make[1]: depmod: No such file or directory
make[1]: *** [Makefile:712: install_module] Error 127
make[1]: Leaving directory '/home/aviya/Downloads/peak-linux-driver-8.18.0/driver'
make: *** [Makefile:98: install] Error 2
How can I fix this error? Please and Thank you!
Last edited by K.Wagner on Thu 8. Aug 2024, 07:25, edited 1 time in total.

M.Heidemann
Sales & Support
Sales & Support
Posts: 977
Joined: Fri 20. Sep 2019, 13:31

Re: PCAN-USB FD Driver Installation Error

Post by M.Heidemann » Thu 8. Aug 2024, 08:37

You have a real-time kernel, you will need to read the documentation.

Please see the instructions given for building the driver for rt-kernels:

https://www.peak-system.com/fileadmin/m ... /index.php

Best Regards

Marvin
---
Marvin Heidemann
PEAK-Support Team

Post Reply