Page 1 of 1

err -110 submitting cmd *.* to PCAN-USB

Posted: Tue 14. Aug 2018, 14:25
by JOJOTHEGREAT
Hi,
I am running peak-linux-driver-8.6.0 in a virtual machine on ubuntu 17.10.

- When typing the command

Code: Select all

lspcan
I get the following: pcanusb32

- When typing the command

Code: Select all

pcanfdtst tx -n 10 - b 500k -p 1s /dev/pcan32
I get the following: failed to open "/dev/pcan32" (err -110) / No pcan device is opened ( same thing if I try with pcanusb32 )

- When trying to output

Code: Select all

dmesg | grep pcan
I get a bunch of: err -110 submitting cmd 6.1 to PCAN-USB ( or cmd 4.1, 3.2, 11.2 or 9.2 )

Could anybody help me out with that?

Re: err -110 submitting cmd *.* to PCAN-USB

Posted: Tue 14. Aug 2018, 15:43
by M.Maidhof
Hi,

please check that you have installed the VM guest extension pack. Next please post the output of cat /proc/pcan and uname -a

regards

Michael

Re: err -110 submitting cmd *.* to PCAN-USB

Posted: Tue 14. Aug 2018, 18:01
by JOJOTHEGREAT
Thanks for the quick response

Code: Select all

cat /proc/pcan 
*------------- PEAK-System CAN interfaces (www.peak-system.com) -------------
*------------- Release_20180720_n (8.6.0) Aug 14 2018 16:38:55 --------------
*------------- [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

Code: Select all

uname -a
Linux jojo-VirtualBox 4.13.0-46-generic #51-Ubuntu SMP Tue Jun 12 12:36:29 UTC 2018 x86_64 x86_64 x86_64 GNU/Linux

I should also have been saying that I am running my vm from OSX

Re: err -110 submitting cmd *.* to PCAN-USB

Posted: Wed 15. Aug 2018, 16:52
by M.Maidhof
Hi,

did you install the guest extension pack in your VM?

best regards

Michael

PS: please use a real Linux system to prevent such VM related problems.

Re: err -110 submitting cmd *.* to PCAN-USB

Posted: Wed 15. Aug 2018, 20:30
by JOJOTHEGREAT
I have installed the extension pack indeed

Re: err -110 submitting cmd *.* to PCAN-USB

Posted: Thu 16. Aug 2018, 09:33
by M.Maidhof
Hi,

can you please check that cat /dev/pcan32 will work.

regards

Michael