> On Wed, 29 Jul 1998, Bernd Schroeder wrote:
>
> > Good to hear that a mode exists that works for you. However, the
> > problem that the backend returns an error for bigger buffer sizes still
> > exists.
>
> No it doesn't :-))
> sane-0.74
> #define SG_BIG_BUFF 131072
>
> and I am able to scan :-))
>
> > > After that I got brave and compiled with
> > > sg.h #define SG_BIG_BUFF 512000 but
> > > it doesn't work :-((.
> >
> > To my knowledge the maximum value for SG_BIG_BUFF is 128KB - 0.5KB.
>
> Okay that's the way I have to understand the SCSI-HOWTO :-)
> + generic header as well as the command block on input. SG_BIG_BUFF can
> + be safely increased upto (131072 - 512).
> though it is 512000bytes :-)
>
> Okay, but in sane-0.74 there is no support for ScanMaker 330, but it
> is no problem.
> Here is the diff output, but I don't know how to build a patch with it.
> Perhaps someone can do it for me :-?
How to make a patch:
Copy the original sane directory recursivly:
cp -R sane-0.74 sane-0.74.old
Edit all files as needed in the sane-0.74 tree.
Create a unified diff recursivly:
diff -urN sane-0.74.old sane-0.74 > sane-0.74_mypatch
And you're set.
Hugo.
+------------------------+------------------------------+
| Hugo van der Kooij | Hugo.van.der.Kooij@caiw.nl |
| Oranje Nassaustraat 16 | http://www.caiw.nl/~hvdkooij |
| 3155 VJ Maasland | (De man met de rode hoed) |
+------------------------+------------------------------+
"Computers let you make more mistakes faster than any other invention in
human history, with the possible exception of handguns and tequila."
(Mitch Radcliffe)
-- Source code, list archive, and docs: http://www.mostang.com/sane/ To unsubscribe: echo unsubscribe sane-devel | mail majordomo@mostang.com