Chris Frey wrote,
> Here's a quickie patch for version 0.6 for those not using CVS.  CVS
> contains full comments and better error reporting.
>
>
> diff -ruN barry-0.6-orig/src/usbwrap.cc barry-0.6/src/usbwrap.cc
> --- barry-0.6-orig/src/usbwrap.cc     2007-02-10 15:42:31.000000000 -0500
> +++ barry-0.6/src/usbwrap.cc  2007-03-02 17:18:40.000000000 -0500
> @@ -295,7 +295,7 @@
>  bool InterfaceDiscovery::DiscoverInterface(struct usb_interface
> *interface) {
>       if( !interface->altsetting )
> -             return false;
> +             return true;
>
>       for( int i = 0; i < interface->num_altsetting; i++ ) {
>               // load descriptor
>
>
> This should fix things for both yours and Miles' Pearl devices.

I've just tried the latest from CVS (which includes this patch), and I'm 
still seeing the hang Troy and I reported last time, although this time 
I get,

  Usb::Error caught: Timeout in usb_bulk_read

on the console after about 30secs.

Cheers,


Miles

-------------------------------------------------------------------------
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to share your
opinions on IT & business topics through brief surveys-and earn cash
http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV
_______________________________________________
Barry-devel mailing list
Barry-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/barry-devel

Reply via email to