[sane-devel] Fujitsu 5120C

Jim McQuillan jam at McQuil.com
Tue May 30 23:31:42 UTC 2006


On Tue, May 30, 2006 5:58 pm, m. allan noah wrote:
> On Tue, 30 May 2006, Jim McQuillan wrote:
>
>> I'm trying to get a Fujitsu 5120C working with SANE.
>>
>> I've tried version 1.0.17 of the backends, and i've also tried a fresh
>> checkout from cvs today (5/30/2006).
>
> use the cvs checkout.
>
>>
>> The scanner is detected just fine under both versions of the backends.
>>
>> I'm using a SCSI interface.
>>
>> When I try to scan with the scanimage command, I get:
>>
>>   scanimage: sane_read: Invalid argument
>>
>> I turned on debugging with SANE_DEBUG_FUJITSU=128
>> and I see in the logfile:
>>
>>
>> [fujitsu] sane_get_parameters: finish
>> [fujitsu] sane_read: start
>> [fujitsu] read_from_scanner: start
>> [fujitsu] read_from_scanner: ERROR side:0 want:4203144 room:528/65536
>> doing:0
>> done:7656
>> [fujitsu] sane_read: finish
>> [fujitsu] sane_close: start
>> [fujitsu] do_cancel: start
>>
>
> hmm- the issue is that 'room:528' part. what front-end are you using, and

I'm using scanimage for my testing.

Is there something else I should try?

Ultimately, I'll be doing this with Python, but I figured I'd do my
initial testing of the scanner with scanimage.


I'll look at it later tonight, to see if another front end works.

THanks,
Jim McQuillan
jam at Ltsp.org



> why does it give us such a tiny buffer? we cannot request such a small
> piece from the scanner, we have to request whole scanlines. your scanning
> params must be such that a single line is larger than that?
>
> if you read the code, you will see this, right above that error message:
>
> /* this should never happen */
>
> which tells you something: expect the unexpected :)
>
>> So, is the fujitsu driver at a point, where I should expect the 5120C to
>> work?
>> I'm just trying to figure out if i'm looking at a driver problem, or a
>> configuration problem on my end.
>>
>
> yes- you have excellent timing, the backend has just been nearly
> completely re-written, and the 5120 should work quite well. the problem is
> your frontend. though there are some speed issues, which are hopefully
> about to be resolved...
>
> allan
> fujitsu backend maintainer
>
>> Thanks,
>> Jim McQuillan
>> jam at Ltsp.org
>>
>>
>>
>
> --
> "so don't tell us it can't be done, putting down what you don't know.
> money isn't our god, integrity will free our souls" - Max Cavalera
>
> --
> sane-devel mailing list: sane-devel at lists.alioth.debian.org
> http://lists.alioth.debian.org/mailman/listinfo/sane-devel
> Unsubscribe: Send mail with subject "unsubscribe your_password"
>              to sane-devel-request at lists.alioth.debian.org
>





More information about the sane-devel mailing list