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