Re: LibUsbK Isochronous Write C# example
Travis <[email protected]>
| Newsgroups | gmane.comp.lib.libusb.devel.windows |
|---|---|
| Message-ID | <[email protected]> |
Greetings, Ensure that you have installed the "libusbK.sys" driver with your device and not the WinUSB driver. However, if this was the problem then I would not expect the read iso example to work either. If that doesn't help, you can also install the debug version of the library and driver and use DebugView to see the messages. For instruction on this there are several posts in the archives. Regards, Travis On 8/25/2014 2:55 PM, Stephen B wrote: > Hello, > > I am trying to write isochronous data to my USB device. I tried > the xfer-iso c example but had no luck to compile it, and preferably I > want to use C# anyway. So I looked at the C# examples and found > Read.Isochronous. This compiles and works, but unfortunately there is > no Write example. > > I tried to create it myself using the c example and > the Read.Isochronous example, but with no luck yet. When writing, the > following line always returns error 50 (the request is not supported): > usb.IsoWritePipe(pipeInfo.PipeId, dataBuffer, dataBuffer.Length, > ovlkHandle, Iso.Handle); > > I also can't find any iso out packets with USBPcap. > > Does anyone have any idea what's causing this? I have attached my code > along with a descriptor report of my device. There are 5 unnecessary > endpoints from my base firmware code, but I decided to keep them in > for now to prevent causing more bugs, as my device has worked and > transferred iso data with libusb in the past. > > Thanks in advance for any help! > > Kind regards, > Stephen > > > ------------------------------------------------------------------------------ > Slashdot TV. > Video for Nerds. Stuff that matters. > http://tv.slashdot.org/ > > > _______________________________________________ > Libusb-win32-devel mailing list > [email protected] > https://lists.sourceforge.net/lists/listinfo/libusb-win32-devel ------------------------------------------------------------------------------ Slashdot TV. Video for Nerds. Stuff that matters. http://tv.slashdot.org/