|
From: Stephan M. <ste...@we...> - 2007-04-10 20:14:12
|
> Hi there, > > > > Is there a table of the function's return values? The error code are defined in errno.h. -5 means EIO (i/o error) > > > > I'm using a test board that has four devices with the same characteristics, such as vendor and product > ids, number of and address of endpoints, and all others. But when I try to use more than two of these > devices, I get a -5 error from the function usb_set_configuration() on the third device (after accessing > writing and reading from the other two). This could be either a power or bandwidth problem. Windows will refuse to configure the devices of they request too much power or bandwidth. What's the bMaxPower value of your device's config descriptor? Are your four devices connected to a bus-powered or to a self-powered hub? Do your devices have interrupt or isochronous endpoints? Stephan > > > > Does anyone know what might be happening? Thanks in advance. > > > > Dan Leite Martins > > ----------------------------------------------------------------- > ------------------------------------------------------------------------- > 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 > > ----------------------------------------------------------------- > _______________________________________________ > Libusb-win32-devel mailing list > Lib...@li... > https://lists.sourceforge.net/lists/listinfo/libusb-win32-devel > _______________________________________________________________ SMS schreiben mit WEB.DE FreeMail - einfach, schnell und kostenguenstig. Jetzt gleich testen! http://f.web.de/?mc=021192 |