Page 1 of 1

pcanview fails to run on 64-bit Ubuntu 16.04

Posted: Sun 17. Feb 2019, 20:02
by djcroke
Hello,

I'm attempting to run pcanview (amd64) on 64-bit Ubuntu 16.04 but it is failing to start.

When pcanview starts it displays a Connect dialog box with the following:

"Available PCAN hardware:
PCAN-USB 0: Channel 0"

Along with the settings for clock, bitrate, sample point and sync jump width. So far so good.

When I click the ok button an Error dialog is displayed with the following error:

"Failed to open "/dev/pcanusb32" (Broken pipe)"

I built and installed version 8.7.0 of the Peak Linux driver with the following commands:

Code: Select all

	sudo apt-get install gcc-multilib
	sudo apt-get install libpopt-dev:i386
	download pcan driver for linux v8.7.0
		make clean
		make
		sudo make install
And then installed pcanview:

Code: Select all

	sudo apt-get install libncurses5
	download/install pcan-view for linux (amd64)
An ls of /dev/ shows that the pcanusb32 device exists:

Code: Select all

$ ll /dev/pcan*
lrwxrwxrwx 1 root root       9 Feb 17 11:27 /dev/pcan32 -> pcanusb32
crw-rw-rw- 1 root root 244, 32 Feb 17 11:27 /dev/pcanusb32

/dev/pcan-usb:
total 0
drwxr-xr-x 2 root root 60 Feb 17 11:27 0/
The output of uname on my system is:

Code: Select all

Linux parallels-vm 4.15.0-45-generic #48~16.04.1-Ubuntu SMP Tue Jan 29 18:03:48 UTC 2019 x86_64 x86_64 x86_64 GNU/Linux
And installed pcanview is:

Code: Select all

$ file /usr/local/bin/pcanview
/usr/local/bin/pcanview: ELF 64-bit LSB shared object, x86-64, version 1 (SYSV), dynamically linked, interpreter /lib64/ld-linux-x86-64.so.2, for GNU/Linux 3.2.0, BuildID[sha1]=92eaaac200d506bb82660e3e229304c59833752c, stripped
Can anyone suggest what might be the cause of my problem?

Thanks in advance,
Darren

Re: pcanview fails to run on 64-bit Ubuntu 16.04

Posted: Mon 18. Feb 2019, 09:41
by M.Maidhof
Hi,

please post the output of cat /proc/pcan

regards

Michael

Re: pcanview fails to run on 64-bit Ubuntu 16.04

Posted: Mon 18. Feb 2019, 10:56
by djcroke
Here it is:

Code: Select all

$ cat /proc/pcan

*------------- PEAK-System CAN interfaces (http://www.peak-system.com) -------------
*------------- Release_20181116_n (8.7.0) Feb 17 2019 11:23:30 --------------
*------------- [mod] [isa] [pci] [pec] [dng] [par] [usb] [pcc] --------------
*--------------------- 1 interfaces @ major 244 found -----------------------
*n -type- -ndev- --base-- irq --btr- --read-- --write- --irqs-- -errors- status
32    usb   -NA-        0 000 0x001c 00000000 00000000 00000000 00000000 0x0000
Thanks,
Darren

Re: pcanview fails to run on 64-bit Ubuntu 16.04

Posted: Mon 18. Feb 2019, 12:00
by M.Maidhof
Hi,

you also send an email to support, so this will just double our work. Please answer our emails. You can later post the results of your problem here for the public.

regards

Michael