On Fri, Mar 8, 2013 at 4:04 AM, GORAN RADIVOJEVIC <yt7...@open.telekom.rs> wrote: > I have a question: is ISO transfer works with libusbx or not? So far I > manage to send data but can't receive, using > https://github.com/walac/isochronous/blob/master/iso.c > source on 64bit Debian 6.0.6 with small modification for my hardware. > Callback gives write confirmation (64 bytes per packet) but for receive > ipd->actual_length is always zero.
Maybe you want to posted the debug log. You can set LIBUSB_DEBUG=4 and then run the iso program again to get the debug log. > Example is written for PIC18 (not sure exact model) but should be > universal? The example firmware should not matter. You can also try the libusbK windows program (kbench) to check if your firmware is correct or not. And you can use libusbdotnet under Linux as well to test your isoc firmware. libusbdotnet under Linux uses libusb-1.0/libusbx as the underlying library. libusbdtonet can uses WinUSB API, or libusb-win32 API or libusb-1.0/libusbx API under Windows. But as mentioned, libusb-1.0/libusbx do not support isochronous transfer under Windows. And libusb-win32's support of isochronous transfer is not good. So you probably would not get good result when using libusbdotnet under Windows to work with isochronous transfer. -- Xiaofan ------------------------------------------------------------------------------ Symantec Endpoint Protection 12 positioned as A LEADER in The Forrester Wave(TM): Endpoint Security, Q1 2013 and "remains a good choice" in the endpoint security space. For insight on selecting the right partner to tackle endpoint security challenges, access the full report. http://p.sf.net/sfu/symantec-dev2dev _______________________________________________ libusbx-devel mailing list libusbx-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/libusbx-devel