[sane-devel] Help with usb AGFA 1212U an libusb

Oliver Schwartz Oliver.Schwartz@gmx.de
Fri, 9 Apr 2004 00:53:38 +0200


=2D----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Hi Jose,

> I patch the code to count urb packets as suggested in:
> http://lists.alioth.debian.org/pipermail/sane-devel/2004-March/0105
>34.html and I have some success, but it don't work well absolutely.
> I think that the problem is in th count of  the urb read packets,
> and perhaps there is a better solution to make the number of
> packets even. I attach the patch.

Thanks a lot for your patch.

I'm still in doubt whether the odd number of urb packages is causing=20
the problems people are seeing with libusb. However, having no better=20
explanation I decided to apply your patch. It shouldn't hurt even if=20
the problem lies somewhere else.

I made some minor modifications to it, the resulting backend is=20
available from SANE CVS.

Regards,

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

iD8DBQFAddfz/V6sbrmfIuMRAky9AJ9kUoyeifnIs9ovJcTQkF66ePoZ+wCggbZM
p0ITK31demwDKAzNp133ov0=3D
=3DCNTg
=2D----END PGP SIGNATURE-----