Issue with Linux driver for PCAN-USB X6 version 8.3
Posted: Fri 20. Jan 2017, 15:47
Hello ,
I have been trying to install Linux driver for PCAN-USB X6 on a UBUNTU 14.4 machine. I am using peak-linux-driver-8.3
As I understand that this is the version which supports PCAN-USB X6. I built the chardev variant of the driver and the device gets recognized in the system and I see the 6 channels as expected.
But I would like to use the SocketCAN interface and hence tried the following .
1. built the driver using " make –C driver NET=NETDEV_SUPPORT". This does compile the kernel module but the /lib folder is not compiled. This causes the "make install" to fail as some libs are missing. I built the libs from lib folder
and then installed the driver. But the following error pops up when the PCAN-USB X6 box is connected to the system
[18990.985358] usb 1-2: new full-speed USB device number 11 using ohci-pci
[18991.447127] usb 1-2: New USB device found, idVendor=0c72, idProduct=0014
[18991.447131] usb 1-2: New USB device strings: Mfr=1, Product=2, SerialNumber=0
[18991.447133] usb 1-2: Product: PCAN-USB X6
[18991.447134] usb 1-2: Manufacturer: PEAK-System Technik GmbH
[18991.486372] pcan: unable to find same usb if
[18991.486389] pcan: device_init() failure err -12
[18991.486396] pcan: probe of 1-2:1.0 failed with error -12
So my question is , does this driver support PCAN-USB X6 in NETDEV mode? IF yes , could you please guide me through the process.
2. I understand that for NETDEV support for PCAN-USB adaptors there is support in the mainline Linux kernel and there is no need for me to install this driver. In my PC the required modules need to be built and inserted
$cat /boot/config-4.2.0-27-generic | grep CAN
CONFIG_CAN=m
CONFIG_CAN_RAW=m
CONFIG_CAN_PEAK_USB=m
If I build and insert the above mentioned modules will PCAN-USB X6 be detected as a net device ? Could you please guide me through this ?
Thanks in Advance
Vineeth
I have been trying to install Linux driver for PCAN-USB X6 on a UBUNTU 14.4 machine. I am using peak-linux-driver-8.3
As I understand that this is the version which supports PCAN-USB X6. I built the chardev variant of the driver and the device gets recognized in the system and I see the 6 channels as expected.
But I would like to use the SocketCAN interface and hence tried the following .
1. built the driver using " make –C driver NET=NETDEV_SUPPORT". This does compile the kernel module but the /lib folder is not compiled. This causes the "make install" to fail as some libs are missing. I built the libs from lib folder
and then installed the driver. But the following error pops up when the PCAN-USB X6 box is connected to the system
[18990.985358] usb 1-2: new full-speed USB device number 11 using ohci-pci
[18991.447127] usb 1-2: New USB device found, idVendor=0c72, idProduct=0014
[18991.447131] usb 1-2: New USB device strings: Mfr=1, Product=2, SerialNumber=0
[18991.447133] usb 1-2: Product: PCAN-USB X6
[18991.447134] usb 1-2: Manufacturer: PEAK-System Technik GmbH
[18991.486372] pcan: unable to find same usb if
[18991.486389] pcan: device_init() failure err -12
[18991.486396] pcan: probe of 1-2:1.0 failed with error -12
So my question is , does this driver support PCAN-USB X6 in NETDEV mode? IF yes , could you please guide me through the process.
2. I understand that for NETDEV support for PCAN-USB adaptors there is support in the mainline Linux kernel and there is no need for me to install this driver. In my PC the required modules need to be built and inserted
$cat /boot/config-4.2.0-27-generic | grep CAN
CONFIG_CAN=m
CONFIG_CAN_RAW=m
CONFIG_CAN_PEAK_USB=m
If I build and insert the above mentioned modules will PCAN-USB X6 be detected as a net device ? Could you please guide me through this ?
Thanks in Advance
Vineeth