On Tue, Feb 26, 2013 at 9:01 PM, Gert Franke <g.fra...@n-hands.de> wrote: > Hello, > > first I'd like to thank the libusbx developers for their work, in > particular for the excellent documentation. > > I am writing software for a custom USB device for Windows. The stable > version of this SW is using libusb-win32 and works fine (therefore I am > sure to use correct USB parameters). I want to try out libusbx/async > mode to increase performance. But I encountered a very basic problem > long before trying any async operation: > > After the standard device searching procedure and successfully opening > one device, usb_claim_interface fails with rc=-3 "access denied". This > is 100% reproducible. What does it mean and what can I do to avoid the > problem? > > Thank you for your help! > > Gert > > Some details on my environment: > OS: Win 7 > Lib: libusbx 1.0.14 > Driver: libusb0.sys 1.2.5.0 (tested with libusb-win32)
Take note the latest version is 1.2.6.0. But the problem should not be this. Take note libusbx support of libusb0.sys is quite experimental with multiple issues. Ref: https://github.com/libusbx/libusbx/issues?sort=created&state=open So please try libusbx.git and try WinUSB or libusbk.sys to see if that helps. libusbx.git: https://github.com/libusbx/libusbx If you want to use your existing libusb-win32 application and the new libusbx program, then you should use libusbk.sys. -- Xiaofan ------------------------------------------------------------------------------ Everyone hates slow websites. So do we. Make your web apps faster with AppDynamics Download AppDynamics Lite for free today: http://p.sf.net/sfu/appdyn_d2d_feb _______________________________________________ libusbx-devel mailing list libusbx-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/libusbx-devel