On Sat, Nov 23, 2013 at 3:38 AM, Kustaa Nyholm <kustaa.nyh...@planmeca.com> wrote: > Hi, > > this really OT for this list but I hope some one can > help me all the same. > > I'm writing a HIDAPI like interface but with Java > and JNA only. > > I can now enumerate the devices but when I try to > open my test HID device (a generic gamepad joystick) > I get errno 13 EACCES. > > So I guess something has grabbed the device before me. > > How can I detach the driver and still open the device? > > I tried to unbind the device but then I could not > access it at all. >
What is the OS you are concerning here? And what do you mean by "detach the driver and still open the device?" For example, under Linux, you can detach the joystick driver and then use libusb to open and operate on the device. But then the original joystick function supported by the joystick driver will be lost. -- Xiaofan ------------------------------------------------------------------------------ Shape the Mobile Experience: Free Subscription Software experts and developers: Be at the forefront of tech innovation. Intel(R) Software Adrenaline delivers strategic insight and game-changing conversations that shape the rapidly evolving mobile landscape. Sign up now. http://pubads.g.doubleclick.net/gampad/clk?id=63431311&iu=/4140/ostg.clktrk _______________________________________________ libusbx-devel mailing list libusbx-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/libusbx-devel