From owner-freebsd-hackers Sat Jun 1 01:25:24 1996 Return-Path: owner-hackers Received: (from root@localhost) by freefall.freebsd.org (8.7.5/8.7.3) id BAA19349 for hackers-outgoing; Sat, 1 Jun 1996 01:25:24 -0700 (PDT) Received: from diablo.ppp.de (diablo.ppp.de [193.141.101.34]) by freefall.freebsd.org (8.7.5/8.7.3) with SMTP id BAA19332 for ; Sat, 1 Jun 1996 01:25:19 -0700 (PDT) Received: from allegro.lemis.de by diablo.ppp.de with smtp (Smail3.1.28.1 #1) id m0uPlzo-000QaIC; Sat, 1 Jun 96 10:25 MET DST From: grog@lemis.de (Greg Lehey) Organisation: LEMIS, Schellnhausen 2, 36325 Feldatal, Germany Phone: +49-6637-919123 Fax: +49-6637-919122 Received: (grog@localhost) by allegro.lemis.de (8.6.9/8.6.9) id KAA21097; Sat, 1 Jun 1996 10:23:49 +0200 Message-Id: <199606010823.KAA21097@allegro.lemis.de> Subject: Re: Mustek/Paragon 6000CX scanner: Any help with SCSI ioctls? To: hdalog@zipnet.net Date: Sat, 1 Jun 1996 10:23:49 +0200 (MET DST) Cc: hackers@freebsd.org (FreeBSD Hackers) In-Reply-To: <199605311759.NAA06805@hda> from "Peter Dufault" at May 31, 96 01:59:54 pm X-Mailer: ELM [version 2.4 PL23] MIME-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 8bit Sender: owner-hackers@freebsd.org X-Loop: FreeBSD.org Precedence: bulk Peter Dufault writes: > >> ..., on the other hand the man pages scsi([34]) >> leave a lot to the imagination. I can probably fight my way through >> (*and* I'm prepared to fix the man pages), but if somebody has >> anything else they can point me to, I'd be very grateful. > > If you can find a scsi spec then scsi(3) will make more sense to > you, since it assumes you can figure out what the fields in the > scsi_request structure do based on familiarity with SCSI. Here is > a url for an HTML one: > > http://abekas.com:8080/SCSI2/ Thanks. I have the SCSI spec--that's not the problem. The problem is more mundane things like the meaning of the parameters to the functions. For example, what are the units of the timeout field? I'm guessing seconds, but it could well be microseconds. > It looks almost easy to port that Linux application. I thought it was a BSDI application :-) Seriously, looking at the code, I decided to clone the BSDI version rather than the Linux version, since it looked cleaner. > I'll send a sketch privately. Thanks Greg