Resolver Output
Put the file in the linuxcnc-dev folder, navigate there and type
git am 0001-Add-an-index-counter-for-multi-cycle-resolvers.patch
Tab-completion should allow you to just type git am 00<tab>
If it doesn't work then it is probably because you are not in the src directory, or the patch file is not in the src directory.
Then make as normal.
Please Log in or Create an account to join the conversation.
Will I have to set up a hal pin to set the cycles/rev?
Rick
Please Log in or Create an account to join the conversation.
Will I have to set up a hal pin to set the cycles/rev?
Yes. (it's actually a parameter)
You will need something like
setp hm2_5i25.0.resolver.00.index-divisor 2
If that works, can you also please check that index-divisor = 1 works as before? (I don't have a 7i65 to test with)
And I have just noticed a possible bug, because index-divisor of zero will never trigger, and if it happened to miss an index, it could get into that state.
Please Log in or Create an account to join the conversation.
After I saved the file to my linuxcnc-dev folder
I opened my terminal window,
Typed cd linuxcnc-dev hit enter,
Typed git am 0001-Add-an-index-counter-for-multi-cycle-resolvers.patch
And I get something about dirty index,
I went ahead and manually did the changes and that's were I'm at now.
Not sure what I'm doing wrong.
Please Log in or Create an account to join the conversation.
And I get something about dirty index,.
When I get that sort of problem I tend to copy the error message and paste it into a Google search.
That generally finds the problem.
Manually making the changes is probably OK in this case, as not a lot changed.
Please Log in or Create an account to join the conversation.
Any ideas?
Please Log in or Create an account to join the conversation.
I have a major problem now, I tried to start linux to see how the patch would , and when I click on the Icon it doesn't do anything. I click on it again it says that it is already running and wants to know if I want to restart. I went back to the terminal window and tried run it from the terminal but it says there is already a shortcut on the desktop.?
What is your build process?
If you did a ./configure without a path specified then you get a run-in-place system (where all the files are inside linuxcnc-dev, rather than in usr/bin etc.
did you do . ./scripts/rip-environment?
It's probably worth restarting the machine, then trying to start linuxcnc from the command line to see if any errors are mentioned.
(also, have a look in dmesg)
Please Log in or Create an account to join the conversation.
. ./scripts/rip-environment
and ran it for a while. I closed out of it did some other things and when I restarted it, I clicked create desktop shortcut, in the lower left hand corner of the window where you can select which config to use. It ran fine the rest of the day friday shutting down and restarting from the icon it put on the desktop.
Should I do the configure route instead to make it permanent?
Please Log in or Create an account to join the conversation.
Please Log in or Create an account to join the conversation.
When I have the pin "setp hm2_5i23.0.resolver.00.index-divisor 2" enabled linux will not come up, it won't fault out or anything, it just wont come up, and that's when it tells me if I try to start it again that its already running. If I # it out in my hal file then linux will start up.
Please Log in or Create an account to join the conversation.