Re: [PARPORT] Parallel ZIP drive problem.

From: Tim Waugh (twaugh@redhat.com)
Date: Thu Jun 29 2000 - 05:39:58 EDT

  • Next message: Barney Dalton: "[PARPORT] Q: status of tape driver"

    On Thu, Jun 22, 2000 at 06:23:18PM -0400, Peter Roach wrote:

    > I have been trying to get my old (pre-imm) parallel ZIP drive to
    > work with a Lava PCI Dual Parallel card with absolutely no luck. The
    > ZIP drive works fine if I use the motherboard's parallel port
    > (parport0), but that is not an operational option. I can
    > successfully use an HP Laserjet II printer on parport1 or parport2
    > (the Lava ports), but not the ZIP. I am using kernel 2.2.16, and
    > have also tried the latest 2.3 beta with the same failure. When I
    > "modprobe ppa" and then "mount -t vfat /dev/sda4 /mnt/zip" I get the
    > following from dmesg:

    You might find some luck by adding this line to ppa.c (pseudo-patch,
    you'll have to do it by hand):

    @@ -690,6 +690,7 @@ static int ppa_completion(Scsi_Cmnd * cm
                    cmd->SCp.ptr = cmd->SCp.buffer->address;
                }
            }
    + udelay(100); /* PJC */
            /* Now check to see if the drive is ready to comunicate */
            r = (r_str(ppb) & 0xf0);
            /* If not, drop back down to the scheduler and wait a timer tick */

    Add that line and recompile, and let me know if it works. It probably
    won't fix the problem entirely, but it would be interesting to see.

    Thanks,
    Tim.
    */



    -- 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 Jun 29 2000 - 05:40:30 EDT