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
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