Search found 9 matches

by afvillamil231
Fri 12. Apr 2019, 16:15
Forum: Linux
Topic: Cannot connect with PCAN device
Replies: 16
Views: 18113

Re: Cannot connect with PCAN device

Sorry if I have been rough. I just felt you were asking me the same thing for a while and like not reading. I am sorry anyway.

Well, as information, I solved the problem! So, the modprobe did not accept the pcan operation because the Secure boot system does not give it the right permissions. In ...
by afvillamil231
Fri 12. Apr 2019, 15:06
Forum: Linux
Topic: Cannot connect with PCAN device
Replies: 16
Views: 18113

Re: Cannot connect with PCAN device

Yes I have already done all the steps, I have told you three times......


sudo make install

make[1]: Entering directory '/home/felipe/peak-linux-driver-8.7.0/driver'
Info: /lib/modules/4.18.0-17-generic/misc exists.
Info: Left current 'pcan'-entry in /etc/modprobe.d/pcan.conf untouched.
Info ...
by afvillamil231
Fri 12. Apr 2019, 14:04
Forum: Linux
Topic: Cannot connect with PCAN device
Replies: 16
Views: 18113

Re: Cannot connect with PCAN device

output for make


make[1]: Entering directory '/home/felipe/peak-linux-driver-8.7.0/driver'
make[1]: Nothing to be done for 'depend'.
make[1]: Leaving directory '/home/felipe/peak-linux-driver-8.7.0/driver'
make[1]: Entering directory '/home/felipe/peak-linux-driver-8.7.0/driver'
***
*** Host ...
by afvillamil231
Fri 12. Apr 2019, 12:51
Forum: Linux
Topic: Cannot connect with PCAN device
Replies: 16
Views: 18113

Re: Cannot connect with PCAN device

Hey sorry to keep asking, I still don't have a good solution from you.

I did read the user manual, I also uninstalled and tried to install again. I even followed the instructions you presented here https://www.peak-system.com/forum/viewtopic.php?f=59&t=256 to install the chardev interface. But I ...
by afvillamil231
Fri 12. Apr 2019, 10:37
Forum: Linux
Topic: Cannot connect with PCAN device
Replies: 16
Views: 18113

Re: Cannot connect with PCAN device

Thank you for the reply,

I already installed all the drivers coming from http://www.peak-system.com/fileadmin/media/linux/index.htm on the section Driver Package for Proprietary Purposes. I followed the instructions of the user manual and normally it says that a simple make of the drivers will ...
by afvillamil231
Thu 11. Apr 2019, 18:17
Forum: Linux
Topic: Cannot connect with PCAN device
Replies: 16
Views: 18113

Re: Cannot connect with PCAN device

Now i just get this error

Code: Select all

1554999378.306827: ERROR: failed to scan directory (errno=2) '/sys/class/pcan'
1554999378.306855: ERROR: failed to open file (errno=2) '/sys/class/pcan/version'.
Segmentation fault (core dumped)
by afvillamil231
Thu 11. Apr 2019, 18:06
Forum: Linux
Topic: Cannot connect with PCAN device
Replies: 16
Views: 18113

Cannot connect with PCAN device

Update: I have already installed PCANBasic API and the chardev driver. The output of cat /proc/pcan

cat: /proc/pcan: No such file or directory
by afvillamil231
Thu 11. Apr 2019, 17:39
Forum: Linux
Topic: Cannot connect with PCAN device
Replies: 16
Views: 18113

Re: Error after computer restart

Thanks,

I will create a new post.
by afvillamil231
Thu 11. Apr 2019, 16:56
Forum: Linux
Topic: Cannot connect with PCAN device
Replies: 16
Views: 18113

Cannot connect with PCAN device

Hi,

I am trying to connect with a motor that uses CANopen through the PCAN-USB interface. once i try to connect a network from python with the command

network.connect(bustype='pcan', channel='PCAN_USBBUS1', bitrate=250000)

I get the following error

1554993945.673387: ERROR: failed to scan ...