I have not yet found any other 2 port PCIe cards that use a different chip.

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

-----Original Message-----
From: Jon Elson <el...@pico-systems.com> 
Sent: Wednesday, August 29, 2018 12:37 PM
To: Enhanced Machine Controller (EMC) <emc-users@lists.sourceforge.net>
Subject: Re: [Emc-users] Parallel Port

On 08/29/2018 09:02 AM, Todd Zuercher wrote:
> An update, I tested the parallel port card in Windows and it seems to work 
> there with the supplied drivers.  The control pins will output 3v and I can 
> toggle them on/off.   So that means it must simply be a compatibility problem 
> with this card and Linuxcnc's parallel port driver.
>
> If anyone has any ideas how to fix it I'm open to suggestions.
>
>
Well, you could try a different brand of parport chip.  Or, possibly, the mode 
setting pins of the port are not set so that this is working.  But, especially 
pin 1, (strobe) HAS to work as an output for any plain printer to work.  So, 
I'm pretty mystified, unless some crazy thing in the parport driver turns off 
that driver.  Are you configuring the data pins (2-9) as input?  Maybe when the 
port has been set for input in the loadrt parport line , it sets ALL bidir pins 
for input.  That kind of makes sense.

A look at the LinuxCNC parport driver code might be instructive.
https://github.com/LinuxCNC/linuxcnc/blob/master/src/hal/drivers/hal_parport.c
I see a mysterious option "x" for direction that is described like this :
/* experimental: some parports support a bidirectional

* control port. Enable this with pins 2-9 in output mode,

* which gives a very nice 8 outs and 9 ins. */



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

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

Reply via email to