Re: [PARPORT] Lava Parallel Accelerator


grant@torque.net
Tue, 19 Jan 1999 15:38:47 -0500 (EST)


> Has anyone tried the Lava PCI card that gives you a parallel port "three
> or four times the speed of a motherboard EPP port"

Ok, I went out and got one of these things. I haven't done exhaustive
testing, but here's what I've found.

It works. Here's what showed up in my /proc/pci:

  Bus 0, device 17, function 0:
    Parallel controller: Unknown vendor Unknown device (rev 0).
      Vendor id=1407. Device id=8000.
      Slow devsel. Fast back-to-back capable. IRQ 19.
      I/O at 0x6100 [0x6101].

I tried it with an EZ135 drive and paride+epat+pd. Of course, neither
parport nor paride had a clue that it was hiding up there in pci space,
but loading pd with

        insmod pd drive0=0x6100 verbose=1

gave me:

pd: pd version 1.05, major 45, cluster 64, nice 0
pda: epat: port 0x6100, mode 0, ccr 80, test=(0,0,0)
pda: epat: port 0x6100, mode 1, ccr 80, test=(0,0,0)
pda: epat: port 0x6100, mode 2, ccr 80, test=(0,0,0)
pda: epat: port 0x6100, mode 3, ccr 80, test=(0,0,0)
pda: epat: port 0x6100, mode 4, ccr 80, test=(0,0,510)
pda: epat: port 0x6100, mode 5, ccr 80, test=(0,0,510)
pda: epat 1.01, Shuttle EPAT chip c3 at 0x6100, mode 3 (EPP-8), delay 1
pda: SyQuest EZ135A, master, 262144 blocks [128M], (512/16/32), removable media
 pda: pda1

Notice that the mode 4 and mode 5 tests fail. It would seem that their
interpretation of EPP does not include 16 or 32 bit accesses. (Perhaps
there's a way to enable that.)

Then I reloaded the driver with:

        insmod pd drive0=0x6100,0,0,3,0,0,0,0

forced the delay to 0 so I could do a speed test. Reading a 4 MB file
took just over 4 seconds, so it is definitely an improvement, but perhaps
not as much as the 200% that they claimed.

Note: the 0x6100 address will vary between systems, of course. The address
is dynamically assigned. Be sure to look in /proc/pci to get the correct
address for your port.

If you want to share the port with other devices, be sure to study how to
tell parport that you have a port at a non-standard address. (But, paride
will use the port with or without parport knowing about it.)

--------------------------------------------------------------------------
Grant R. Guenther grant@torque.net
--------------------------------------------------------------------------

-- 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 Tue 19 Jan 1999 - 15:40:11 EST