Error after computer restart

This forum covers PCAN-Linux and Linux development issues concerning our products
Post Reply
KaelManson
Posts: 1
Joined: Fri 3. May 2019, 08:12

Error after computer restart

Post by KaelManson » Fri 3. May 2019, 08:28

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

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

Re: Error after computer restart

Post by M.Maidhof » Fri 3. May 2019, 12:02

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

Post Reply