|
From: Stephan M. <ste...@we...> - 2007-06-26 16:40:34
|
Why do you think that a max transfer size of 65536 (0x10000) is wrong? This number must be an integer multiple of common endpoint buffer sizes (8, 64, 512, 1024). If it would be 0x10000 - 1 then transfers >= 0x10000 bytes won't work any more. Stephan > > > I fixed set_configuration() which I found to be broken. The > max transfer size on the pipes was being set to 65536 instead of 65535. > Attached is the header file in which I changed a #define from 65536 to 65535. > Also attached is a version of pnp.c with the set_configuration() call > uncommented. Please forgive the formatting on pnp.c. I had to format it with > by code beautifier in order to follow the code. I will be 40 next month and I > am starting to become near-sighted. > > > > > > Best Regards, > > > > > > Rob Krakora > > > Software Engineer > > > Delphi Electronics > & Safety > > > e-mail: rob...@de... > > > phone: 765-451-8574 > > > > > ----------------------------------------------------------------- > ------------------------------------------------------------------------- > This SF.net email is sponsored by DB2 Express > Download DB2 Express C - the FREE version of DB2 express and take > control of your XML. No limits. Just data. Click to get it now. > http://sourceforge.net/powerbar/db2/ > > ----------------------------------------------------------------- > _______________________________________________ > Libusb-win32-devel mailing list > Lib...@li... > https://lists.sourceforge.net/lists/listinfo/libusb-win32-devel > _____________________________________________________________________ Der WEB.DE SmartSurfer hilft bis zu 70% Ihrer Onlinekosten zu sparen! http://smartsurfer.web.de/?mc=100071&distributionid=000000000066 |