I have two parallel ports in my computer driving my SEIG KX1. The first port, 0x378, is setup to handle all the mill functions and works great.
I currently use the second port, a NetMos MCS9805CV based card at 0xdc00, to plug in my digitizing probe and drive coolant relays etc.
As I don't have a need to output anything with the second card, I want to use pins 2 - 9 as inputs from my pendant. My pendant needs a total of 7 inputs (2 for encoder A and B, 2 to select speed, 3 to select axis).
From what I've read, specifying 'in' in the hal file's port config line should allow me to use these pins as inputs.
loadrt hal_parport cfg="0x378 0xdc00 in"
However, when I fire up the hal meter and try to trip these pins, I get no action. Pins 10, 11, 12, 13, 15 all work perfectly.
Have I missed something? Is this card not capable of using 2-9 as inputs?
Thanks!
-Howard.