Re: [Libusbx-devel] [PATCH] Add HID and kernel detach capability detection for all backends

2013-04-01 Thread Hans de Goede
Hi, On 04/01/2013 05:30 PM, Pete Batard wrote: > v2 of the infamous HID capabilities patch, now with kernel detach detection > bonus! > > I also carried over the libusb HP cap, in the unlikely event they release > anytime soon and users want to switch. > > Unless there are any objections, I will

Re: [Libusbx-devel] How libusb(x) know which interface to talk to

2013-04-01 Thread Tim Roberts
Wander Lairson Costa wrote: > You mean, I cannot have endpoint 1 both on interface 0 and interface > 1? I was not aware of that. Correct. Endpoints are global, and interfaces are just a software mechanism for collecting the endpoints into related groups. Packets on the USB wire do not have an in

Re: [Libusbx-devel] OT Right clickable .inf file for usbser.sys on Win7

2013-04-01 Thread Tim Roberts
Orin Eman wrote: > > > I didn't think right-click/Install worked for driver inf files. It > never has for me anyway. Specifically, right-click install cannot be used for plug-and-play driver packages. All that a right-click install does is run the section called [DefaultInstall]. You can copy f

Re: [Libusbx-devel] Compiler warning for the libusbx fxload example

2013-04-01 Thread Pete Batard
On 2013.03.23 12:25, Xiaofan Chen wrote: > Under Ubuntu 12.10's MinGW-w64 64bit cross compiler > (gcc 4.6.3), there is a minor warning about the fxload > example. > > ../../examples/fxload.c:67:28: warning: declaration of ‘errcode’ > shadows a global declaration [-Wshadow] Thanks for the heads up.

Re: [Libusbx-devel] [PATCH] Fix HID descriptor creation code in Windows backend

2013-04-01 Thread Pete Batard
Now pushed. Regards, /Pete -- Own the Future-Intel® Level Up Game Demo Contest 2013 Rise to greatness in Intel's independent game demo contest. Compete for recognition, cash, and the chance to get your game on Steam. $5

[Libusbx-devel] [PATCH] Add HID and kernel detach capability detection for all backends

2013-04-01 Thread Pete Batard
v2 of the infamous HID capabilities patch, now with kernel detach detection bonus! I also carried over the libusb HP cap, in the unlikely event they release anytime soon and users want to switch. Unless there are any objections, I will be pushing that patch tomorrow. Regards, /Pete >From 9

Re: [Libusbx-devel] OT Right clickable .inf file for usbser.sys on Win7

2013-04-01 Thread Kustaa Nyholm
On 1.4.2013 11.44, "Xiaofan Chen" wrote: > >I do not know much about Java but I do not quite >understand your "pure Java" terminology. Pure Java was Sun's marketing catch phrase to promote programs/programming that required not other code than Java code (besides what was included with the standa

Re: [Libusbx-devel] OT Right clickable .inf file for usbser.sys on Win7

2013-04-01 Thread Xiaofan Chen
On Mon, Apr 1, 2013 at 2:05 PM, Kustaa Nyholm wrote: > So my thinking is that the next step, if any, > for me is to move from my present CDC ACM solution, > which is (almost) driverless and requires > no native libraries with JNA and my PureJavaComm, > to a HID solution. > > HID would seem to be g