On Sun, Jan 20, 2013 at 12:06 PM, Xiaofan Chen <xiaof...@gmail.com> wrote:
> On Sun, Jan 20, 2013 at 11:37 AM, Xiaofan Chen <xiaof...@gmail.com> wrote:
>> On Fri, Jan 11, 2013 at 6:37 PM, Wander Lairson Costa
>> <wander.lair...@gmail.com> wrote:
>>>>> [1] https://github.com/walac/isochronous
>>>>>
>>>>> [2] https://github.com/walac/bmfw
>
> Then I tried to use libusbdotnet under Linux to see if the
> firmware works under Linux (libusbdotnet relies on libusb-1.0
> or libusbx under Linux). And it seems to work.
>
> And I tried your isoc program and it has the problem you
> mentioned that the read does not work.
>
> So from my test results, it seems that your host program needs
> some modification to get it work with the firmware.

One of the potential improvement to your host program
in [1] ( https://github.com/walac/isochronous) is to use
threads like this one. Even though it is Windows only and
uses libusb-win32's async API and Windows threading
functions, you may still be able to convert it to libusbx
API and posix threading.

http://sourceforge.net/p/libusb-win32/code/413/tree/branches/libusb-testing/examples/benchmark.c


-- 
Xiaofan

------------------------------------------------------------------------------
Master Visual Studio, SharePoint, SQL, ASP.NET, C# 2012, HTML5, CSS,
MVC, Windows 8 Apps, JavaScript and much more. Keep your skills current
with LearnDevNow - 3,200 step-by-step video tutorials by Microsoft
MVPs and experts. ON SALE this month only -- learn more at:
http://p.sf.net/sfu/learnmore_123012
_______________________________________________
libusbx-devel mailing list
libusbx-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/libusbx-devel

Reply via email to