[sane-devel] Problems with libusb and Snapscan 1236U (maybe similar to others): USB dump

Oliver Schwartz Oliver.Schwartz at gmx.de
Thu Mar 4 23:31:17 GMT 2004


-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Hi,

> With libusb? I don't think so. But counting packets works fine.
> I've implemented it in the mustek_usb backend now and (at least for
> me) there are no more timeouts.

I have to admit this is a bit above my head. How do I know how many 
urbs are sent / received if I do a bulk transfer? It seems you're 
using an estimate in mustek_usb, but how do you know how many bytes 
you're transferring in one urb? Even if I find out this number for my 
scanner model, how would I know if it is correct for all other 
scanner modules the backend supports?

I must say I quite dislike the whole idea of making an estimate on the 
number of urbs in the backend. Shouldn't this be handled in libusb 
directly? 

- -Oliver
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.2.2-rc1-SuSE (GNU/Linux)

iD8DBQFAR7xI/V6sbrmfIuMRAg5GAJ9ky6jFbZB+zSNAfIcRZeiZHF4MmACfS9WL
2JW+s6/V/olouLUDEBm0PGE=
=zCYL
-----END PGP SIGNATURE-----




More information about the sane-devel mailing list