Se rendre au contenu

PCAN-Linux Driver

v9.0.0

Pilote CAN/CAN FD pour Linux (SocketCAN, chardev, PCAN-Basic).

VersionDate
9.0.029/01/2026Détails
8.20.018/02/2025Détails
8.19.017/12/2024Détails
8.18.022/05/2024Détails
8.17.018/01/2024Détails
8.16.004/04/2023Détails
8.15.204/10/2022Détails
8.15.125/07/2022Détails
8.14.026/01/2022Détails
8.13.029/09/2021Détails
8.12.010/05/2021Détails
8.11.019/01/2021Détails
8.10.202/07/2020Détails
8.10.120/05/2020Détails
8.10.011/03/2020Détails
8.9.324/10/2019Détails
8.9.005/08/2019Détails
8.8.015/04/2019Détails
8.7.020/11/2018Détails
8.6.024/07/2018Détails
8.5.127/10/2017Détails
8.4.014/06/2017Détails
8.3.115/02/2017Détails
8.310/01/2017Détails
8.208/11/2016Détails
8.110/06/2016Détails
8.0.2517/05/2016Détails
8.0.2001/04/2016Détails
8.0.1708/03/2016Détails
8.0.1626/02/2016Détails
7.15.229/07/2015Détails
7.1407/01/2015Détails
7.1320/10/2014Détails
7.1223/07/2014Détails
7.1105/05/2014Détails
7.1023/01/2014Détails
7.915/08/2013Détails
7.831/01/2013Détails
7.727/07/2012Détails
7.624/05/2012Détails
7.521/03/2012Détails
7.413/09/2011Détails
7.3Détails
7.2Détails
7.1Détails
6.24Détails
6.20Détails
6.19Détails
6.15Détails
6.13Détails
6.11Détails
6.9bDétails
6.7Détails
6.5Détails
6.4Détails
6.2Détails
6.0Détails
5.3Détails
5.12Détails
5.0Détails
4.3Détails
3.1029/10/2004Détails
3.627/07/2004Détails
3.518/05/2004Détails
3.28Détails
3.25Détails
3.2120/07/2005Détails
3.1714/02/2005Détails
3.1310/12/2004Détails
3.1206/12/2004Détails
2.828/05/2003Détails
2.618/03/2003Détails
2.526/02/2003Détails
2.1511/03/2004Détails
2.1420/11/2003Détails
2.1329/10/2003Détails
2.1212/08/2003Détails
1.4-1.3701/10/2002Détails
1.3.701/03/2002Détails

9.0.0 29/01/2026

Changements
  • Fix Udev rules that could prevent /dev/pcan-pci* nodes to be created
  • Include support of PCAN-USB FD FW 3.5.1 with ATSAM MCU
  • PCI/PCIe: increase busy wait delay when accessing internal flash memory
  • Comprehensive redesign of the channel closure phase
  • Change 'bitrate to bittimings regs' algorithm to allow specifying desired BRP value
  • Submit USB urbs atomically
  • Renamed multiple sysfs entries (nom_sample_point->nom_sp, data_bitrate->fd_bitrate, etc.)
  • Include support of presume-ack socket-CAN option
  • Handle TDC_AUTO mode for CAN_FD and CAN_XL
  • Does not support yet CAN_XL RESTRICTED_MODE
  • Include v5.0.0 libpcanbasic

8.20.0 18/02/2025

Changements
  • Includes libpcanbasic v4.10.0.4
  • Support for Linux Kernel 6.14
  • Driver Makefile 'clean' target now removes all intermediate files
  • Fix (ignore) makefile error when getting the list of installed gcc versions under Manjaro

8.19.0 17/12/2024

Changements
  • Includes libpcanbasic v4.9.0.7
  • Support for Linux Kernel 6.13
  • Extend compatibility with UBSAN controls to the entire driver
  • Improve support of CAN CC raw DLC values 9..15
  • pcan-usb/FW 2.8: fix switch to ERROR_ACTIVE state
  • Fix a potential NULL pointer assignment when reading adapter number
  • Fix a potential security exploit found by zdi-disclosures@trendmicro.com
  • Introduce new make targets in driver for DEBUG versions
  • Include read access of internal GUID for all USB interfaces

8.18.0 22/05/2024

Changements
  • Include libpcanbasic v4.8.0.5
  • Include support of Linux 6.9.0
  • CAN FD - USB interfaces: corrects timestamp management when inactive
  • PCIe cards: MSI management now takes into account single MSI level
  • The rxqprealloc/txqprealloc parameters pre-allocate message queues more efficiently
  • Realtime: support of Xenomai 3.2.4 dovetail
  • netdev mode: support for linux-can's automatic restart mechanism

8.17.0 18/01/2024

Changements
  • Makefile: redirect 'which' stderr because newer versions are verbose
  • Makefile: use $(CC) instead of gcc when getting current compiler version
  • Makefile: also handle soft links when looking for kernel headers
  • PCAN-USB Pro FD: add warning msg for firmware older than 3.4.6
  • CAN-FD: improve protection against message overflow
  • Fix usage of legacy names init_module()/cleanup_module()
  • Fix compilation issues with 6.4 and 6.5
  • Prevent kernel logs buffer flooding from negative timestamp differences
  • netdev: remove pcan_sync_*() functions calls which are useless
  • netdev: remove bus_load timer deletion to fix potential kernel crash
  • Include v4.8.0.5 libpcanbasic

8.16.0 04/04/2023

Changements
  • Added support of the new option PCANFD_OPT_SELF_ACK
  • Added support of the new option PCANFD_OPT_BRS_IGNORE
  • Removed the deprecated REMAKE_INITRD parameter
  • Included PCAN-Basic for Linux v4.7.0.3

8.15.2 04/10/2022

Changements
  • Included PCAN-Basic for Linux v4.6.2.36

8.15.1 25/07/2022

Changements
  • Included PCAN-Basic for Linux v4.6.1.32
  • Fixed a compilation error when compiled against kernel 5.17
  • PCAN-Dongle: added missing fallthrough statements
  • PCAN-USB: Fixed full version number read for FW >= 2.1
  • Added support of new MCU for new USB FD devices
  • Fixed endianess of PCAN-USB FD struct members
  • Added explicit error msg when lack of memory allocating Rx/Tx fifos
  • PCAN-PCI Express FD: added 50 us delay after bus=on command
  • Changed adapter name from 'PCAN-PCIe FD' to 'PCAN-PCI Express FD'
  • Added forgotten name of PCAN-miniPCIe FD
  • Fixed err when flash memory access is ok
  • Increased SPI flash delay from 10 ms to 50 ms
  • Reworked the way rxqsize/txqsize parameters are verified
  • PCAN-Dongle: fixed typo in adapter name
  • Introduced 2 new parameters rxqprealloc/txqprealloc
  • A documented pcan.conf is now installed in /etc/modprobe.d

8.14.0 26/01/2022

Changements
  • Included libpcanbasic v4.5.4.19
  • Included new tool pcanosdiag.sh
  • PCAN-USB fix: discard to notify user of change from ACTIVE to PASSIVE state
  • ioctl(SET_INIT): reset Rx Fifo queue even when bitrates don't change
  • Back to legacy handling of 1st STATUS msg
  • Added devices partnum: visible from /sys/class/pcan/pcan*/adapter_partnum
  • PCIe-CAN FD fix: added support of PCAN-PC/104-Plus FD
  • CAN FD-USB fix: handle limit cases when records list fills 512 bytes
  • Introduced DKMS support
  • Extended usage of PCAN_EXTRA_PARAMS to allow larger device data access
  • Fixed cases where PCANFD_OPT_FW_VERSION could return ff.ff.ff.00
  • Module_description now indicates variant among chardev, netdev, RTDM
  • PCAN-Chip USB: removed forgotten debug dump when reading I/O
  • PCAN-USB X6: Fixed CAN index number in messages to syslog
  • PCAN-USB X6: Fixed possible out of sequence order in USB enumeration
  • PCAN-PCIe FD family: unconditionally do RESET cmd before configuration
  • RTDM: support of Xenomai 3.2 and 3.2.1

8.13.0 29/09/2021

Changements
  • Support of kernel 5.15.0-rc3
  • Added log msgs in kernel when controller errors occur
  • Increased rxqsize default value to 2k
  • Introduced txqhiwat new module parameter
  • Better define txqsize and rxqsize max values
  • Improved/added ECHO management for CAN FD devices
  • Extended support of MSGTYPE_SINGLESHOT to all types of devices
  • sysfs: introduced 4 new counters of rx/tx frames and interrupts
  • netdev: Added forgotten IFF_ECHO netlink bit
  • netdev: Included ONE-SHOT mode support
  • RTDM: Fixed nanosecond counter in rx timestamps

8.12.0 10/05/2021

Changements
  • Fix PCAN-Chip USB name
  • Fix compilation issue with kernels up to 5.12
  • Improve hardware timestamps handling
  • Add xeno_can_peak_pciefd to the driver black list
  • Support of legacy PCAN-Dongle and PCAN-PC card is removed by default

8.11.0 19/01/2021

Changements
  • Include dkms support
  • Overhaul of timestamp management for USB CAN-FD devices
  • Handle SOF option when FW supports it
  • Include dynamic clock reference selection
  • USB: silently ignore EPROTO when reading
  • USB: the controller is no more put in bus off before going to bus on
  • Introduce PCANFD_IGNORE_SAME_BITTIMING
  • USB-Pro: support of single-shot mode
  • CAN-FD: module parameter dbitrate=0 correctly interpreted
  • netdev: Fix usage of hw timestamps in netdev mode
  • netdev: Forward CAN bus errors to socket-can
  • Fix MSGTYPE old field according to pcanfd_msg flags content

8.10.2 02/07/2020

Changements
  • Include support of Kernels up to 5.8.0
  • Enlarge read() output buffer size for rx frames with >8 bytes of data
  • Be sure that error frame won't be pushed in Rx queue
  • pcanfd_pci: add wmb() to ensure record written in DMA
  • pcan-usb: restore 20 ms delay before putting controller to off

8.10.1 20/05/2020

Changements
  • netdev: fixed potential kernel 5.4 crash
  • USB devices: wait for outstanding data URBs to be completed

8.10.0 11/03/2020

Changements
  • RT/Xenomai 3.x: fixed possible deadlock
  • PCAN-USB: handle error codes during close process
  • PCAN-USB Pro: Fixed whole buffer size to 1K
  • Added channel identification system (blinking LED)
  • New option PCANFD_OPT_FLASH_LED
  • Added possibility of saving 'Device ID' for PCIe card too
  • Added LOOPBACK support to netdev mode

8.9.3 24/10/2019

Changements
  • Fixed warning: this statement may fall through
  • PCAN-Basic for Linux: Added Python 3.x example

8.9.0 05/08/2019

Changements
  • lspcan: fixed several small bugs in display
  • Makefile: fixed CC to take CROSS_COMPILE into account
  • RT specific: tested with Xenomai 3.0.9

8.8.0 15/04/2019

Changements
  • Added libpcanbasic directory with pcanbasic 4.3.1.3
  • Handled linux 5.x changes
  • Fixed transmission of last frame with SJA1000 devices
  • Fixed usage of select() under RTAI 5.1 and Xenomai 3.0
  • Included ability to program flash of some USB devices
  • Bug: CONFIG_COMPAT: Fixed 32-bit application ioctl deadlock

8.7.0 20/11/2018

Changements
  • Fixed potential NULL pointer access bug
  • PCANFD_TYPE_ERROR_MSG are now posed only if something new
  • BUS_LOAD notifications posted when bus_load really changed
  • Fixed some rare negative time values in timestamps
  • xenomai: support of Xenomai 3 with full /sys/class/pcan access
  • rtai: support of RTAI 5.1
  • handle single-shot mode for CAN FD devices

8.6.0 24/07/2018

Changements
  • pci/pcifd: redesign MSI management
  • PCAN-PCI Express FD: defined fdirqtl/fdirqcl parameters
  • PCAN-PCIe: renamed PCAN_PCIE_OEM to PCAN_Chip_PCIe
  • driver/API: added PCANFD_FEATURE_ECHO and PCANFD_MSG_ECHO
  • PCAN-PCIe FD: added FW version checking
  • PCAN-Chip USB: Fixed PCAN-Chip name
  • PCAN-Chip FW 3.3.0: digital/analog I/O full management
  • driver/API: added 2 options to read FW/DRV versions
  • Included last linux-can header files
  • PCAN-USB: reworked completely timestamps handling

8.5.1 27/10/2017

Changements
  • Driver and library include 2 new functions/ioctls
  • Set a delay between each frame written on CAN bus
  • Set new hardware timestamp mode
  • driver can be built with Kernels >4.10
  • Fixed BTR0BTR1 bit rate conversion
  • Tx and Rx error counters now read from SJA1000 devices
  • CAN 2.0 A/B mode forced for non-FD CAN FD controller
  • Fixed DMA usage in control URB with Kernel 4.13

8.4.0 14/06/2017

Changements
  • PCAN-USB Chip: added
  • Better support for cross-compilation
  • PCAN-PCIe FD: Added sysfs properties for RX/TX-DMA zones
  • PCAN-PCIe FD: Module parameter dmamask added

8.3.1 15/02/2017

Changements
  • netdev/pcanfd_pci: handle restart from BUSOFF
  • netdev: fixed compilation issue with some 4.4.0-x kernels
  • pcanfd_usb: handle non-root USB controllers

8.3 10/01/2017

Changements
  • Support of the new PCAN-USB X6 USB to CAN adapter
  • 64-bit driver supports 32-bit applications
  • Better netdev support with handling auto-restart
  • Dynamic allocation of Tx/Rx msgs fifos on open()

8.2 08/11/2016

Changements
  • Added two new ioctl to get bit timing ranges
  • Sample_point ratio taken into account
  • Added support of MSI for PCAN-PCI Express FD
  • Added PCANFD_BUS_ERROR as new STATUS message

8.1 10/06/2016

Changements
  • First release of PCAN v8 handling CAN-FD
  • New CAN-FD API introduced

8.0.25 17/05/2016

Changements
  • Beta: Added SingleShot feature for SJA1000 controllers
  • Fixed clock drift handling

8.0.20 01/04/2016

Changements
  • Beta: CAN 2.0 PCAN-USB: usage of dynamic mem alloc
  • Fixed bug around mutex

8.0.17 08/03/2016

Changements
  • Beta: Fixed compilation issues with 2.6.32 LTE
  • Fixed RT compilation against Xenomai 2.6

8.0.16 26/02/2016

Changements
  • Beta: CAN FD support for all PEAK-System CAN FD PC interfaces
  • New modern message oriented CAN FD API
  • Bus load, rx/tx CAN errors counters available
  • 100% compatible with old CAN API
  • Enhanced support of real time

7.15.2 29/07/2015

Changements
  • Included Self-Receive facility for all USB adapters
  • Fixed way PCI driver handled channel device probing failure

7.14 07/01/2015

Changements
  • Added support for new PCAN-USB FD adapter
  • Added support for new PCAN-USB Pro FD adapter

7.13 20/10/2014

Changements
  • Added feature that exports 'Device ID' to sysfs
  • Added support of new PCAN-ExpressCard 34
  • Added support for Kernel 3.17

7.12 23/07/2014

Changements
  • Reworked to detect spurious interrupt problem
  • Reworked SJA1000 ISR to save time

7.11 05/05/2014

Changements
  • Fix reading Kernel version in driver's Makefile

7.10 23/01/2014

Changements
  • Added support for PCAN-PCI Express OEM board
  • Handle USB error like BUSOFF

7.9 15/08/2013

Changements
  • Fixes CAN messages with faulty DLC value >8
  • Tested with Kernel 3.10

7.8 31/01/2013

Changements
  • Support of future Kernel 3.9 linux-can
  • Include support of Kernel 3.7+

7.7 27/07/2012

Changements
  • Fixed compilation issues with Linux Kernel 3.5

7.6 24/05/2012

Changements
  • Fixed compilation issues with Linux Kernel 3.5

7.5 21/03/2012

Changements
  • Added support for Kernel v3.x
  • Added support for PCAN-miniPCIe

7.4 13/09/2011

Changements
  • Fixed PCAN-USB Pro frame lost

7.3

Changements
  • Add support for Linux kernel 3.0

7.2

Changements
  • Support of Linux kernel up to 2.6.38.3

7.1

Changements
  • Support of PCAN-USB adapter
  • Support of PCAN-USB Pro adapter
  • Support of Kernel 2.6.37

6.24

Changements
  • PCAN-ExpressCards now supported
  • Support for kernel 2.6.35

6.20

Changements
  • Re-inserted startup waiting time of 10 ms

6.19

Changements
  • Compiles up to kernel 2.6.34
  • Performance improvement for PCAN-USB with netdev

6.15

Changements
  • Fixes problem with PCAN-USB driver

6.13

Changements
  • Preventing back-to-back writes to SJA1000 command register

6.11

Changements
  • Optimized for multicore environments

6.9b

Changements
  • Support up to Kernel 2.6.29
  • Added udev support

6.7

Changements
  • Support up to Kernel 2.6.26
  • Automatic Socket CAN Support compiling

6.5

Changements
  • Support up to Kernel 2.6.23
  • Add new features in Error Handling

6.4

Changements
  • Support for 4 channel CAN PCI Interface added

6.2

Changements
  • Compiles with kernel 2.6.21
  • Improved XENOMAI integration stability

6.0

Changements
  • PCAN-Linux driver support Socket-CAN Interface
  • Timestamps with microsecond resolution

5.3

Changements
  • Support Kernel 2.6.18.5

5.12

Changements
  • Support Kernel 2.6.19

5.0

Changements
  • Complete driver distributed under GPL
  • Xenomai RealTime Core integrated

4.3

Changements
  • Add PCAN-PC Card (PCMCIA)
  • Realtime sharing interrupts support

3.10 29/10/2004

Changements
  • Kernel-Version 2.6.9 - Parameter 'timeout' issue

3.6 27/07/2004

Changements
  • Add English Documentation

3.5 18/05/2004

Changements
  • Update: Linux 2.6 Kernel support

3.28

Changements
  • Driver works with YellowDog-Linux (PowerPC)

3.25

Changements
  • Better support for X86_64 Bit Systems
  • Works with Kernel 2.6.15

3.21 20/07/2005

Changements
  • Prepared for kernels >= 2.6.12

3.17 14/02/2005

Changements
  • Increased write buffer for hardware revision >= 7

3.13 10/12/2004

Changements
  • Fix Bug while reading PCAN-USB Serial number

3.12 06/12/2004

Changements
  • Conform to kernel 2.6.9

2.8 28/05/2003

Changements
  • Add rpm Package

2.6 18/03/2003

Changements
  • Add rpm Package

2.5 26/02/2003

Changements
  • Add PCAN-USB Driver

2.15 11/03/2004

Changements
  • Fixed bug when using RTR Messages

2.14 20/11/2003

Changements
  • Fixed wrong handling of USB device enumeration

2.13 29/10/2003

Changements
  • Fixed rpm Package problem

2.12 12/08/2003

Changements
  • devfs, kernel-2.5 support, LGPL

1.4-1.37 01/10/2002

Changements
  • Now work with SUSE 8.x LINUX

1.3.7 01/03/2002

Changements
  • PCAN-Light

Neutralisé