Page 1 of 1

Error after computer restart

Posted: Fri 3. May 2019, 08:28
by KaelManson
Every time I restart my computer and try to access the devices using the API, I get the following error:

1482445262.149631: ERROR: failed to scan directory (errno=2) '/sys/class/pcan'
1482445262.149641: ERROR: failed to open file (errno=2) '/sys/class/pcan/version'

In order to get it to work again, I would have to unplug the USB and replug. Not sure what is going on.
I am on a Linux machine using:

API 4.1.0.2
Peak-linux-driver 8.2

Re: Error after computer restart

Posted: Fri 3. May 2019, 12:02
by M.Maidhof
Hi,

as a first step please update to the latest peak-linux-driver version 8.8. Do you use any USB extension cables or unpowered USB hubs between PCAN-USB and your PC?

regards

Michael