[sane-devel] "Error during device I/O" with Fujitsu fi65-F (epjitsu backend)

Jonas Neubert jonas.neubert at gmail.com
Fri Mar 20 17:39:37 UTC 2015


Here is the log output (with SANE_DEBUG_SANEI_USB=255) for running scanimage -L *five* times, then the tail of dmesg: https://gist.github.com/jonemo/8dc14c0c3ffdde31aeff


I ran it five times because I noticed that while the 1st and 3rd run both yield the desired output (listing the device), the first one is different from the 3rd in that the scanner does not do the initialization and this is also visible from the debug output of course. Not sure if this is expected or relevant here.


-Jonas

---- On Thu, 19 Mar 2015 13:39:49 -0700 m. allan noah<kitno455 at gmail.com> wrote ---- 

could you add SANE_DEBUG_SANEI_USB=255 to your command, and run 
scanimage -L three times? Then afterwards, can you run the command 
dmesg and look at the end of the output for any usb related messages? 
 
allan 
 
On Thu, Mar 19, 2015 at 3:51 PM, Jonas Neubert <jonas.neubert at gmail.com> wrote: 
> Both scanimage -L and scanimage --help show the same behavior: Works once, fails second time. Debug outputs: 
> 
> scanimage -L: https://gist.github.com/jonemo/c0e508baf4533d79a2ea 
> scanimage --help: https://gist.github.com/jonemo/6879f07a590d8a5f3fe2 
> 
> -Jonas 
> 
> ---- On Thu, 19 Mar 2015 05:26:34 -0700 m. allan noah<kitno455 at gmail.com> wrote ---- 
> > There have been no recent changes that would improve the situation. 
> > Can you run scanimage -L repeatedly without error? or maybe scanimage 
> > --help? 
> > 
> > allan 
> > 
> > On Thu, Mar 19, 2015 at 2:06 AM, Jonas Neubert <jonas.neubert at gmail.com> wrote: 
> > > I'm using USB2, and the git repo checkout was Monday late evening, less than an hour before I sent my last email. I already destroyed the test environment I used on Monday which is why I can't tell you the exact time or commit hash that was checked out. I can try again tomorrow morning if there have been relevant changes in the repo since Monday night. 
> > > 
> > > -Jonas 
> > > 
> > > 
> > > ---- On Wed, 18 Mar 2015 17:39:13 -0700 m. allan noah<kitno455 at gmail.com> wrote ---- 
> > > > That kind of error implies that we are having a usb problem, where 
> > > > perhaps a command is being lost, or the data toggle is not being 
> > > > reset. How old is your git repo checkout? Are you using USB 3 ports? 
> > > > 
> > > > allan 
> > > > 
> > > > On Tue, Mar 17, 2015 at 1:34 AM, Jonas Neubert <jonas.neubert at gmail.com> wrote: 
> > > > > I just did a few successful scans! The patch does indeed make the scanner work, with two caveats: 
> > > > > 
> > > > > 1) Only every other call to scanimage results in a successful scan, the 2nd, 4th, 6th, etc scan fails the same way as before. 
> > > > > 2) Even during successful scans the debug output contains an 'Error during device I/O', although I'm not sure if this is even a problem. 
> > > > > 
> > > > > Debug output from a successful scan (1st, 3rd, 5th, ... call to scanimage): https://gist.github.com/jonemo/489414e8bc5590998890 
> > > > > Debug output from an unsuccessful scan (2nd, 4th, 6th, ... call to scanimage): https://gist.github.com/jonemo/8a4cf7d13a50556b3c41 
> > > > > 
> > > > > I also tried scanning at 600dpi and it worked successfully (every other time). 
> > > > > 
> > > > > -Jonas 
> > > > > 
> > > 
> > > 
> > 
> > 
> > 
> > -- 
> > "well, I stand up next to a mountain- and I chop it down with the edge 
> > of my hand" 
> > 
> 
> 
 
 
 
-- 
"well, I stand up next to a mountain- and I chop it down with the edge 
of my hand" 





-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.alioth.debian.org/pipermail/sane-devel/attachments/20150320/188247a6/attachment.html>


More information about the sane-devel mailing list