[sane-devel] MP730 driver broken since pixma-0.12.2

Nicolas Martin nicolas.martin at freesurf.fr
Sat Mar 21 09:32:25 UTC 2009


Seems confirmed that a usb low level error happens on first write
attempt:

[sanei_usb] sanei_usb_write_bulk: trying to write 10 bytes
[sanei_usb] 000 F3 20 00 00 00 00 00 00 0C
00                   . ........      
USB error: error submitting URB: Device or resource busy
[sanei_usb] sanei_usb_write_bulk: write failed: Device or resource busy
USB error: could not clear/halt ep 1: Device or resource busy
[pixma] WARNING:pixma_write(): count(0) != len(10)

I remember having seen this before for someone else, this happened when
the usb port was going to power saving (generally after a few seconds)

Could it be the case on system ?

Nicolas



Le samedi 21 mars 2009 à 11:41 +1100, Wade Fitzpatrick a écrit :
> My god. Did I spam the list with the same message over and over again?
> I'm sorry if I did. I was using Thunderbird-3.0beta1 so it must have
> real issues.
> 
> I have attached the logfile as requested. I will also start snooping
> from Windows.
> 
> Cheers,
> Wade.
> 
> 2009/3/21 Nicolas Martin <nicolas.martin at freesurf.fr>:
> >
> > Apparently failing on first usb write attempt, so something wrong with libusb
> > or low level usb communication (this portion of code is common to all PIXMA
> > devices).
> >
> > Could you add all usb logs :
> >
> > $ export SANE_DEBUG_SANEI_USB=255
> > $ export SANE_DEBUG=255
> > $ export SANE_DEBUG_PIXMA=21
> > $ scanimage -T  2> /tmp/logfile
> >
> > Zip and send back the /tmp/logfile
> >
> > Nicolas
> >
> >
> >
> >
> >
> > Wade Fitzpatrick-2 wrote:
> >>
> >> Thanks for the responses. I thought 0.13.1 was the latest as there is
> >> nothing on the website that mentions later drivers in CVS.
> >>
> >> Even with the CVS version, it still does not work, but note now the EIO
> >> occurs when attempting to send the time.
> >>
> >>
> >> sanei_usb_write_bulk (dn=0, buffer=0x60e940 "ó ", size=0x407fff10) at
> >> sanei_usb.c:2157
> >> 2157      if (debug_level > 10)
> >> (gdb)
> >> 2160      if (devices[dn].method == sanei_usb_method_scanner_driver)
> >> (gdb)
> >> 2168      else if (devices[dn].method == sanei_usb_method_libusb)
> >> (gdb)
> >> 2171          if (devices[dn].bulk_out_ep)
> >> (gdb)
> >> 2173              write_size = usb_bulk_write (devices[dn].libusb_handle,
> >> (gdb)
> >> 2177              if (write_size < 0)
> >> (gdb)
> >> 2178                DBG (1, "sanei_usb_write_bulk: write failed: %s\n",
> >> (gdb) p write_size
> >> $1 = -16
> >>
> >>
> >>
> >> Suggestions on where to go from here?
> >>
> >> Thanks,
> >> Wade.
> >>
> >
> >
> > --
> > View this message in context: http://www.nabble.com/MP730-driver-broken-since-pixma-0.12.2-tp22608126p22626009.html
> > Sent from the SANE - Dev mailing list archive at Nabble.com.
> >
> >
> > --
> > 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





More information about the sane-devel mailing list