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?

Re: [Libusbx-devel] Problem with Vendor class

2013-03-07 Thread Xiaofan Chen
On Fri, Mar 8, 2013 at 4:04 AM, GORAN RADIVOJEVIC wrote: > I have a question: is ISO transfer works with libusbx or not? So far I > manage to send data but can't receive, using > https://github.com/walac/isochronous/blob/master/iso.c > source on 64bit Debian 6.0.6 with small modification for my ha

[Libusbx-devel] libusbx milestone dicussion

2013-03-07 Thread Xiaofan Chen
For 2.0 release, I think we label it as "API change only" release unless critical bug fixes are required. Let's keep it that way. I will not add any other issues to the 2.0 milestone unless there are other API changes required. https://github.com/libusbx/libusbx/issues?milestone=9&state=open After

Re: [Libusbx-devel] libusbx 1.0.15 release

2013-03-07 Thread Xiaofan Chen
On Thu, Mar 7, 2013 at 11:34 AM, Xiaofan Chen wrote: > I have removed some of the Mac OS X thingy from 1.0.15. They > are good to have but not necessary. Now only issue #83, issue #98 and issue #102 are listed under 1.0.15 milestone. https://github.com/libusbx/libusbx/issues?milestone=11&state=op

Re: [Libusbx-devel] libusbx 1.0.15 release

2013-03-07 Thread Xiaofan Chen
On Fri, Mar 8, 2013 at 8:09 AM, Pete Batard wrote: > On 2013.03.07 03:34, Xiaofan Chen wrote: >> The thing is that if I see the date being shift back, >> I tend to add new things. :-) > > Then I guess we need to communicate better. > > When I decide to move a date back, it's because I realisticall

Re: [Libusbx-devel] libusbx 1.0.15 release

2013-03-07 Thread Pete Batard
On 2013.03.07 03:34, Xiaofan Chen wrote: > The thing is that if I see the date being shift back, > I tend to add new things. :-) Then I guess we need to communicate better. When I decide to move a date back, it's because I realistically think that the work that's currently being lined up for it

Re: [Libusbx-devel] Problem with Vendor class

2013-03-07 Thread Xiaofan Chen
On Friday, March 8, 2013, Tim Roberts wrote: > GORAN RADIVOJEVIC wrote: > > > I have a question: is ISO transfer works with libusbx or not? > > Yes. > Yes under Linux and Mac OS X, no under Windows. Xiaofan -- Xiaofan ---

Re: [Libusbx-devel] Problem with Vendor class

2013-03-07 Thread Tim Roberts
GORAN RADIVOJEVIC wrote: > uC is Atmel UC3A0512. According to Atmel docs USB controller is Low/Full speed > device capable to do ISO transfer with up to 256 bytes for endpoint > (wizard created INT and BULK endpoints 64 byte and ISO 256 byte). After many > experiment I can make it work with only 6

Re: [Libusbx-devel] Problem with Vendor class

2013-03-07 Thread GORAN RADIVOJEVIC
> That's revealing. Are you quite sure that your Atmel device supports > isochronous endpoints? Which Atmel chip are you using? uC is Atmel UC3A0512. According to Atmel docs USB controller is Low/Full speed device capable to do ISO transfer with up to 256 bytes for endpoint (wizard created INT a

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

2013-03-07 Thread Hans de Goede
This fixes issue 6: "libusb_handle_events_timeout() only handles one event" https://github.com/libusbx/libusbx/issues/6 Note: untested / POC!! Signed-off-by: Hans de Goede --- libusb/os/linux_usbfs.c | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/libusb/os/linux_usbfs.c