This forum covers PCAN-Linux and Linux development issues concerning our products
-
pappit
- Posts: 5
- Joined: Thu 20. Jun 2019, 13:59
Post
by pappit » Fri 21. Jun 2019, 09:00
Hi,
I tried to install new card into our Ubuntu system .
First I tried with peak_pci and because it didn't work I installed the peak-linux-driver-8.8.0.
None of them bring up good result.
My op system is: Linux 4.4.0-142-generic #168-Ubuntu SMP Wed Jan 16 21:00:45 UTC 2019 x86_64 x86_64 x86_64 GNU/Linux
My card is: IPEH-003049
Code: Select all
$ dmesg | grep pcan:
[ 15.190715] pcan: loading out-of-tree module taints kernel.
[ 15.190764] pcan: module verification failed: signature and/or required key missing - tainting kernel
[ 15.191346] pcan: Release_20190412_n (le)
[ 15.191346] pcan: driver config [mod] [isa] [pci] [pec] [dng] [par] [usb] [pcc] [net]
[ 15.191375] usbcore: registered new interface driver pcan
[ 15.191382] pcan: major 245.
$ lsmod | grep pcan:
pcan 167936 0
can_dev 24576 1 pcan
parport 49152 1 pcan
pcmcia 61440 1 pcan
i2c_algo_bit 16384 2 pcan,i915_bpo
$ cat /proc/pcan:
*------------- PEAK-System CAN interfaces (http://www.peak-system.com) -------------
*------------- Release_20190412_n (8.8.0) Jun 20 2019 13:51:51 --------------
*---------- [mod] [isa] [pci] [pec] [dng] [par] [usb] [pcc] [net] -----------
*--------------------- 0 interfaces @ major 245 found -----------------------
*n -type- -ndev- --base-- irq --btr- --read-- --write- --irqs-- -errors- status
$ sudo ip link set can0 up type can bitrate 250000:
Cannot find device "can0"
Any help appreciated!
Thanks
Tamas
-
M.Maidhof
- Support

- Posts: 1753
- Joined: Wed 22. Sep 2010, 14:00
Post
by M.Maidhof » Fri 21. Jun 2019, 11:20
Hi,
please post output of cat /proc/pcan. When you want to work with the SocketCAN interface, there is no need to install the peak-linux-driver. The kernel 4.4 already has a netdev driver for the IPEH-003049 included. You will see canX devcies with ip link ls (uninstall peak-linux driver and reboot your system once, so that the kernel driver will be loaded again)
regards
Michael
-
pappit
- Posts: 5
- Joined: Thu 20. Jun 2019, 13:59
Post
by pappit » Fri 21. Jun 2019, 13:20
Hi Michael,
Thanks for your reply.
As you have seen in my original post:
Code: Select all
$ cat /proc/pcan:
*------------- PEAK-System CAN interfaces (http://www.peak-system.com) -------------
*------------- Release_20190412_n (8.8.0) Jun 20 2019 13:51:51 --------------
*---------- [mod] [isa] [pci] [pec] [dng] [par] [usb] [pcc] [net] -----------
*--------------------- 0 interfaces @ major 245 found -----------------------
*n -type- -ndev- --base-- irq --btr- --read-- --write- --irqs-- -errors- status
No device visible.
After the uninstall and reboot:
Code: Select all
$ip link ls
1: lo: <LOOPBACK,UP,LOWER_UP> mtu 65536 qdisc noqueue state UNKNOWN mode DEFAULT group default qlen 1
link/loopback 00:00:00:00:00:00 brd 00:00:00:00:00:00
2: enp1s0: <BROADCAST,MULTICAST,UP,LOWER_UP> mtu 1500 qdisc pfifo_fast state UP mode DEFAULT group default qlen 1000
link/ether 00:07:32:5e:0a:c4 brd ff:ff:ff:ff:ff:ff
3: enp2s0: <BROADCAST,MULTICAST> mtu 1500 qdisc noop state DOWN mode DEFAULT group default qlen 1000
link/ether 00:07:32:5e:0a:c5 brd ff:ff:ff:ff:ff:ff
Any idea?
Best Regards,
Tamas
-
M.Maidhof
- Support

- Posts: 1753
- Joined: Wed 22. Sep 2010, 14:00
Post
by M.Maidhof » Fri 21. Jun 2019, 14:41
Hi,
looks like the card is not detected in your Linux system. Please post output of lspci. Please note that our PCAN-miniPCIe cards are real PCIe devices, and will not work in miniPCIe slots which only supports USB.
regards
Michael
-
pappit
- Posts: 5
- Joined: Thu 20. Jun 2019, 13:59
Post
by pappit » Fri 21. Jun 2019, 15:12
Hi Michael,
Code: Select all
$ lspci
00:00.0 Host bridge: Intel Corporation Xeon E3-1200 v6/7th Gen Core Processor Host Bridge/DRAM Registers (rev 05)
00:02.0 VGA compatible controller: Intel Corporation HD Graphics 630 (rev 04)
00:14.0 USB controller: Intel Corporation 100 Series/C230 Series Chipset Family USB 3.0 xHCI Controller (rev 31)
00:14.2 Signal processing controller: Intel Corporation 100 Series/C230 Series Chipset Family Thermal Subsystem (rev 31)
00:16.0 Communication controller: Intel Corporation 100 Series/C230 Series Chipset Family MEI Controller #1 (rev 31)
00:17.0 SATA controller: Intel Corporation Q170/Q150/B150/H170/H110/Z170/CM236 Chipset SATA Controller [AHCI Mode] (rev 31)
00:1c.0 PCI bridge: Intel Corporation 100 Series/C230 Series Chipset Family PCI Express Root Port #5 (rev f1)
00:1c.5 PCI bridge: Intel Corporation 100 Series/C230 Series Chipset Family PCI Express Root Port #6 (rev f1)
00:1f.0 ISA bridge: Intel Corporation H110 Chipset LPC/eSPI Controller (rev 31)
00:1f.2 Memory controller: Intel Corporation 100 Series/C230 Series Chipset Family Power Management Controller (rev 31)
00:1f.3 Audio device: Intel Corporation 100 Series/C230 Series Chipset Family HD Audio Controller (rev 31)
00:1f.4 SMBus: Intel Corporation 100 Series/C230 Series Chipset Family SMBus (rev 31)
01:00.0 Ethernet controller: Realtek Semiconductor Co., Ltd. RTL8111/8168/8411 PCI Express Gigabit Ethernet Controller (rev 0c)
02:00.0 Ethernet controller: Realtek Semiconductor Co., Ltd. RTL8111/8168/8411 PCI Express Gigabit Ethernet Controller (rev 0c)
Best Regards,
Tamas
-
pappit
- Posts: 5
- Joined: Thu 20. Jun 2019, 13:59
Post
by pappit » Fri 21. Jun 2019, 15:29
Hi Michael,
Our motherboard is: EMB-H110B-A10-HH-K
In the manual at the connectors section I found the following:
18. Full / Half size Mini Card (mSATA) (MINICARD2)
Half size Mini Card (PCIe+USB) (MINICARD1)
Does it mean that we only can use half size mini card if we want peak_pci module to work?
Best Regards,
Tamas
-
M.Maidhof
- Support

- Posts: 1753
- Joined: Wed 22. Sep 2010, 14:00
Post
by M.Maidhof » Fri 21. Jun 2019, 15:58
Hi,
no PCAN-miniPCIe card detected by lspci, looks like your board don't offer PCIe on the slot where you have insert the PCAN-miniPCIe card. Please contact your board manufacturer for support.
regards
Michael
-
pappit
- Posts: 5
- Joined: Thu 20. Jun 2019, 13:59
Post
by pappit » Fri 21. Jun 2019, 20:05
Thank you Michael!