Re: [Libusbx-devel] [PATCH] WinCE post integration cleanup

2013-03-04 Thread Toby Gray
On 03/03/13 00:59, Pete Batard wrote: > Final patch for the WinCE integration (should be applied after the > previous one). > > Besides the copyright update, the main goal was to remove #ifdefs that > could be avoided, which hopefully will help improve code readability. > > This was tested on bot

Re: [Libusbx-devel] [PATCH] Simplify includes and misc. cleanup

2013-03-04 Thread Toby Gray
On 27/02/13 23:15, Pete Batard wrote: > For your consideration. This is part of the WinCE cleanup I mentioned > some time ago. Thank you for taking the time to do that. It certainly does simplify things. > > While this is impacts a whole bunch of files, but it's mostly cleanup, > and I tested c

Re: [Libusbx-devel] [PATCH] WinCE post integration cleanup

2013-03-04 Thread Pete Batard
On 2013.03.04 14:16, Toby Gray wrote: > All looks fine to me. Sorry for not getting the copyright in the right > format with the initial submission. No worries. That's minor stuff, which I also didn't pay much attention to when you submitted the patch. Regards, /Pete --

Re: [Libusbx-devel] [PATCH] Simplify includes and misc. cleanup

2013-03-04 Thread Pete Batard
On 2013.03.04 14:38, Toby Gray wrote: > Why winsock.h and not winsock2.h? Simple. I tried winsock2 and got plenty of conflicts. And since I didn't have time to invest resolving them, I went with winsock. > Does the WDK only include winsock.h? Last time I checked, I think all the Windows platform

Re: [Libusbx-devel] [PATCH] Simplify includes and misc. cleanup

2013-03-04 Thread Pete Batard
PS: I have now pushed both patches /Pete -- 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 _

Re: [Libusbx-devel] libusbx xusb example and Microsoft OS Descriptor

2013-03-04 Thread Pete Batard
On 2013.03.03 14:45, Xiaofan Chen wrote: > Indeed it works better when going back to older version. Still that > older version failed to get the Extended Properties OS Feature Descriptor. Have you tried using os_fd[i].recipient for both requests? Simply reverting the patch will not do, as there i

[Libusbx-devel] Simple USB Reset test code using libusb-1.0/libusbx

2013-03-04 Thread Xiaofan Chen
Just read this in the linux-usb list and I think this might be useful for some people here. Regards, Xiaofan - Forwarded message -- From: Felipe Balbi Date: Mon, Mar 4, 2013 at 10:35 PM Subject: Re: [PATCH] drivers/usb/gadget: beautify code, delete unused code If you want, I have