Johannes Erdfelt <[EMAIL PROTECTED]> writes: > > On Sat, Sep 29, 2001, Adam Goode <[EMAIL PROTECTED]> wrote: > > Yes! I would very much like an interrupt interface to libusb, as it would > > allow me to test the iFeel force feedback code I am writing. (The iFeel > > is HID+extra interrupt endpoint). All I need is OUT. > > > > Any idea how to do this? Doesn't libusb use usbdevfs? And doesn't that lack > > support for interrupt transfers? I seem to remember problems with this > > before. > > libusb does use usbdevfs, but there is a raw urb interface to usbdevfs > which would allow us to do interrupt in and out transfers.
Hmm, when I look in devio.c (browsing CVS via sourceforge) under USBDEVFS_SUBMITURB I don't see a case for interrupt URBs. Is it possible to use bulk urbs, or are interrupt transfers unsupported? I also looked at jusb, but I just discovered it (in hindsight obviously) doesn't support interrupt transfers yet, it just has some dummy methods in place. > Not as easy as the other code, but it's not too difficult either. I'll > send out an email if I can get something hacked together this weekend. So how is it going? J�rgen -- J�rgen Stuber <[EMAIL PROTECTED]> http://www.loria.fr/~stuber/ _______________________________________________ [EMAIL PROTECTED] To unsubscribe, use the last form field at: https://lists.sourceforge.net/lists/listinfo/linux-usb-devel
