Re: Problem with SANE and SCSI scanner

Manuel Panea (mpd@rzg.mpg.de)
Fri, 3 Dec 1999 09:54:07 +0100

-----BEGIN PGP SIGNED MESSAGE-----

On Thu, 2 Dec 1999, Douglas Gilbert wrote:

> Things are gradually being improved. From and including
> lk 2.2.10 there is an ioctl() in sg called SG_NEXT_CMD_LEN
> that sets the length of the next SCSI command. That solves
> your immediate problem. The sg version number can be found
> with the ioctl() SG_GET_VERSION_NUM. There is an additional
> interface structure called sg_io_hdr that is being added
> to the sg driver in the linux 2.3 development tree. Abel
> Deuring <a.deuring@satzbau-gmbh.de> has developed a Mustek
> backend using it. More information about sg can be found
> at http://www.torque.net/sg .

Hi, Douglas. Thanks for your answer, things are quite clearer to me now.

Now for the backend problem at hand: I could of course do those sg ioctl's
in the backend, but that should rather be done by sane, not by the
backends. Do you perhaps know whether there are any development plans for
sane to include support for such ioctl's?

Regards,

Manuel Panea Tel. +49 89 3299 1133
Rechenzentrum Garching Fax +49 89 3299 1301
Postfach 1533 E-mail: mpd@rzg.mpg.de
85740 Garching Germany http://www.rzg.mpg.de/~mpd

-----BEGIN PGP SIGNATURE-----
Version: PGPfreeware 5.0i for non-commercial use
Charset: noconv

iQCVAwUBOEd3KYnxRMteJ3RRAQHfrgP/XBYrvF+S5L4LDm4oaUoxrnR/AJhTV70Z
JSPEoEvi5gPhbii0v1lERMXNaFwlKmRAXLte7cAv1dk+9bvnpZ3djOfJ3QtT8TK1
QMn/xWPDCTFDSA8RLO+mKVKZcjMSP+b0yLjBNOmhyuqH0gy59mvzLYG5qwLyHZkj
gocXJ8rNoDQ=
=ia6i
-----END PGP SIGNATURE-----

--
Source code, list archive, and docs: http://www.mostang.com/sane/
To unsubscribe: echo unsubscribe sane-devel | mail majordomo@mostang.com