Ok, thanks, I'm going to take a look over the code as I'm interested in helping out if possible & gaining some familiarity.
The list bounced the last message due to the attachement size being over the 100k limit, so I've temporarily put the USB trace at http://www.appliedrealtime.co.uk/tmp/USBLog1_MF4660.zip Steve 2009/1/18 Nicolas Martin <nicolas.martin at freesurf.fr> > Thanks for the log, this will be very helpful, as I'm just figuring out > there's something weird with the dd20 (select_source) message, the > length is one byte too long (but it apparently used to work with the > MF4270, MF4140 and MF4150), so I really need to review that with Dennis > (did not discuss with him yet) before proposing a change. > > Will keep you posted anyway. > > Nicolas > > Le dimanche 18 janvier 2009 ? 12:24 +0000, Steve Hardy a ?crit : > > Great, thanks. > > > > I have not had time to do any analysis yet, but I have taken a snoop > > trace under windows as you suggested (zipped trace attached). > > > > One additional bit of info is that the scanner would not work under > > windows until I power-cycled it, similar to Linux, printer said > > "scanning mode" but the applications found it unresponsive. > > > > I guess this means the sane initialisation messages must be wrong, as > > it appears the scanner ends up in a funny state after attempting to > > use it on Linux? > > > > The trace attached captures the following actions > > - Plug in the USB to the printer > > - Press the "Scan" button on the device > > - Open the Canon MF toolbox application to perform a scan > > - Initiate a scan from software (not via the printer button) > > - Scan one blank page > > - Stop and save snoop trace > > > > Thanks, > > > > Steve > > > > > > > > 2009/1/18 Nicolas Martin <nicolas.martin at freesurf.fr> > > Thanks for this log, will review it with Dennis Lou, who wrote > > the > > ImageClass part of the pixma backend, and will keep you > > posted. > > > > Seems like it is always failing on the select_source message, > > maybe the > > scanner does not expect it as is, and this may require to get > > a Windows > > snoop trace (using SnoopyPro, this is very easy to do), to > > check if some > > protocol messages are different for this MFP. > > > > Nicolas > > > > > > Le dimanche 18 janvier 2009 ? 09:39 +0000, Steve Hardy a > > ?crit : > > > > > Ok, so I've taken the more detailed logs : > > > > > > $ scanimage -L > > > device `pixma:04A926B0_4175H0007854' is a CANON Canon > > imageCLASS > > > MF4690 multi-function peripheral > > > $ export SANE_DEBUG_PIXMA=10 > > > $ export SANE_DEBUG_SANEI_USB=255 > > > $ export SANE_DEBUG=255 > > > $ export SANE_DEBUG_PIXMA=21 > > > $ scanimage -T 2> /tmp/sane_dbg_log_mf4660_01.txt > > > > > > As observed before, it appears that the initial writes are > > working > > > (since the scanner is getting set to "Scanning Mode" > > according to the > > > front panel display), but the reads are all timing out : > > > > > > [sanei_usb] sanei_usb_write_bulk: trying to write 10 bytes > > > [sanei_usb] 000 DB 20 00 00 00 00 00 00 00 > > > 00 . ........ > > > [sanei_usb] sanei_usb_write_bulk: wanted 10 bytes, wrote 10 > > bytes > > > [pixma] OUT T=3.474 len=10 > > > [pixma] 00000000:db 20 00 00 00 00 00 00 00 00 > > > [pixma] > > > [sanei_usb] sanei_usb_read_bulk: trying to read 2 bytes > > > [sanei_usb] 000 06 06 > > .. > > > [sanei_usb] sanei_usb_read_bulk: wanted 2 bytes, got 2 bytes > > > [pixma] IN T=3.510 len=2 > > > [pixma] 00000000:06 06 > > > [pixma] > > > [sanei_usb] sanei_usb_write_bulk: trying to write 21 bytes > > > [sanei_usb] 000 DD 20 00 00 00 00 00 00 0B 00 01 00 00 00 00 > > > 00 . .............. > > > [sanei_usb] 010 00 00 00 00 FF > > ..... > > > [sanei_usb] sanei_usb_write_bulk: wanted 21 bytes, wrote 21 > > bytes > > > [pixma] OUT T=3.510 len=21 > > > [pixma] 00000000:dd 20 00 00 00 00 00 00 0b 00 01 00 00 00 > > 00 00 > > > [pixma] 00000010:00 00 00 00 ff > > > [pixma] > > > [sanei_usb] sanei_usb_read_bulk: trying to read 2 bytes > > > [sanei_usb] sanei_usb_read_bulk: read returned EOF > > > [pixma] BUG:Unmapped SANE Status code 5 > > > [pixma] IN T=3.513 len=-9 > > > [pixma] ERROR: ETIMEDOUT > > > [pixma] > > > > -- Steve Hardy Applied Realtime Systems Limited www.appliedrealtime.co.uk Tel : 0845 8678251 Fax : 0845 8678241 -------------- next part -------------- An HTML attachment was scrubbed... URL: http://lists.alioth.debian.org/pipermail/sane-devel/attachments/20090118/6e52c713/attachment.htm