> > > I just found why my scanner refused to do it's job. The problem was buffer size
> > > value in
> > > /usr/include/scsi/sg.h file. I've put there incorrect value and it causes sane
> > > to
> > > print "out of memory" error in log file.
> > >
> > > Now everything works just ok. :)
> > >
> > >
> >
> > ;-)
> >
> > Fine.
>
> Well, unfortunately I have overestimated my success. :(
> As for today, scanner works fine only at 150 dpi and
> lower resolutions. At 300 dpi it stalls when saving
> image or sending it to the GIMP. I suppose it is again
> SG_BIG_BUF problem. What are the reasonable values for
> this value to be compliled in kernel and sane?
>
If you want to try again:
edit
/usr/include/scsi/sg.h
AND
/usr/src/linux/include/scsi/sg.h
and changed SG_BIG_BUF to 131072
Then recompile and INSTALL the kernel, reboot
and recompile SANE
Bye
Oliver
-- Homepage: http://www.wolfsburg.de/~rauch sane-umax: http://www.wolfsburg.de/~rauch/sane/sane-umax.html xsane: http://www.wolfsburg.de/~rauch/sane/sane-xsane.html E-Mail: mailto:Oliver.Rauch@Wolfsburg.DE
-- Source code, list archive, and docs: http://www.mostang.com/sane/ To unsubscribe: echo unsubscribe sane-devel | mail majordomo@mostang.com