m. allan noah wrote:
> strace is not very helpful, a debug log from sane would work better.
>
> SANE_DEBUG_FUJITSU=255 scanimage 2>4120c2.log > /dev/null
>
> then look thru the log for the errors. likely will appear as blank lines.
>
> send me the section of the log right around the first error.
>
> i will try to work on it this evening, along with all the other bug 
> reports.
>
Thank you kindly. The bits surrounding the first error are below 
directly; the log up to and including the point where this occurs is in 
the attached file.

[fujitsu] do_usb_cmd: returning 0 bytes:
[fujitsu] set_mode_params: ok
[fujitsu] send
[fujitsu] send: ok
[fujitsu] object_position: load
[fujitsu] object_position
[fujitsu] 000: 31 01 00 00 00 00 00 00 00 00
[fujitsu] <cmd<
[fujitsu] 000: 31 01 00 00 00 00 00 00 00 00
[fujitsu] *** URB going out:
[fujitsu] 000: 43 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
[fujitsu] 010: 00 00 00 31 01 00 00 00 00 00 00 00 00 00 00
[fujitsu] try to write 31 bytes
[fujitsu] wrote 31 bytes
[fujitsu] *** Try to read CSW
[fujitsu] *** Read CSW
[fujitsu]
[fujitsu] do_usb_cmd: returning 0 bytes:
[fujitsu] wait_scanner
[fujitsu] test_unit_ready
[fujitsu] 000: 00 00 00 00 00 00
[fujitsu] <cmd<
[fujitsu] 000: 00 00 00 00 00 00
[fujitsu] *** URB going out:
[fujitsu] 000: 43 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
[fujitsu] 010: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
[fujitsu] try to write 31 bytes
[fujitsu] wrote 0 bytes
[fujitsu] *** Got error 9 trying to write
[fujitsu] do_usb_cmd: returning 0x00000009
[fujitsu] do_usb_cmd: returning 0 bytes:
[fujitsu] wait_scanner: unit ready failed (Error during device I/O)
[fujitsu] test_unit_ready
[fujitsu] 000: 00 00 00 00 00 00
[fujitsu] <cmd<
[fujitsu] 000: 00 00 00 00 00 00
[fujitsu] *** URB going out:
[fujitsu] 000: 43 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
[fujitsu] 010: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
[fujitsu] try to write 31 bytes
[fujitsu] wrote 0 bytes
[fujitsu] *** Got error 9 trying to write
[fujitsu] do_usb_cmd: returning 0x00000009
[fujitsu] do_usb_cmd: returning 0 bytes:
[fujitsu] wait_scanner: unit ready failed (Error during device I/O)

-------------- next part --------------
A non-text attachment was scrubbed...
Name: 4120c2.log.bz2
Type: application/octet-stream
Size: 2270 bytes
Desc: not available
Url : 
http://lists.alioth.debian.org/pipermail/sane-devel/attachments/20060215/02388924/4120c2.log-0001.obj
From an...@pfeiffer.edu  Thu Feb 16 01:05:57 2006
From: an...@pfeiffer.edu (m. allan noah)
Date: Thu Feb 16 01:07:00 2006
Subject: [sane-devel] Fi-4120C2 - USB bulk transfers failing with
        -ETIMEDOUT or -EPIPE
In-Reply-To: <43f3b58e.3010...@spamcop.net>
References: <43f39eca.2010...@spamcop.net>
        <pine.lnx.4.61.0602151714580.17...@limos.pfeiffer.edu>
        <43f3b58e.3010...@spamcop.net>
Message-ID: <pine.lnx.4.61.0602152003310.21...@limos.pfeiffer.edu>

On Wed, 15 Feb 2006, Charles Duffy wrote:

> m. allan noah wrote:
>> strace is not very helpful, a debug log from sane would work better.
>> 
>> SANE_DEBUG_FUJITSU=255 scanimage 2>4120c2.log > /dev/null
>> 
>> then look thru the log for the errors. likely will appear as blank lines.
>> 
>> send me the section of the log right around the first error.
>> 
>> i will try to work on it this evening, along with all the other bug 
>> reports.
>> 
> Thank you kindly. The bits surrounding the first error are below directly; 
> the log up to and including the point where this occurs is in the attached 
> file.
>

actually- the error is just above that, ~line 298. the mode select command 
is busted, as it combines the command and data phases into one transfer. 
they should be two. i am working to fix it now. it might help other usb 
scanner models too...

allan

Reply via email to