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

USB to CAN Interface
Post Reply
JOJOTHEGREAT
Posts: 3
Joined: Tue 14. Aug 2018, 14:07

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

Post by JOJOTHEGREAT » Tue 14. Aug 2018, 14:25

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?

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

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

Post by M.Maidhof » Tue 14. Aug 2018, 15:43

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

JOJOTHEGREAT
Posts: 3
Joined: Tue 14. Aug 2018, 14:07

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

Post by JOJOTHEGREAT » Tue 14. Aug 2018, 18:01

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

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

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

Post by M.Maidhof » Wed 15. Aug 2018, 16:52

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.

JOJOTHEGREAT
Posts: 3
Joined: Tue 14. Aug 2018, 14:07

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

Post by JOJOTHEGREAT » Wed 15. Aug 2018, 20:30

I have installed the extension pack indeed

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

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

Post by M.Maidhof » Thu 16. Aug 2018, 09:33

Hi,

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

regards

Michael

Post Reply