Re: [Libusbx-devel] How to revert patches and apply patches using git

2012-05-26 Thread Tormod Volden
On Sat, May 26, 2012 at 7:16 AM, Xiaofan Chen wrote: > On Thu, May 24, 2012 at 11:39 PM, Pete Batard wrote: >> This one should work a bit better. >> > > Let me try to use this as an exercise to learn how to revert the > existing v1 patch and then apply this v2 patch. > >> On 2012.05.24 14:17, Xiaof

[Libusbx-devel] libusb-win32 driver and libusbx 1.0.14

2012-09-30 Thread Tormod Volden
Hi, I wanted to use libusb-win32 as driver for libusb-1.0 so I used Zadig to change the driver for the device from WinUSB to libusb-win32. However doing just this would fail. For instance xusb was not able to read the description strings. The logs were saying something like: libusbx: debug [libus

Re: [Libusbx-devel] Bug in get_string_descriptor?

2012-10-30 Thread Tormod Volden
On Tue, Oct 30, 2012 at 1:59 PM, Stefano Di Martino wrote: > Hi Pete, > I'm not sure, if the bug is completely fixed. > pyUSB uses a different method to retrieve the string descriptor. It's doing > it with ctrl_transfer() and the appropriate request and I'm getting an > overflow error. > I tried

Re: [Libusbx-devel] Example udev rules file

2012-10-30 Thread Tormod Volden
On Tue, Oct 30, 2012 at 7:25 PM, David Grant wrote: > Could someone with write access to the libusbx wiki add this to the > "Can I run Linux libusbx applications without root privilege?" > section? > > Example udev rules file, call it "10-libusb.rules" > SUBSYSTEM=="usb", ENV{DEVTYPE}=="usb_device"

Re: [Libusbx-devel] [pyusb-users] [Released] PyUSB 1.0.0 beta 1

2013-10-29 Thread Tormod Volden
On Tue, Oct 29, 2013 at 9:06 PM, Wander Lairson Costa wrote: > 2013/10/29 Johannes Stezenbach: >> On Tue, Oct 29, 2013 at 02:58:45PM -0200, Wander Lairson Costa wrote: >>> 2013/10/29 Johannes Stezenbach: >> We're running in cirecles... maybe I don't understand >> what the (0,0) index in cfg[(0,0)]

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