[Libusbx-devel] libusbx minimum supported version of automake, autoconf, libtool and pthread

2012-06-04 Thread Xiaofan Chen
Just want to clarify the minimum supported version of automake, autoconf, libtool and pthread for libusbx. As per Pete, autoconf needs to be 2.50 minimum. What about automake? I think probably 1.10 should be the one to go. I do not see a problem with these two (automake 1.10 and autoconf 2.50) in

Re: [Libusbx-devel] usbdevfs: BULK_CONTINUATION flag does not work with XHCI controller

2012-06-04 Thread Sarah Sharp
On Mon, Jun 04, 2012 at 10:22:12AM -0400, Alan Stern wrote: > On Mon, 4 Jun 2012, Hans de Goede wrote: > > > >>> I'm thinking that maybe the issue is that the EREMOTEIO error gets > > >>> generated > > >>> by the driver based on the SHORT_NOT_OK flag (or so I believe), not the > > >>> hc > > >>>

Re: [Libusbx-devel] usbdevfs: BULK_CONTINUATION flag does not work with XHCI controller

2012-06-04 Thread Alan Stern
On Mon, 4 Jun 2012, Hans de Goede wrote: > >>> I'm thinking that maybe the issue is that the EREMOTEIO error gets > >>> generated > >>> by the driver based on the SHORT_NOT_OK flag (or so I believe), not the hc > >>> itself, could it be that the code doing that does not halt the ep, or > >>> hal

[Libusbx-devel] [PATCH] Add support for BOS and Endpoint Companion USB 3.0 descriptors

2012-06-04 Thread Pete Batard
And with the previous bunch of patches out of the way, we can move further on the 1.0.12 agenda, with Trac #15 [1] (or old libusb #110 [2]). If you look at section 9.6 of the USB 3.0 specs (Standard USB Descriptors), you'll see that it lists the Binary Device Object Store (BOS) and SuperSpeed

[Libusbx-devel] Latest git update

2012-06-04 Thread Pete Batard
The 4 patches proposed by Ludovic (merged into 3) as well as the toggleable debug logging one have now been pushed to git. Note that as discussed previously, the autoconf version requirement has been left to 2.50, instead of 2.68. So far my testing hasn't indicated much of an issue with that, b

Re: [Libusbx-devel] usbdevfs: BULK_CONTINUATION flag does not work with XHCI controller

2012-06-04 Thread Hans de Goede
Hi, Hmm, should have read the thread further before reply-ing to Sarah's first response. Lets continue the discussion from here as this part of the thread seems more focussed on the issue at hand. On 06/04/2012 06:22 AM, Sarah Sharp wrote: > On Fri, May 25, 2012 at 09:47:53PM -0400, Alan Stern wr

Re: [Libusbx-devel] usbdevfs: BULK_CONTINUATION flag does not work with XHCI controller

2012-06-04 Thread Sarah Sharp
On Fri, May 25, 2012 at 09:47:53PM -0400, Alan Stern wrote: > On Fri, 25 May 2012, Hans de Goede wrote: > > > > Judging by your description, there is a bug either in xhci-hcd or in > > > your xHCI hardware. What does "lspci -vv" show for the controller? > > > > 01:00.0 USB Controller: NEC Corpor

Re: [Libusbx-devel] usbdevfs: BULK_CONTINUATION flag does not work with XHCI controller

2012-06-04 Thread Sarah Sharp
On Fri, May 25, 2012 at 04:54:01PM -0400, Alan Stern wrote: > On Fri, 25 May 2012, Hans de Goede wrote: > > Here is what I believe is happening, at 2 libusb splits the > > bulk in transfer into 2 packets, 1 of 16k and 1 of 4k, setting the > > USBDEVFS_URB_SHORT_NOT_OK flag on both and the > > USBDE