On Thu, Jan 3, 2013 at 4:04 PM, Mohamed HAMZAOUI <requin...@gmail.com> wrote: > My device is a CAN/LIN - USB interface, i use the gadget zero pid/vid > just for testing, after that i'll buy another vid/pid.
Okay. Actually there are VID/PIDs specially for testing purpose. > I'm not the first one who detect this problem, I have found in libusb > mailing list the same problem but the discussion is not complete : > http://www.mail-archive.com/libusbx-devel@lists.sourceforge.net/msg01543.html In that thread, libusbx-1.0.12 works, maybe you want to try that version to see if that helps. > My OS is Windows 7 32bits, I tested the program on 3 machines (all > with win7 32bit) but the problem persist. > It's possible that the embedded soft in usb card causes the problem ? > because in my program example, there is just open close open ! I think it is unlikely that the firmware is the issue here. It would be good that you try 1.0.12 to see if that helps. Do you have other applications accessing your device at the same time? Yet another thing, you may want to switch driver to libusbk.sys (using Zadig) to see if that helps. https://github.com/libusbx/libusbx/wiki/Windows-Backend#wiki-Known_Restrictions WinUSB does not support multiple concurrent applications (as per the MSDN documentation). http://msdn.microsoft.com/en-us/library/windows/hardware/ff540215.aspx -- 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_122712 _______________________________________________ libusbx-devel mailing list libusbx-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/libusbx-devel