Lincurve and Pathpilot

More
23 Jul 2019 16:11 - 23 Jul 2019 16:12 #140312 by davidimurray
After getting PP 2.2.4 to boot up. I've now got as far as getting a lathe setup working. I've moved various bits of my old HAL files over to get to the point where the axis, limits etc are working from the parallel port.

Now looking at the spindle, i used lincurve to get goo spindle speed control. I've tried copying lincurve.ko into the rtlib folder (as others have done successfully), but when i try and boot I got the following errors in the log file.

Any thoughts/help/ideas to resolve this much appreciated
lincurve: dlopen: /home/operator/tmc/rtlib/lincurve.so: cannot open shared object file: No such file or directory
Starturn.hal:15: waitpid failed /home/operator/tmc/bin/rtapi_app lincurve
Starturn.hal:15: /home/operator/tmc/bin/rtapi_app exited without becoming ready
Starturn.hal:15: insmod for lincurve failed, returned -1
HALCMD ini file /home/operator/tmc/configs/tormach_lathe/Starturn.ini load failed with config file Starturn.hal
Shutting down and cleaning up LinuxCNC...
Last edit: 23 Jul 2019 16:12 by davidimurray.

Please Log in or Create an account to join the conversation.

More
23 Jul 2019 17:32 #140323 by PCW
Replied by PCW on topic Lincurve and Pathpilot
I suspect (but do not know for sure) that you could simply copy lincurve.so
from a similar LinuxCNC installation (X86 64 bit LinuxCNC uspace )

One big change from PathPilot 1.x to 2.x is the change from a RTAI based RTOS
system to a Preempt-RT based RTOS

Real time library objects in RTAI are kernel modules (with a .ko suffix) but real time
library objects for Preempt-RT are userland modules (with a .so suffix)

Please Log in or Create an account to join the conversation.

More
24 Jul 2019 20:27 #140468 by davidimurray
Replied by davidimurray on topic Lincurve and Pathpilot
Thanks PCW

Would anyone happen to have a copy of the lincurve.so file they could share?

Please Log in or Create an account to join the conversation.

More
24 Jul 2019 20:50 #140471 by davidimurray
Replied by davidimurray on topic Lincurve and Pathpilot
Downloaded a copy of lincurve.so from here fedora.pkgs.org/29/rpm-sphere-x86_64/lin...15.1.x86_64.rpm.html

Copied it over into pathpilot but still getting the same error.

Please Log in or Create an account to join the conversation.

More
24 Jul 2019 20:54 - 24 Jul 2019 22:40 #140473 by PCW
Replied by PCW on topic Lincurve and Pathpilot
are the file permissions set as executable?
(make sure they match the permissions of the other .so files in the rtlib subdirectory)
Last edit: 24 Jul 2019 22:40 by PCW.

Please Log in or Create an account to join the conversation.

More
24 Jul 2019 21:02 #140475 by smgvbest
Replied by smgvbest on topic Lincurve and Pathpilot
I"ve got a copy build from the V2.0.5 source from tormach but my VM is refusing to connect to my network. soon as I can I'll put it in my dropbox and post a link

however, it's not saying it can't run it, it's saying it can't find it in your initial post
are you still getting that error.

Please Log in or Create an account to join the conversation.

More
26 Jul 2019 07:43 #140630 by smgvbest
Replied by smgvbest on topic Lincurve and Pathpilot
finally got my PP network going again.
here's my dropbox link to the one on my PP install

www.dropbox.com/s/6b9i2e0wlyhu1wx/lincurve.so?dl=0

Please Log in or Create an account to join the conversation.

More
26 Jul 2019 20:00 #140685 by davidimurray
Replied by davidimurray on topic Lincurve and Pathpilot
It works :)

I checked PCWs suggestion about ensuring properties were set to executable. After setting them I then got a new error about another missing library.

I then tried smgvbest version of lincurve with properties set to executable and it worked.

Need to do some more tests but hopefully that means I've now ported my parallel port lathe Linux setup over to Parallel port pathpilot lathe. A bit more testing required but once confirmed working I will share my setup to help others.

Thanks both of you for your help getting this working.
Dave

Please Log in or Create an account to join the conversation.

More
26 Jul 2019 21:51 #140693 by smgvbest
Replied by smgvbest on topic Lincurve and Pathpilot
Cool , glad it worked for you

Please Log in or Create an account to join the conversation.

Moderators: cncbasher
Time to create page: 0.170 seconds
Powered by Kunena Forum