Gene,

My problem isn't the breakout board per say.  It is that this wonky PCIe 
parallel port card isn't pulling up the input pins in Linux (it does in 
Windows).

I can make this breakout board work by adding a 3.3 or 5v pullup to the 
parallel port side of the opto (I've tested it and I know that does work.)  I'm 
asking here if anyone has a clue what it might take to make the parallel port 
work as it should in Linux? (like it does in Windows)  So that I won't have to 
add the pull ups or buy a different breakout board.

Todd Zuercher
P. Graham Dunn Inc.
630 Henry Street 
Dalton, Ohio 44618
Phone:  (330)828-2105ext. 2031

-----Original Message-----
From: Gene Heskett <[email protected]> 
Sent: Wednesday, October 31, 2018 1:49 PM
To: [email protected]
Subject: Re: [Emc-users] Parallel Port Problems

On Wednesday 31 October 2018 10:13:51 Todd Zuercher wrote:

> I am trying to use a PCIe duel parallel port card and I'm having some 
> trouble with it.  It uses a Moschip 9865 according to lspci-v. I have
> 2 different breakout boards, one is a CNC4PC C10 board and it works 
> perfectly fine with this parallel port card.  The other one is one of 
> those cheap 5 axis boards targeted for Mach3.
>
Step one step up the rickety ladder that parport BoB's an replace that one with 
a Sainsmart. It has nice solid outputs w/o any opto's to screw you with making 
pwm-generators non-linear as hell, and if you have really high resolution 
encoders, the opto's in the 5 inputs are easy to trace and bypass. Well worth 
the extra 5 bucks USD.

> My problem seems to be that with Linuxcnc this parallel port card 
> defaults to a mode where none of the input pins (10,11,12,13,15) are 
> pulled up internally.  That isn't a problem with the C10 because it 
> has it's own pull ups for all the inputs.  But it is a problem on the 
> cheap board which has no pull ups on those pins.  The outputs all seem 
> to work fine.

My stuff all has pullups, but I believe the Sainsmart has its own pullups. I'm 
rigged so output true = logic 0 for everything.

> It isn't that this parallel port card can't pull up those pins.  When 
> I test the port in Windows it does pull up the input pins up to 3.3v, 
> and the cheap breakout will work there.  So there must be some magic 
> setting that can make it work.  Does anyone have a clue what it might 
> be and how to use it in Linuxcnc?

You might have to use the in-not signal from your interface card if it has such 
a critter. 
>
> I also can't seem to make the card work in X mode in Linuxcnc, which 
> makes me think that It isn't using SPP and is defaulting to EPP or ECP 
> modes.  Is there a way to try to force a parallel port into SPP mode?
> (I ask this hoping that forcing the ports into SPP will make the 
> inputs pull up.)
>
> I did see on the forum that some have worked around this problem 
> simply by adding pull ups to input pins on these cheap breakout 
> boards.  But since this parallel port is in fact capable of pulling up 
> those pins in Windows, I was hoping a way could be found to do it in 
> Linux, and thus avoid having to get out the soldering iron.
>
> Todd Zuercher
> P. Graham Dunn Inc.<http://www.pgrahamdunn.com/index.php>
> 630 Henry Street
> Dalton, Ohio 44618
> Phone:  (330)828-2105ext. 2031
>
>
> _______________________________________________
> Emc-users mailing list
> [email protected]
> https://lists.sourceforge.net/lists/listinfo/emc-users



--
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>


_______________________________________________
Emc-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/emc-users


_______________________________________________
Emc-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/emc-users

Reply via email to