From owner-freebsd-hackers Sat Jun 1 03:16:09 1996 Return-Path: owner-hackers Received: (from root@localhost) by freefall.freebsd.org (8.7.5/8.7.3) id DAA08434 for hackers-outgoing; Sat, 1 Jun 1996 03:16:09 -0700 (PDT) Received: from hda (ip57-max1-fitch.zipnet.net [199.232.245.57]) by freefall.freebsd.org (8.7.5/8.7.3) with SMTP id DAA08415 for ; Sat, 1 Jun 1996 03:16:05 -0700 (PDT) Received: (from dufault@localhost) by hda (8.6.11/8.6.9) id GAA09923; Sat, 1 Jun 1996 06:17:58 -0400 From: Peter Dufault Message-Id: <199606011017.GAA09923@hda> Subject: Re: Mustek/Paragon 6000CX scanner: Any help with SCSI ioctls? To: grog@lemis.de (Greg Lehey) Date: Sat, 1 Jun 1996 06:17:57 -0400 (EDT) Cc: hdalog@zipnet.net, hackers@freebsd.org In-Reply-To: <199606010823.KAA21097@allegro.lemis.de> from "Greg Lehey" at Jun 1, 96 10:23:49 am Reply-to: hdalog@zipnet.net X-Mailer: ELM [version 2.4 PL24] Content-Type: text Sender: owner-hackers@freebsd.org X-Loop: FreeBSD.org Precedence: bulk > 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. Good point. It is milliseconds - your questions will be best answered in "/usr/src/lib/libscsi/scsi.c", the source for the library. It will help a lot to have someone not familiar with the code go into that man page and fill in the holes. > > 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. We must be looking at two different drivers - I did an alta vista search for "Mustek 6000CX" and got a bunch of hits for a "muscan" application. I'm looking at: > muscan-1.1.5.taz available on sunsite. It starts out: > muscan - scanner driver for Mustek Paragon 6000CX scanner > Copyright (C) 1995 Torsten Eichner The function I sent you off-list should plug right in to that app and get you debugging - maybe you can then send it on to Torsten. -- Peter Dufault Real-Time Machine Control and Simulation HD Associates, Inc. Voice: 508 433 6936 dufault@hda.com Fax: 508 433 5267