7 Oct 2005 09:51
Re: Claim Interface 0
Stephan Meyer <Stephan.Meyer <at> iav.de>
2005-10-07 07:51:31 GMT
2005-10-07 07:51:31 GMT
> 4. usb_claim_interface(handle,0); <-Error > What is the exact error code? What does usb_strerror() return? > 5. usb_bulk_write(handle,endpoint,data,size,timeout); <-Error (I think > because of 4. ) > > ... > > > > > > -----Ursprüngliche Nachricht----- > Von: libusb-win32-devel-admin <at> lists.sourceforge.net > [mailto:libusb-win32-devel-admin <at> lists.sourceforge.net] Im Auftrag von > Stephan Meyer > Gesendet: Freitag, 7. Oktober 2005 09:21 > An: libusb-win32-devel <at> lists.sourceforge.net > Betreff: Re: [Libusb-win32-devel] Claim Interface 0 > > Did you select a valid configuration (through usb_set_configuration()) > before trying to claim the interface? > > Stephan > > > > Hello, > > > > I have a problem. I want to make bulk read and write commands to an > > usb device. The device has only one interface with two bulk > > endpoints (one in and one out). > > My problem is, that claim_interface() says always, Interface 0 is > > not a valid interface. > > > > I am able to send and receive control messages and descriptors. I > > only need bulk transfers to be completely happy...> > > > Why I can't claim Interface 0? Is it possible that it is a bug in > > claim_interface() ? > > > > Thank you for your help... > > > ------------------------------------------------------- > This SF.Net email is sponsored by: > Power Architecture Resource Center: Free content, downloads, discussions, > and more. http://solutions.newsforge.com/ibmarch.tmpl > _______________________________________________ > Libusb-win32-devel mailing list > Libusb-win32-devel <at> lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/libusb-win32-devel > > > > ------------------------------------------------------- > This SF.Net email is sponsored by: > Power Architecture Resource Center: Free content, downloads, discussions, > and more. http://solutions.newsforge.com/ibmarch.tmpl > _______________________________________________ > Libusb-win32-devel mailing list > Libusb-win32-devel <at> lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/libusb-win32-devel ------------------------------------------------------- This SF.Net email is sponsored by: Power Architecture Resource Center: Free content, downloads, discussions, and more. http://solutions.newsforge.com/ibmarch.tmpl
> >
> > Why I can't claim Interface 0? Is it possible that it is a bug in
> > claim_interface() ?
> >
> > Thank you for your help...
>
>
> -------------------------------------------------------
> This SF.Net email is sponsored by:
> Power Architecture Resource Center: Free content, downloads,
discussions,
> and more.
RSS Feed