are interrupt usb endpoints supported under 2.4 with the chip that is in this box?
allan On 12/17/07, fireandy <fireandy at covers.de> wrote: > Hello @ all. > > I am running latest sane-backends for OpenWRT Kamikaze > Kernel 2.4 using libusb (also from the OpenWRT package). > The scanner gets detected successfully by > sane-scanner-find. > But when I try to run scanimage -d pixma it gives me the > following: > [full log @ http://stingbyte.com/sane_debug.txt] > > [sanei_usb] sanei_usb_read_int: trying to read 16 bytes > USB error: error submitting URB: Invalid argument > [sanei_usb] sanei_usb_read_int: read failed: Invalid > argument > [...] > scanimage: sane_read: Error during device I/O > > I have seen, that there was a similiar problem reported: > http://lists.alioth.debian.org/pipermail/sane-devel/2007-March/018818.html > > There was the tip, to add a line in backend/pixma_mp150.c > like this: > pixma_sleep(1000000); /* <========== INSERT THIS LINE */ > > I did this, now the scanner runs the "full initialization" > process, means it scans the whole > bed one time and then adjusts and remains in waiting > position. > > Here the log output after editing pixma_mp150.c: > > [...] > [pixma] IN T=4.455 len=8 > [pixma] 00000000:06 06 00 00 00 00 00 00 > [pixma] > [sanei_usb] sanei_usb_write_bulk: trying to write 16 bytes > [sanei_usb] 0000: F3 20 00 00 00 00 00 00 00 00 00 00 00 > 00 00 0C . .............. > [sanei_usb] sanei_usb_write_bulk: wanted 16 bytes, wrote > 16 bytes > [pixma] OUT T=4.457 len=16 > [pixma] 00000000:f3 20 00 00 00 00 00 00 00 00 00 00 00 > 00 00 0c > [pixma] > [sanei_usb] sanei_usb_read_bulk: trying to read 20 bytes > [sanei_usb] 0000: 06 06 00 00 00 00 00 00 01 00 00 00 03 > 00 02 00 ................ > [sanei_usb] 0010: 00 21 00 D9 > .!.............. > [sanei_usb] sanei_usb_read_bulk: wanted 20 bytes, got 20 > bytes > [pixma] IN T=4.485 len=20 > [pixma] 00000000:06 06 00 00 00 00 00 00 01 00 00 00 03 > 00 02 00 > [pixma] 00000010:00 21 00 d9 > [pixma] > [pixma] Current status: paper=0 cal=0 lamp=0 busy=33 > [sanei_usb] sanei_usb_read_int: trying to read 16 bytes > USB error: error submitting URB: Invalid argument > [sanei_usb] sanei_usb_read_int: read failed: Invalid > argument > [sanei_usb] sanei_usb_read_int: trying to read 16 bytes > USB error: error submitting URB: Invalid argument > [sanei_usb] sanei_usb_read_int: read failed: Invalid > argument > [sanei_usb] sanei_usb_read_int: trying to read 16 bytes > USB error: error submitting URB: Invalid argument > [sanei_usb] sanei_usb_read_int: read failed: Invalid > argument > [sanei_usb] sanei_usb_read_int: trying to read 16 bytes > USB error: error submitting URB: Invalid argument > [sanei_usb] sanei_usb_read_int: read failed: Invalid > argument > [sanei_usb] sanei_usb_read_int: trying to read 16 bytes > [...] > [sanei_usb] sanei_usb_read_int: read failed: Invalid > argument > [sanei_usb] sanei_usb_read_int: trying to read 16 bytes > USB error: error submitting URB: Invalid argument > [sanei_usb] sanei_usb_read_int: read failed: Invalid > argument > [sanei_usb] sanei_usb_read_int: trying to read 16 bytes > USB error: error submitting URB: Invalid argument > [sanei_usb] sanei_usb_read_int: read failed: Invalid > argument > [pixma] WARNING:Timed out in wait_until_ready() > [sanei_usb] sanei_usb_write_bulk: trying to write 16 bytes > [sanei_usb] 0000: EF 20 00 00 00 00 00 00 00 00 00 00 00 > 00 00 00 . .............. > [sanei_usb] sanei_usb_write_bulk: wanted 16 bytes, wrote > 16 bytes > [pixma] OUT T=35.139 len=16 > [pixma] 00000000:ef 20 00 00 00 00 00 00 00 00 00 00 00 > 00 00 00 > [pixma] > [sanei_usb] sanei_usb_read_bulk: trying to read 8 bytes > [sanei_usb] 0000: 06 06 00 00 00 00 00 00 > ................ > [sanei_usb] sanei_usb_read_bulk: wanted 8 bytes, got 8 > bytes > [pixma] IN T=35.141 len=8 > [pixma] 00000000:06 06 00 00 00 00 00 00 > [pixma] > [sanei_usb] sanei_usb_read_int: trying to read 16 bytes > USB error: error submitting URB: Invalid argument > [sanei_usb] sanei_usb_read_int: read failed: Invalid > argument > [pixma] Reader task terminated: Connection timed out > [pixma] read_image():reader task closed the pipe:0 bytes > received, 1683840 bytes expected > scanimage: sane_read: Error during device I/O > [dll] sane_cancel(handle=0x100006a0) > [dll] sane_close(handle=0x100006a0) > [pixma] pixma_close(): Canon PIXMA MP150 > [sanei_usb] sanei_usb_close: closing device 0 > [dll] sane_exit: exiting > [dll] sane_exit: calling backend `pixma's exit function > [dll] sane_exit: finished > > So, compiling and testing would be no problem, but I don't > know really what to do next... > If somebody could help me? > > Thanks in advance > Stingbyte > > -- > 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 > -- "The truth is an offense, but not a sin"