On Thu, 16 Mar 2000, Ameet Gandhare wrote:
> Hello all,
> I am trying to write a linux parallel port driver. This driver has to
> perform following tasks.
> It will write/read a byte to parallel port on some machine rather than a
> printer. So to achieve this what changes shoud be made to the centronix
> parallel port connector/cable.
It depends on what mode you will be using. If you want to use the port in
read/write mode, you just leave the cable intact. If you want to use the
port in normal mode (which is by far the easiest to use) you have to
attach the data pins of one port, to the control and status pins of the
other. Look at
http://www.beyondlogic.org/spp/parallel.htm
for all the details one how the set it up.
It might be wise to use a somewhat different approach. The page says you
can take input on nine pins and chooses to let the ACK pin to be one of
them. You might want to free that one however, since it's the one that
generates interrupts and therefor is very useful for flow control.
> Please reply.
> Thanks in advance.
> Regards
> Ameet
>
>
> -- To unsubscribe, send mail to: linux-parport-request@torque.net --
> -- with the single word "unsubscribe" in the body of the message. --
>
>
Groeten,
Dries
-- To unsubscribe, send mail to: linux-parport-request@torque.net --
-- with the single word "unsubscribe" in the body of the message. --
This archive was generated by hypermail 2b29 : Thu Mar 16 2000 - 04:25:02 EST