Appendix D Linux
Depending on the Kernel version, device drivers for the CAN interfaces from PEAK-
System are already included in the operating system. The CAN interfaces are treated
as network devices (SocketCAN, netdev). You can find the documentation for
SocketCAN under:
https://www.kernel.org/doc/Documentation/networking/can.txt
The command
grep PEAK_ /boot/config-`uname -r`
lists the available
drivers. The following table shows the PCAN-Interfaces and from which kernel version
they are supported.
PCAN-Interface
Kernel version
PCAN-PCI
PCAN-PCI Express
PCAN-miniPCI
≥ 3.2
PCAN-PC/104-Plus
PCAN-PCI/104-Express
PCAN-USB
PCAN-USB Pro
PCAN-ExpressCard
≥ 3.4
PCAN-PCI Express
PCAN-miniPCIe
PCAN-PCI/104-Express
≥ 3.7
PCAN-USB FD
PCAN-USB Pro FD
≥ 4.0
PCAN-Chip USB
≥ 4.11
PCAN-PCI Express FD
≥ 4.12
PCAN-PCI/104-Express FD
PCAN-miniPCIe FD
PCAN-Chip PCIe FD
≥ 4.12
PCAN-M.2
PCAN-Chip PCIe
≥ 4.3
PCAN-USB X6
≥ 4.9
Whether the required driver for the PCAN-Interface is present and loaded can be
checked with the following command:
lsmod | grep ^peak check
. If the
initialization was successful, the response line starts with
peak_usb
or
peak_pci
.
If the required drivers are not listed, install the "Driver Package for Proprietary
Purposes". The download, the user manual for the driver, and the corresponding
"Implementation Details" can be found under:
This driver package is also needed to use the APIs based on the chardev driver, for
example PCAN-Basic, libpcan, or libpcanfd.
Appendix D Linux
PCAN-PCI Express
User Manual 4.0.0
© 2022 PEAK-System Technik GmbH
32