My configuration is 2 pcie cards “PCAN-PCI Express Dual Channel galv. Isolated” + 1 pci card “PCAN-PCI Dual Channel”.
I use linux driver version 8.15.2
With PCIE card
pcan-settings –f=/dev/pcanpci0 –d
Working on all channels
On PCI card
pcan-settings –f=/dev/pcanpci2 –d
pcan-settings: Failed to get device number (errno=524)
and dmesg retrun :
pcan: _pcan_ioctrl_extra_parameters(): NULL device_params addr
With this error a can’t assign id to the can bus on pci card. I want use assign devid to put can interface into a logical order. actual order is (can4, can5, can0, can1, can2 and can3)
the older PCAN-PCI cards (IPEH-00206x) don't offer the option to set device IDs. Only PCAN-PCI Express cards offer that option.
but do you see other solution to cross 2 can socket?
I use pcan driver into netdev mode.
Is it possible to set ip socket can0 link to pcan channel 2 and can2 socket to pcan channel 0 ?
Into /etc/modprobe.d/pcan.conf add this line :
Options pcan assign=pcan0:can2,pcan2:can0
thanks Mr Maidhof,