I am trying to use a pcan PCI card (model IPEH-002065) and I am facing issues concerning the driver:
The compilation and installation run fine but when I try to load the driver, dmesg shows this error:
After that, the can card is not detected: cat /proc/can returns[ 244.175374] pcan: Release_20171027_n (le)
[ 244.175378] pcan: driver config [mod] [isa] [pci] [pec] [dng] [par] [usb] [pcc] [net]
[ 244.175493] pcan: pcan_pci_sja1000_probe() check_mem_region(fbef0000h, 4096) err=-16
[ 244.175516] pcan: probe of 0000:08:00.0 failed with error -16
[ 244.175550] usbcore: registered new interface driver pcan
[ 244.175562] pcan: major 247.
I am using the latest version of the driver (8.5.1), and I also tried installing several previous versions without success. The computer runs Ubuntu 14.04, kernel version 3.13.0-88-generic.*------------- PEAK-System CAN interfaces (http://www.peak-system.com) -------------
*------------- Release_20171027_n (8.5.1) Jun 5 2018 15:56:56 --------------
*---------- [mod] [isa] [pci] [pec] [dng] [par] [usb] [pcc] [net] -----------
*--------------------- 0 interfaces @ major 247 found -----------------------
*n -type- -ndev- --base-- irq --btr- --read-- --write- --irqs-- -errors- status
lscpi|grep CAN returns:
so the pci card seems to be detected, but the driver is not loading properly.08:00.0 Network controller: PEAK-System Technik GmbH PCAN-PCI CAN-Bus controller (rev 02)
Note that I tried the card on another machine running ubuntu 16.04 with a 4.4.0-127-generic kernel and it worked fine.
Any idea what might be causing this ? I can provide more information on request.
Thank you