On Wednesday 29 August 2018 07:18:35 andy pugh wrote:

> On Wed, 29 Aug 2018 at 12:05, Gene Heskett <[email protected]> 
wrote:
> > Tried several variations, eventually commenting the TWOPASS and it
> > works again by removeing the automatic.yadda-yadda. Without backing
> > out about 50 edits, so the names= is working, once only.
>
> Yes. That's the way it is. To loadrt more than once, using names= you
> _must_ use TWOPASS.
but, as you saw in the previous post TWOPASS blows it up (in this case, 
it works on 3 other x86 machines but none of them try to loadrt the same 
module in different files.

Its running now, so I'll re-enable TWOPASS="tryme" and even w/o the file 
that would dbl load lincurve I get this:

Starting LinuxCNC...
twopass:invoked with <> options
twopass:found ./hm2-7i90-stepper.hal
Note: Using POSIX realtime
hm2: loading Mesa HostMot2 driver version 0.15
hm2/hm2_7i90.0: invalid token in config string: "{num_encoders=4"
hm2_rpspi: hm2_register() failed for SPI0/CE0.
hm2_rpspi: rtapi_app_main: Invalid argument (-22)

twopass: load_the_modules cmd=<orig_loadrt hm2_rpspi 
{config={"num_encoders=4 num_pwmgens=1 num_stepgens=4"}} 
spiclk_rate=41666 spiclk_rate_rd=25000>
waitpid failed /usr/bin/rtapi_app hm2_rpspi
/usr/bin/rtapi_app exited without becoming ready
insmod for hm2_rpspi failed, returned -1

HAL: ERROR: function 'hm2_7i90.0.read' not found
twopass: Error in file ./hm2-7i90-stepper.hal:
    addf failed
Shutting down and cleaning up LinuxCNC...

Put a # in front of TWOPASS and it Just Works. No other changes.

-- 
Cheers, Gene Heskett
--
"There are four boxes to be used in defense of liberty:
 soap, ballot, jury, and ammo. Please use in that order."
-Ed Howdershelt (Author)
Genes Web page <http://geneslinuxbox.net:6309/gene>

------------------------------------------------------------------------------
Check out the vibrant tech community on one of the world's most
engaging tech sites, Slashdot.org! http://sdm.link/slashdot
_______________________________________________
Emc-developers mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/emc-developers

Reply via email to