christian_daudt@bctel.ca
Sun, 29 Mar 1998 10:24:04 -0800 (PST)
> Please include the kernel log messages that are reported when you load the
> PARIDE modules, and give us some indication of what sort of performance you
> are seeing. With a properly tuned PARIDE installation, you should be able
> to achieve close to 500KB/s transfer rates.
The performance I'm getting is around 175KB/s (test done by timing the
creation/sync of a 10MB file).
Here are the log messages when I load (using verbose=1):
paride: version 0.94 installed
paride: epat registered as protocol 0
pda: epat: port 0x3bc, mode 0, ccr ff, test=(255,255,510)
pda: epat: port 0x3bc, mode 1, ccr ff, test=(255,255,510)
pda: epat: port 0x3bc, mode 2, ccr ff, test=(255,255,510)
pda: epat: port 0x378, mode 0, ccr 0, test=(0,0,0)
pda: epat: port 0x378, mode 1, ccr 0, test=(0,0,0)
pda: epat: port 0x378, mode 2, ccr 2d, test=(255,255,510)
pda: epat: port 0x378, mode 3, ccr 40, test=(255,255,510)
pda: epat: port 0x378, mode 4, ccr 40, test=(255,255,510)
pda: epat: port 0x378, mode 5, ccr 40, test=(255,255,510)
pda: epat 0.94, Shuttle EPAT chip c6 at 0x378, using mode 1 (5/3)
pda: SyQuest SparQ, 1960560 blocks [957M], (1945/16/63), removable media
pda: pda1
Changing my BIOS config from ECP to Bi-directional made it use mode 2 as shown
here:
paride: version 0.94 installed
paride: epat registered as protocol 0
pda: epat: port 0x3bc, mode 0, ccr ff, test=(255,255,510)
pda: epat: port 0x3bc, mode 1, ccr ff, test=(255,255,510)
pda: epat: port 0x3bc, mode 2, ccr ff, test=(255,255,510)
pda: epat: port 0x378, mode 0, ccr 0, test=(0,0,0)
pda: epat: port 0x378, mode 1, ccr 0, test=(0,0,0)
pda: epat: port 0x378, mode 2, ccr 0, test=(0,0,0)
pda: epat: port 0x378, mode 3, ccr 40, test=(255,255,510)
pda: epat: port 0x378, mode 4, ccr 40, test=(255,255,510)
pda: epat: port 0x378, mode 5, ccr 40, test=(255,255,510)
pda: epat 0.94, Shuttle EPAT chip c6 at 0x378, using mode 2 (8-bit)
pda: SyQuest SparQ, 1960560 blocks [957M], (1945/16/63), removable media
pda: pda1
but the performance remained the same (175KB/s).
> If you have your parallel port configured into an ECP mode, you will
> probably get SPP performance. Check the "mode" reported when you load pd.
> You want to be in mode 5. Also, you should probably force the "delay"
> parameter to 0 when you load pd.
I tried to load mode 5, but it didn't like it:
[root /root]#insmod pd drive0=0x378,,,5,,,0
/lib/modules/2.0.33/misc/pd.o: init_module: Device or resource busy
[root /root]# insmod pd drive0=0x378,,,2,,,0
[root /root]#
But setting the delay to 0 (with the insmod pd drive0=0x378,,,2,,,0) made the
performance go up to 330KB/s
thanks for the help,
Christian.
-- 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 2.0b3 on Wed 30 Dec 1998 - 10:17:33 EST