We have problems to configure the new peak linux driver V. 8.1 compiled in netdev/SocketCAN mode with the RTNETLINK interface. For some reasons we want to use the Linux SocketCAN interface for our CAN environment. We use SUSE Linux Enterprise Server 11 SP2-SP4 with kernel 3.0. This kernel version has no internal drivers for our PEAK PCIe and USB adapters. That's why we have to use the PCAN driver. As per point 4.8.2 driver user manual, the new driver is now configurable with iproute2.
Some information's of our system:
Code: Select all
test2:~ # uname -a
Linux test2 3.0.101-71-default #1 SMP Thu Mar 3 12:56:15 UTC 2016 (7bdad2e) x86_64 x86_64 x86_64 GNU/Linux
test2:~ # cat /proc/pcan
*------------- PEAK-System CAN interfaces (www.peak-system.com) -------------
*------------- Release_20160608_n (8.1.0) Jun 16 2016 09:04:48 --------------
*---------- [mod] [isa] [pci] [pec] [dng] [par] [usb] [pcc] [net] -----------
*--------------------- 1 interfaces @ major 248 found -----------------------
*n -type- -ndev- --base-- irq --btr- --read-- --write- --irqs-- -errors- status
0 pci can0 f8110000 032 0x001c 00000000 00000000 00000000 00000000 0x0000
test2:~ # cat /proc/net/dev | grep can
can0: 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0
test2:~ # ip -V
ip utility, iproute2-ss160111
test2:~ # ip link show can0
6: can0: <NOARP> mtu 16 qdisc noop state DOWN mode DEFAULT group default qlen 1000
link/can
Code: Select all
test2:~ # /sbin/ip link set up can0 type can bitrate 1000000
RTNETLINK answers: Operation not supported
test2:~ # /sbin/ip link set up can0 type can restart-ms 100
RTNETLINK answers: Operation not supported
Code: Select all
test2:~ # /sbin/ip link set up can0 type can
test2:~ #
Regards,
F.Benad