Re: [PATCH v2 2/3] usb: gadget: f_fs: add ioctl returning ep descriptor

2014-07-27 Thread Greg KH
On Mon, Jul 28, 2014 at 08:42:44AM +0200, Marek Szyprowski wrote: > Hello, > > On 2014-07-25 16:15, Michal Nazarewicz wrote: > >On Fri, Jul 25 2014, Robert Baldyga wrote: > >>This patch introduces ioctl named FUNCTIONFS_ENDPOINT_DESC, which > >>returns endpoint descriptor to userspace. It works on

Re: [PATCH v2 2/3] usb: gadget: f_fs: add ioctl returning ep descriptor

2014-07-27 Thread Marek Szyprowski
Hello, On 2014-07-25 16:15, Michal Nazarewicz wrote: On Fri, Jul 25 2014, Robert Baldyga wrote: This patch introduces ioctl named FUNCTIONFS_ENDPOINT_DESC, which returns endpoint descriptor to userspace. It works only if function is active. I would argue that user space should never need to kn

Re: [PATCH v2 2/3] usb: gadget: f_fs: add ioctl returning ep descriptor

2014-07-27 Thread Robert Baldyga
On 07/25/2014 04:15 PM, Michal Nazarewicz wrote: > On Fri, Jul 25 2014, Robert Baldyga wrote: >> This patch introduces ioctl named FUNCTIONFS_ENDPOINT_DESC, which >> returns endpoint descriptor to userspace. It works only if function >> is active. > > I would argue that user space should never nee

Re: [PATCH v2 1/3] usb: gadget: f_fs: virtual address mapping

2014-07-27 Thread Robert Baldyga
On 07/25/2014 04:18 PM, Michal Nazarewicz wrote: > On Fri, Jul 25 2014, Robert Baldyga wrote: >> This patch adds virtual endpoint address mapping to functionfs. >> >> So far endpoint addresses given by user through endpoint descriptors >> were ignored, and replaced by physical endpoint addresses. E

System Malfunction with XHCI in 3.66 rc6

2014-07-27 Thread Evan Langlois
This is likely the same problem as the one I just posted about, but with 3.16 I get call traces and my USB bus came down and I couldn't even shut down the system. I've since gone back to my usual 3.13/Ubuntu kernel. Here's what happened. A snippet from dmesg is below, if anyone wants the whole t

XHCI_TRUST_TX_LENGTH quirk?

2014-07-27 Thread Evan Langlois
Sorry if this is answered somewhere, but I couldn't find anything specific on Google as far as how to determine if this quirk is needed or if its configurable at boot/run-time. Its an HP laptop, and it looks like other HP models have the problem. I most often get this when turning on a USB TV Tu

[PATCH v5] usb-core bInterval quirk

2014-07-27 Thread James P Michels III
This patch adds a usb quirk to support devices with interupt endpoints and bInterval values expressed as microframes. The quirk causes the parse endpoint function to modify the reported bInterval to a standards conforming value. There is currently code in the endpoint parser that checks for bInter

Re: [PATCH v4] usb-core bInterval quirk

2014-07-27 Thread James Michels
I'll fix it and resubmit. There is no reason I can't get a closing brace right. Sorry. Jim On Sat, Jul 26, 2014 at 9:53 PM, Alan Stern wrote: > On Sat, 26 Jul 2014, James P Michels III wrote: > >> This patch adds a usb quirk to support devices with interupt endpoints >> and bInterval values exp