Re: Mustek scanning problems

Philipp Richter (e9426459@student.tuwien.ac.at)
Sun, 13 Jul 1997 23:41:15 +0200 (MEST)

On 06-Jul-97 Mathias Weigt wrote:

>Very strange...
>I finally got my scanner working again. But I don`t know yet what the
>problem was actually. I reinstalled many libraries and recompiled sane
>every time - nothing helped. I was going to give up and suddenly it
>worked. The only thing I´ve done (that I remember) was some mounting /
>umounting filesystems. I cannot reproduce the none-working status
>either.

I had the same problem. The output from sane was

[mustek] line_distance: got factor=2, (r/g/b)=(0/5/9)
[mustek] line_distance: fixed up to factor=2, (r/g/b)=(0/5/9)
[mustek] get_image_status: bytes_per_line=5172, lines=1182
[mustek] lines_per_buffer=19, bytes_per_line=5172
[sanei_scsi] sanei_scsi_cmd: bad write (errno=Out of memory)
[mustek] reader_process: read_data failed with status=9
[mustek] read 0 bytes

i finnaly found out that my kernel had a smaller SG_BIG_BUFFER value,
than SANE because I booted the wrong kernel (not the recompiled one
with the bigger value). This caused the error because SANE tried to use
more buffer than was available.

ciao Philipp

Linux now!
--------------------------------------------------
:: SING WHILE YOU MAY - the Legendary Pink Dots ::

--
Source code, list archive, and docs: http://www.azstarnet.com/~axplinux/sane/
To unsubscribe: mail -s unsubscribe sane-devel-request@listserv.azstarnet.com