pcanview unable to find devices

This forum covers PCAN-Linux and Linux development issues concerning our products
Post Reply
ebaker
Posts: 2
Joined: Mon 17. Jun 2024, 21:16

pcanview unable to find devices

Post by ebaker » Mon 17. Jun 2024, 23:26

Hello,

Trying to use a PEAK miniPCIe board with pcanview in Linux and pcanview gives the error "No PCAN device found."

OS: Ubuntu 22.04.4 LTS

Output of driver check:
CONFIG_CAN_PEAK_PCIEFD=m
CONFIG_CAN_PEAK_PCI=m
CONFIG_CAN_PEAK_PCIEC=y
CONFIG_CAN_PEAK_PCMCIA=m
CONFIG_CAN_PEAK_USB=m

Output of lsmod:
peak_pci 24576 0

Output of lshw:
*-network
description: interface
product: PEAK-System Technik GmbH
vendor: PEAK-System Technik GmbH
physical id: 0
bus info: pci@0000:05:00.0
logical name: can0
logical name: can1
version: 02
width: 32 bits
clock: 33 MHz
capabilities: pm msi pciexpress bus_master cap_list logical
configuration: driver=peak_pci driverversion=6.5.0-35-generic latency=0
resources: irq:19 memory:90710000-9071ffff memory:9070000-907ffff

I also configured the two can interfaces with the commands:
ip link set can0 up type can bitrate 125000
ip link set can1 up type can bitrate 125000

What am I missing here?

M.Maidhof
Support
Support
Posts: 1701
Joined: Wed 22. Sep 2010, 14:00

Re: pcanview unable to find devices

Post by M.Maidhof » Wed 19. Jun 2024, 10:16

Hi,

to use pcanview under Linux, you need to install our peak-linux-driver-8.18 in chardev mode. Please see our Linux website for more details.

https://www.peak-system.com/fileadmin/m ... /index.php

regards

Michael

ebaker
Posts: 2
Joined: Mon 17. Jun 2024, 21:16

Re: pcanview unable to find devices

Post by ebaker » Wed 19. Jun 2024, 19:11

I had already followed the instructions to install the driver in chardev mode, using "make clean all" and "make install" per the instruction text file.

M.Maidhof
Support
Support
Posts: 1701
Joined: Wed 22. Sep 2010, 14:00

Re: pcanview unable to find devices

Post by M.Maidhof » Thu 20. Jun 2024, 10:57

Hi,

ok, please post output of cat /proc/pcan

regards

Michael

Post Reply