Leo- see if the attached patch will help. allan
On Sat, Mar 21, 2015 at 9:53 PM, Gaggl, Leo <l...@brightcookie.com.au> wrote: > Hi, > > I have installed sane on a RaspberryPi Model B > http://www.splitbrain.org/blog/2014-08/23-paper_backup_1_scanner_setup and > followed all steps and the scanner is recognised fine. But when I try to use > scanimage the document starts feeding but then fails with > > scanimage: sane_start: Error during device I/O > > I have been updating firmware as there were some reports that the dwc_otg > USB driver had some issues. Did you come across any issues like this ? Any > pointers would be much appreciated. Here is some more detailed debug output > > > [dll] sane_get_devices: found 1 devices > [dll] sane_open: trying to open `epjitsu:libusb:001:004' > [dll] sane_open: open successful > [dll] sane_get_option_descriptor(handle=0x1f438c0,option=0) > [dll] > sane_control_option(handle=0x1f438c0,option=0,action=0,value=0xbe81e71c,info=(nil)) > [dll] sane_get_option_descriptor(handle=0x1f438c0,option=0) > [dll] > sane_control_option(handle=0x1f438c0,option=0,action=0,value=0xbe81c670,info=(nil)) > [dll] sane_get_option_descriptor(handle=0x1f438c0,option=1) > [dll] sane_get_option_descriptor(handle=0x1f438c0,option=2) > [dll] sane_get_option_descriptor(handle=0x1f438c0,option=3) > [dll] sane_get_option_descriptor(handle=0x1f438c0,option=4) > [dll] sane_get_option_descriptor(handle=0x1f438c0,option=5) > [dll] sane_get_option_descriptor(handle=0x1f438c0,option=6) > [dll] sane_get_option_descriptor(handle=0x1f438c0,option=7) > [dll] sane_get_option_descriptor(handle=0x1f438c0,option=8) > [dll] sane_get_option_descriptor(handle=0x1f438c0,option=9) > [dll] sane_get_option_descriptor(handle=0x1f438c0,option=10) > [dll] sane_get_option_descriptor(handle=0x1f438c0,option=11) > [dll] sane_get_option_descriptor(handle=0x1f438c0,option=12) > [dll] sane_get_option_descriptor(handle=0x1f438c0,option=13) > [dll] sane_get_option_descriptor(handle=0x1f438c0,option=14) > [dll] sane_get_option_descriptor(handle=0x1f438c0,option=15) > [dll] sane_get_option_descriptor(handle=0x1f438c0,option=16) > [dll] sane_get_option_descriptor(handle=0x1f438c0,option=17) > [dll] sane_get_option_descriptor(handle=0x1f438c0,option=18) > [dll] sane_get_option_descriptor(handle=0x1f438c0,option=19) > [dll] sane_get_option_descriptor(handle=0x1f438c0,option=20) > [dll] sane_get_option_descriptor(handle=0x1f438c0,option=21) > [dll] sane_get_option_descriptor(handle=0x1f438c0,option=22) > [dll] sane_get_option_descriptor(handle=0x1f438c0,option=23) > [dll] sane_get_option_descriptor(handle=0x1f438c0,option=24) > [dll] sane_start(handle=0x1f438c0) > scanimage: sane_start: Error during device I/O > [dll] sane_cancel(handle=0x1f438c0) > [dll] sane_close(handle=0x1f438c0) > [dll] sane_exit: exiting > > Thanks in advance, > Leo > > -- > sane-devel mailing list: sane-devel@lists.alioth.debian.org > http://lists.alioth.debian.org/cgi-bin/mailman/listinfo/sane-devel > Unsubscribe: Send mail with subject "unsubscribe your_password" > to sane-devel-requ...@lists.alioth.debian.org -- "well, I stand up next to a mountain- and I chop it down with the edge of my hand"
diff --git a/backend/epjitsu.c b/backend/epjitsu.c index 5359e3b..80626da 100644 --- a/backend/epjitsu.c +++ b/backend/epjitsu.c @@ -197,7 +197,7 @@ #include "epjitsu-cmd.h" #define DEBUG 1 -#define BUILD 27 +#define BUILD 28 #ifndef MAX3 #define MAX3(a,b,c) ((a) > (b) ? ((a) > (c) ? a : c) : ((b) > (c) ? b : c)) @@ -2369,6 +2369,8 @@ sane_start (SANE_Handle handle) s->side = !s->side; } + ret = get_hardware_status(s); + /* ingest paper with adf */ if( s->source == SOURCE_ADF_BACK || s->source == SOURCE_ADF_FRONT || (s->source == SOURCE_ADF_DUPLEX && s->side == SIDE_FRONT) ){
-- sane-devel mailing list: sane-devel@lists.alioth.debian.org http://lists.alioth.debian.org/cgi-bin/mailman/listinfo/sane-devel Unsubscribe: Send mail with subject "unsubscribe your_password" to sane-devel-requ...@lists.alioth.debian.org