Re: [Libusbx-devel] [PATCH] linux_usbfs: Consume all events on a fd in one go

2013-03-09 Thread Pete Batard
Pushed. Might as well find out if there are any issues with the patch from our users, especially as, at least on my end, I don't think I have anything that can test that new section of code. At least it doesn't seem to harm anything from what I could see, and the fix looks like something we wan

Re: [Libusbx-devel] [PATCH] linux_usbfs: Consume all events on a fd in one go

2013-03-08 Thread Hans de Goede
Hi, On 03/08/2013 08:26 AM, Xiaofan Chen wrote: > On Thu, Mar 7, 2013 at 7:44 PM, Hans de Goede wrote: >> This fixes issue 6: "libusb_handle_events_timeout() only handles one event" >> https://github.com/libusbx/libusbx/issues/6 >> >> Note: untested / POC!! > > Just wondering how to test this. Is

Re: [Libusbx-devel] [PATCH] linux_usbfs: Consume all events on a fd in one go

2013-03-07 Thread Xiaofan Chen
On Thu, Mar 7, 2013 at 7:44 PM, Hans de Goede wrote: > This fixes issue 6: "libusb_handle_events_timeout() only handles one event" > https://github.com/libusbx/libusbx/issues/6 > > Note: untested / POC!! Just wondering how to test this. Is it possible that you can provide a simple test program?