On Saturday 25 February 2017 15:10:33 Jon Elson wrote: > On 02/25/2017 01:57 PM, Gene Heskett wrote: > > I'd have an urge to, at init time, test the hdwe it finds, > > and set a flag to hit or skip that instruction sequence at > > runtime. > > That's the beautiful way to do it, but how do you tell which > to do? The only scheme I can come up with is try to > communicate with a board on all 16 addresses over the > parallel port, if no board seems to respond, then try again > with the setting flipped the other way. > > Jon
Ouch. OTOH it only needs to be dome at init time, with the success recorded in that $configname.var file. At runtime, checking that bit in memory is, or should be few enough machine cycles that in the longger view of running a job, is a shrug. That said Jon, you know chapters and verses about parport hardware that I'll never know. All I can now recall was that when I ran into it, probably at least 10 years back up the log, I had to go find a card that did work, and it worked till I shut it off to replace it with an ARK shoebox that had a DM525W mobo in it, and the same HD was moved into it and loaded and ran on that without any excitement. I think the install has been updated to wheezy since then, and I don't recall any real excitement, other than udev changing all the net device names, which I have since restored. That all translates to you having the final say-so, and I'm just one of those (in)famous frog's, throwing out ideas to see if they'll stick. And I won't complain if none of my ideas work. :) What I do know is that putting the problem out there has led to me solving my own typo's a lot faster than sitting and staring at pages of code. So this list rarely sees my poorer efforts in broad daylight. :) 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
