Re: Svar: Re: [PARPORT] My parport LS120 slows RH52
Wed, 25 Aug 1999 10:22:00 -0400 (EDT)

> This may sound like a stupid question, but where go set the mode
> of the parallel port? I though it was in the bios, but the only
> thing I could choose between for the port was PS/2 and AT.
> I got one Dell PowerEdge 1300 (PIII450Mhz 192Mb) and one 2300
> (2xPII400Mhz 256Mb).

Ugh. Make a DOS boot floppy and get the 'testport' program from Boot to DOS and use testport to identify
your parallel port chip. If it works, and we know how to program the
chip, we may be able to work around this one. This is somewhat outside
my area - so keeping this on the mailing list may be a good idea.

> My pf runs in mode 2, whatever that is.

That's "PS/2" mode. It uses approximately two i/o cycles for every
byte transferred. On the other hand, Mode 5 uses 0.25 i/o cycles per
byte. i.e. it is 8 times faster in EPP mode.

You may be able to improve things a bit by setting the "port delay"
to zero. Check the top of the pf.c source file, but if I remember
correctly, the syntax would be something like:

        insmod pf drive0=0x378,0,0,2,0,0,0 nice=2

Beware, however, that some parallel ports will choke on delay 0. I doubt
if yours is one of those, but there is a reason why the default is 1.

> Can you help me? It's going really slow every time I use the
> drive.

Try the nice=2 in the example above.

Grant R. Guenther

-- To unsubscribe, send mail to: --
-- with the single word "unsubscribe" in the body of the message. --

This archive was generated by hypermail 2.0b3 on Wed 25 Aug 1999 - 10:24:10 EDT