On Thu, Feb 26, 2009 at 10:41:21PM -0500, Chris Frey wrote: > On Thu, Feb 26, 2009 at 09:49:44PM -0500, Chris Frey wrote: > > I'll do a quick check with gdb on the systems I have handy. > > Yes! I've reproduced the 1ms bug in Debian Lenny in a VM. > > Now to track it down and squash it...
Turns out it is just a gdb anomaly. If you break on BulkRead(), then do a backtrace, you'll get weird numbers in the timeout field. If you step a little farther, perhaps using 'stepi' or breaking on usb_bulk_read(), the backtrace shows the right value. Indeed, if you add debugging messages to BulkRead(), the right values are printed every time, even on Debian Lenny. This looks like the patch is a valid addition. :-) Can you confirm this result is the same on your machine, Paul? - Chris ------------------------------------------------------------------------------ Open Source Business Conference (OSBC), March 24-25, 2009, San Francisco, CA -OSBC tackles the biggest issue in open source: Open Sourcing the Enterprise -Strategies to boost innovation and cut costs with open source participation -Receive a $600 discount off the registration fee with the source code: SFAD http://p.sf.net/sfu/XcvMzF8H _______________________________________________ Barry-devel mailing list Barry-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/barry-devel