-
Notifications
You must be signed in to change notification settings - Fork 24
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Error openning port /dev/pcanusb0 #13
Comments
Hello, I am having the same problem and I was wondering If you were able to fix it. Thanks |
I have found a solution to this problem. You need to go into the launch file and change the port value from "/dev/pcanusb0" to "/dev/pcanusb32". The launch file is located in /ros_catkin_ws/src/barrett_hand/bhand_controller/launch |
I have the same error, but with the |
I think this issue is solved, the reason for the above is mentioned in the PCAN manual. The number corresponds to the device you are using to connect to the bus. The numbering mentioned here: pcan0 is for PCAN - PCI while pcan32 is for PCAN - USB. After the correction (and making sure the driver for PCAN works, e.g. by trying to run it by |
Hello, Were you able to fix the problem? |
Yes, multiple issues in my case - PCAN driver was not working correctly and I was connected to the wrong port on the hand. Hand works now nicely. |
Hi,
When I tried a newer version of the library (8.6) the make goes with no problems but I start getting the same error you are facing in this issue ! |
@MohamadHalwani Sorry, but I do not have access to the lab and thus hand currently so can't check or try. |
@svarnypetr No worries, if things changed I would appreciate your help. Thanks |
Probably the version 7.12 does not work with your current kernel. Please try newer versions of the library. Initially you should not find any issue related to the Peak library if it's compiles and install correctly. |
@RomanRobotnik , Thanks for your reply. I appreciate your support |
Can you try this? 1- Load the module:
2- Check it's loaded:
3- Check the device is created when you plug the Peak CAN converted in your pc:
4- Check that the peakcan module is compiled to be used with NO NETDEV SUPPORT:
You should see: -NA- under ndev
|
It seems that I have an issue
|
To double check,
then
Then
|
Replace your make by (in peak-can folder):
|
So, ( this was in pcan_python folder)
|
But the output you are showing is not the one form the peak-library but the pcan_python module, am I right? |
yes correct, should it be from the peak-library ? |
running
now trying
|
Do you think this info message (it is only part of the whole output I'm receiving) has to do anything with the issue?
I'm getting it after |
I solved the issue :D
happens with UEFI systems with enabled Secure Boot |
Hi,
I've gone through the process of installing all the software as indicated. When I try launching the controller by
I get the following error message:
Any suggestion why I can't open the port? Are there any udev rules that need to be set?
The text was updated successfully, but these errors were encountered: