Re: [Libusbx-devel] errno 13 EACCES when opening a HID Joystick

2013-11-26 Thread Tormod Volden
On Tue, Nov 26, 2013 at 10:34 AM, Kustaa Nyholm wrote: > I've added the following udev rules: > > nyholku@KustinLubuntu:/media/psf/Home/hidapi/linux$ cat > /etc/udev/rules.d/10-myrules.rules > SUBSYSTEM=="usb", ATTRS{idVendor}=="0810", ATTRS{idProduct}=="0005", > MODE="0666" > KERNEL=="hidraw*", AT

Re: [Libusbx-devel] errno 13 EACCES when opening a HID Joystick

2013-11-26 Thread Kustaa Nyholm
On 24/11/2013 00:58, "Xiaofan Chen" wrote: > >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 origi

Re: [Libusbx-devel] errno 13 EACCES when opening a HID Joystick

2013-11-23 Thread Xiaofan Chen
On Sat, Nov 23, 2013 at 3:38 AM, Kustaa Nyholm 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 gene