Error after computer restart

This forum covers PCAN-Linux and Linux development issues concerning our products
Post Reply
altran
Posts: 14
Joined: Sat 5. Nov 2016, 07:11

Error after computer restart

Post by altran » Thu 22. Dec 2016, 23:33

Every time I restart my machine 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 23. Dec 2016, 09:11

Hi,

please check if the pcan driver is correctly loaded after a restart of your system. You can call cat /proc/pcan to check the driver status.

regards

Michael

altran
Posts: 14
Joined: Sat 5. Nov 2016, 07:11

Re: Error after computer restart

Post by altran » Tue 27. Dec 2016, 23:49

Reinstalled new drivers (8.2) Seems to be working. Thank you.

Post Reply