From owner-freebsd-questions Wed Jul 10 15:49:24 1996 Return-Path: owner-questions Received: (from root@localhost) by freefall.freebsd.org (8.7.5/8.7.3) id PAA23636 for questions-outgoing; Wed, 10 Jul 1996 15:49:24 -0700 (PDT) Received: from webster.telebit.com (webster.telebit.com [143.191.3.1]) by freefall.freebsd.org (8.7.5/8.7.3) with SMTP id PAA23631 for ; Wed, 10 Jul 1996 15:49:21 -0700 (PDT) Received: from Chelmsford.Telebit.COM (sharps.chelmsford.telebit.com) by webster.telebit.com (4.1/SMI-4.1/Telebit.COM-Sendmail-V4.3) id AA02630 to questions@FreeBSD.org; Wed, 10 Jul 96 18:48:44 EDT Received: from smtpgate.chelmsford.telebit.com by Chelmsford.Telebit.COM (4.1/SMI-4.1-pmm-2) id AA24459; Wed, 10 Jul 96 18:48:40 EDT Received: from ccMail by smtpgate.chelmsford.telebit.com (SMTPLINK V2.10.05) id AA837050309; Wed, 10 Jul 96 18:48:59 EST Date: Wed, 10 Jul 96 18:48:59 EST From: "Nathan Melhorn" Message-Id: <9606108370.AA837050309@smtpgate.chelmsford.telebit.com> To: questions@FreeBSD.org (general questions) Subject: Installing parallel port IOMega ZIP drive? Sender: owner-questions@FreeBSD.org X-Loop: FreeBSD.org Precedence: bulk I just got an IOMega parallel port ZIP drive (100 MEG, dismountable) and installed it on my DOS/Windows and OS/2 systems. It wasn't easy on OS/2, but it went OK. I then started to install it on my FreeBSD system. Some information sources (any others?): http://www.torque.net/zip.html {mostly Linux ->} http://www.prism.uvsq.fr/~son/ppa3.html {FreeBSD ->} http://www.prism.uvsq.fr/~son/ppa3.c {the source} This source is a port from Linux, and probably hasn't seen HEAVY use. However, I was willing to take a try. This source describes how it should be incorporated. I modified the MY_MACHINE and files.386 files and started a build. I got a compile error on ppa3.c, and had to replace all int32 with int32_t and all u_int32 with u_int32_t. It built then. First, I found that the parallel port address they'd suggested (0x278) was wrong for me, and I needed 0x378 -- which I got from an old 'dmesg' output for LPR1. Now it works. It identifies my device, and I can read it (I haven't tried writing yet, but I think it'll go). However, I find that it takes a LONG time to do the initial device probes. Since the ppa interface is SCSI-ish, I thought the SCSI_DELAY might change this. I reduced it from its original 15 seconds (it seemed MUCH longer) to 5. On reboot, probing now took about 2 minutes! I changed it back to 15 seconds. I'm stuck until I get a bright idea -- or some suggestions. I'll also be asking the author. --thanks, Nate Melhorn (n_melhor@chelmsford.telebit.com)