Page 1 of 2

Problem about pcan-minipcie fd on Ubuntu 16.04

Posted: Thu 27. Aug 2020, 08:16
by daemon05
I am trying to install peak-linux-driver-8.10.2 on my Ubuntu 16.04 machine.
My kernel version : 4.4.38-tegra on Nvidia tx2 board.

I follow the offical documentation, installed the driver in this order :
  • go to the driver folder
    make clean
    make
    sudo make install
    sudo modprobe pcan
After the installation completed, I check the output of cat /proc/pcan ;

Code: Select all

$ cat /proc/pcan:
*------------- PEAK-System CAN interfaces (http://www.peak-system.com) -------------
*------------- Release_20200701_n (8.10.0) Aug 26 2020 13:51:51 --------------
*---------- [mod] [isa] [pci] [pec] [dng] [par] [usb] [pcc] [net] -----------
*--------------------- 0 interfaces @ major 227 found -----------------------
*n -type- -ndev- --base-- irq --btr- --read-- --write- --irqs-- -errors- status

and the output of the lspci does not contain anythin about Peak-can device.

What is the true way of installing the driver ?

Best Regards.
Ali.

Re: Problem about pcan-minipcie fd on Ubuntu 16.04

Posted: Thu 27. Aug 2020, 09:55
by M.Maidhof
Hello Ali,

thanks for the info. When the PCAN-miniPCIe card is not detected by lspci, it could also not be found by the driver. Please check that your miniPCIe slot of your mainboard has a real PCIe interface, and not only USB on PCIe. Our cards are real PCIe cards and not "USB on PCIe" based. The info about the miniPCIe slot should be available in the technical specs of your used mainboard.

regards

Michael

Re: Problem about pcan-minipcie fd on Ubuntu 16.04

Posted: Thu 27. Aug 2020, 12:31
by daemon05
Thanks for your answer.

So, output of the lspci must contain the peak device regardless of the driver is installed or not ? After the machine see the device by lspci, it is safe to install the driver. Am I right ?

Edit :

My main board is : h**s://openzeka.com/urun/elroy-carrier-nvidia-jetson-tx2-tx2i-tx2-4gb-tx1
Admin: real link removed - no external links allowed


I think the slot is real pcie slot.

Best Regards.
Ali.

Re: Problem about pcan-minipcie fd on Ubuntu 16.04

Posted: Thu 27. Aug 2020, 14:57
by M.Maidhof
Hi,

yes, correct. As soon as the card will be detected by lspci, it should also be visible in our driver.

Please contact the manufacturer of the board for more details about real PCIe. Our cards needs the 3,3V and also the 1,5V power supply on the miniPCIe slot. You should check this too with your board manufacturer.

regards

Michael

Re: Problem about pcan-minipcie fd on Ubuntu 16.04

Posted: Fri 28. Aug 2020, 07:54
by daemon05
Thanks four your concern.

As you can see here :
external_link.JPG
external_link.JPG (11.97 KiB) Viewed 6105 times
, there are 3.3 V and 1.5V power supply goes to the Peak card. Admin: real link was removed - no extenal links allowed
And I tried different modules that connects to the elroy carrier module by PCIE, and they works, lspci see these devices.

I checked that physical connection, I cannot see anything wrong. Can you look at the manual that I gave in the first paragraph? I think the elroy board is compatible with the peak pcan card.

Best Regards.
Ali.

Re: Problem about pcan-minipcie fd on Ubuntu 16.04

Posted: Fri 28. Aug 2020, 09:22
by PEAK-Support
As Michael wrote - please contact the board supplier.
All our cards are tested under the norm of the PCISig consortium (where we are a members since many years) and will work as expected if the mainboard also work as descripeed in the PCISig norms.
one Tipp - see page 11 of the pdf - 2nd table - DIP Switch SW1A - set or not set ? detailed info on the page 17 - did you check this?

Re: Problem about pcan-minipcie fd on Ubuntu 16.04

Posted: Fri 28. Aug 2020, 10:12
by daemon05
Hi,

I tried with another board which is Nvidia Jetson TX2 Developer board and same problem again. system does not recognize the pcan device, lspci gives nothing.

I will check the DIP switch, but my other pcie cards work properly with my board. I think that, it is setted to pcie, but I will check.

Thanks for your reply.

Regards.

Re: Problem about pcan-minipcie fd on Ubuntu 16.04

Posted: Fri 28. Aug 2020, 10:44
by PEAK-Support
simply use it on a mainboard that offers a real miniPCIe interface, or use a PCIe to miniPCIe passive board for an standard PC, to be sure the device is not defect!

Re: Problem about pcan-minipcie fd on Ubuntu 16.04

Posted: Fri 28. Aug 2020, 11:00
by daemon05
Can you post a pinout of the pcan-miniPCIe FD. I will compare it pinout of my board.

Re: Problem about pcan-minipcie fd on Ubuntu 16.04

Posted: Fri 28. Aug 2020, 11:12
by PEAK-Support
we do not share this public - please send a mail to support[at]peak-system.com