[758] in linux-scsi channel archive
No subject found in mail header
daemon@ATHENA.MIT.EDU (Kenneth Stailey)
Fri Nov 3 23:50:50 1995
Date: Fri, 3 Nov 1995 19:03:11 -0500
From: Kenneth Stailey <kstailey@owl.dol-esa.gov>
To: linux-scsi@vger.rutgers.edu
CC kstailey, stefan@chekov.ktaadn.com
Subject: SCSI scanner project
Hi,
I have a project to create a multi-platform suite of scanner device
drivers for UNIX-like systems. There is a web page for the project
that explains where it's at rather nicely:
http://www.dol-esa.gov/~kstailey/pint
Also, if you download the 162K archive from
ftp://alpha.gnu.ai.mit.edu/pub/pint-0.5d.tar.gz
there are README files in the tarball that can help explain.
If you want to hear about it and cannot access either of these
locations, send me email and I can get you a copy.
In any case, I would like to write a Linux implementation of the
driver, but I have been hampered by the lack of documentation on how
to write a Linux device driver for a target-mode peripheral.
However, Drew Eckhardt has volunteered to write a short summary of how
these things work, so I should be able to ask more specific questions
when I receive this.
It is not possible to use the Linux generic SCSI driver and maintain
compatibility with other systems, at least not without a considerable
re-write due to the use of ioctl() as the way to configure the scanner
driver. For example ioctl(fd, SCIOCGET, &scan_params) will retrieve
the parameters from the device driver. I want applications written
for this driver to function across multiple platforms using the same
source code, and have been able to achieve this for AIX 3.2, SunOS 4.1
and NetBSD 1.1.
I am using Debian GNU/Linux with the 1.2.13 kernel for the Linux port.
just FYI,
~Ken