[sane-devel] Problem with libusb and 64 bits 2.6.25 kernel

Nicolas nicolas.martin at freesurf.fr
Tue May 27 19:29:34 UTC 2008


Le lundi 26 mai 2008 à 19:12 -0400, m. allan noah a écrit :
> two random thoughts-
> 
> 1. can he try 32 bit kernel on same exact machine, just to rule out
> hardware problems?

Good point, and to try other USB ports on the same machine, that needs
to be confirmed first as it could be a HW issue

> 2. is there a pattern to the timeouts, like always same number of
> errors before a good packet?

It looks to be a repetitive pattern, i.e. error occurs on a second
"read" sequence when reading image data, but occurs also sometimes with
smaller transaction control messages (write message, then read response
immediately).
I've asked to give a try with a small tempo between two successive image
data readings, but do not have feedback yet.

Thanks 

Nicolas


> allan
> 
> On 5/26/08, Nicolas <nicolas.martin at freesurf.fr> wrote:
> > Sam V. posted recently a bug report with a 64 bits kernel, running the
> >  pixma backend and a MF-4270 Canon MFP.
> >
> >  Details here:
> >
> >  https://alioth.debian.org/tracker/?group_id=30186&atid=410366&func=detail&aid=310861
> >
> >  He has the pixma backend running fine with a 32 bits kernel (same
> >  version as 64 bits) in same conditions.
> >
> >  On a 64 bits 2.6.25 kernel (Fedora 9) or 2.6.24 (Ubuntu), the logs show
> >  that sometimes (but not always, that's why scanning finally works, but
> >  takes very long time), there appears to be a:
> >
> >  "Resource temporarily unavailable"
> >
> >  error for read calls, from either sanei_usb_read_int() or
> >  sanei_usb_read_bulk(). They are triggered by usb_bulk_read() or
> >  usb_interrupt_read() calls from libusb.
> >
> >  This error induces the timeouts, thus long scanning time.
> >
> >  There do not appear to be errors on write calls (this would make
> >  scanning fail).
> >
> >  I don't know what could cause this libusb error for the 64 bits kernel ?
> >
> >  Anyone here already experienced this, or would have a clue ?
> >
> >  Nicolas
> >
> >
> >
> >  --
> >  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"
> 




More information about the sane-devel mailing list