Re: Mouse works with eHCI, fails with xHCI - can't set config #1, error -110

2015-04-20 Thread Alistair Grant
On Tue, Apr 14, 2015 at 10:52:21AM -0400, Alan Stern wrote: On Tue, 14 Apr 2015, Alistair Grant wrote: Hi Mathias and Alan, As Mathias requested, I've included the usbmon output with the patch applied. It didn't make any difference to the end result, the mouse still fails

Re: Mouse works with eHCI, fails with xHCI - can't set config #1, error -110

2015-04-14 Thread Alistair Grant
On Mon, Apr 13, 2015 at 04:24:50PM -0400, Alan Stern wrote: On Mon, 13 Apr 2015, Mathias Nyman wrote: Another difference between EHCI and xHCI iss that xHCI needs to reset (the host side) of a control endpoint if it stalled. From xHCI 1.0 4.8.3: A STALL detected on any stage

Re: Mouse works with eHCI, fails with xHCI - can't set config #1, error -110

2015-04-10 Thread Alistair Grant
Hi Alan, On Fri, Apr 10, 2015 at 7:23 PM, Alan Stern st...@rowland.harvard.edu wrote: On Fri, 10 Apr 2015, Alistair Grant wrote: On Fri, Apr 10, 2015 at 5:29 PM, Alan Stern st...@rowland.harvard.edu wrote: On Fri, 10 Apr 2015, Alistair Grant wrote: ... i.e. the mouse works reliably

Re: xhci_hcd error Transfer event TRB DMA ptr not part of current TD ep_index 8 comp_code 1

2015-03-26 Thread Alistair Grant
On Mon, Mar 23, 2015 at 10:14 PM, Devin Heitmueller dheitmuel...@kernellabs.com wrote: My guess would be that there's some bug in the cx231xx that exacerbates an edge case in the XHCI core - like prematurely setting the USB alternate back to zero when stopping streaming and not canceling all

Re: xhci_hcd error Transfer event TRB DMA ptr not part of current TD ep_index 8 comp_code 1

2015-03-23 Thread Alistair Grant
Hi Devin, On Mon, Mar 23, 2015 at 8:16 PM, Devin Heitmueller dheitmuel...@kernellabs.com wrote: Hi Alistair, There are some small differences in packet ordering, however the first major difference is an isochronous in packet where the Live2 returns URB status: No such file or directory

xhci_hcd error Transfer event TRB DMA ptr not part of current TD ep_index 8 comp_code 1

2015-03-23 Thread Alistair Grant
Hi Mathias Devin, I've changed the subject to avoid any confusion with the patch series that Mathias just posted for inclusion in 4.0-rc. On Tue, Mar 17, 2015 at 4:21 PM, Alistair Grant akgrant0...@gmail.com wrote: It looks like I may have signed-off a little too soon. While the patch

Re: [PATCH v2 1/1] usb: xhci: apply XHCI_AVOID_BEI quirk to all Intel xHCI controllers

2015-03-16 Thread Alistair Grant
On Mon, Mar 16, 2015 at 1:55 PM, Mathias Nyman mathias.ny...@linux.intel.com wrote: On 15.03.2015 21:18, Alistair Grant wrote: On Sun, Mar 15, 2015 at 3:54 PM, Alistair Grant akgrant0...@gmail.com wrote: On Thu, Mar 12, 2015 at 8:14 PM, Alistair Grant akgrant0...@gmail.com wrote: On Thu

Re: [PATCH v2 1/1] usb: xhci: apply XHCI_AVOID_BEI quirk to all Intel xHCI controllers

2015-03-16 Thread Alistair Grant
On Mon, Mar 16, 2015 at 3:47 PM, Mathias Nyman mathias.ny...@intel.com wrote: On 16.03.2015 16:31, Alistair Grant wrote: On Mon, Mar 16, 2015 at 1:55 PM, Mathias Nyman mathias.ny...@linux.intel.com wrote: On 15.03.2015 21:18, Alistair Grant wrote: On Sun, Mar 15, 2015 at 3:54 PM, Alistair

Re: [PATCH v2 1/1] usb: xhci: apply XHCI_AVOID_BEI quirk to all Intel xHCI controllers

2015-03-15 Thread Alistair Grant
On Thu, Mar 12, 2015 at 8:14 PM, Alistair Grant akgrant0...@gmail.com wrote: On Thu, Mar 12, 2015 at 11:15 AM, Lu Baolu baolu...@linux.intel.com wrote: When a device with an isochronous endpoint is plugged into the Intel xHCI host controller, and the driver submits multiple frames per URB

Re: [PATCH v3 1/1] usb: xhci: apply XHCI_AVOID_BEI quirk to all Intel xHCI controllers

2015-03-15 Thread Alistair Grant
-off-by: Lu Baolu baolu...@linux.intel.com Tested-by: Alistair Grant akgrant0...@gmail.com Tested-by: Devin Heitmueller dheitmuel...@kernellabs.com Cc: sta...@vger.kernel.org ... As a workaround until this makes it to the various distributions, would it be possible to create a config file

Re: [PATCH v2 1/1] usb: xhci: apply XHCI_AVOID_BEI quirk to all Intel xHCI controllers

2015-03-15 Thread Alistair Grant
On Sun, Mar 15, 2015 at 3:54 PM, Alistair Grant akgrant0...@gmail.com wrote: On Thu, Mar 12, 2015 at 8:14 PM, Alistair Grant akgrant0...@gmail.com wrote: On Thu, Mar 12, 2015 at 11:15 AM, Lu Baolu baolu...@linux.intel.com wrote: When a device with an isochronous endpoint is plugged

Re: [PATCH v2 1/1] usb: xhci: apply XHCI_AVOID_BEI quirk to all Intel xHCI controllers

2015-03-12 Thread Alistair Grant
for me... Computer: Dell XPS13 9333 USB controller: Intel Corporation 8 Series USB xHCI HC (rev 04) (prog-if 30 [XHCI]) Kernel: 3.19.1 USB Device: Hauppauge USB-Live2 Please let me know if I can help in any other way. Tested-by: Alistair Grant akgrant0...@gmail.com Thanks! Alistair

Re: Control message failures kill entire XHCI stack

2015-03-05 Thread Alistair Grant
Hi Mathias, On Thu, Mar 5, 2015 at 4:25 PM, Mathias Nyman mathias.ny...@linux.intel.com wrote: On 04.03.2015 15:27, Alistair Grant wrote: On Tue, Mar 3, 2015 at 8:40 PM, Alistair Grant akgrant0...@gmail.com wrote: On Tue, Mar 3, 2015 at 2:21 PM, Mathias Nyman mathias.ny...@linux.intel.com

Re: Control message failures kill entire XHCI stack

2015-03-04 Thread Alistair Grant
Hi Mathias, On Tue, Mar 3, 2015 at 8:40 PM, Alistair Grant akgrant0...@gmail.com wrote: Hi Mathias, On Tue, Mar 3, 2015 at 2:21 PM, Mathias Nyman mathias.ny...@linux.intel.com wrote: On 28.02.2015 09:16, Alistair Grant wrote: ... * 3.19.0 with the following patches: * xhci: Allocate

Re: Control message failures kill entire XHCI stack

2015-03-03 Thread Alistair Grant
Hi Mathias, On Tue, Mar 3, 2015 at 2:21 PM, Mathias Nyman mathias.ny...@linux.intel.com wrote: On 28.02.2015 09:16, Alistair Grant wrote: ... * 3.19.0 with the following patches: * xhci: Allocate correct amount of scratchpad buffers * xhci: Don't touch TRBs memory if those are no longer

Re: Control message failures kill entire XHCI stack

2015-02-27 Thread Alistair Grant
Hi Mathias Devin, On Thu, Feb 19, 2015 at 3:18 PM, Mathias Nyman mathias.ny...@linux.intel.com wrote: Got one more patch added to the for-usb-next-branch. It makes sure we allocate enough scratchpad memory for xhci. It's one possible cause. Patch will anyway go to 3.20, but you can try it

Re: Control message failures kill entire XHCI stack

2015-02-04 Thread Alistair Grant
Hi Mathias, On Wed, Feb 4, 2015 at 5:26 PM, Mathias Nyman mathias.ny...@linux.intel.com wrote: On 27.01.2015 00:20, Alistair Grant wrote: I've come across what appears to be another xHCI issue - attempting to format a disk with gparted is causing a kernel Oops. This may not be related

Re: Control message failures kill entire XHCI stack

2015-01-26 Thread Alistair Grant
On Mon, Jan 26, 2015 at 4:37 AM, Devin Heitmueller dheitmuel...@kernellabs.com wrote: Hi Mathias, Here's an interesting development: as a result of a related thread on linux-media, I came across a patch they are distributing in openelec:

Re: Control message failures kill entire XHCI stack

2015-01-26 Thread Alistair Grant
I've come across what appears to be another xHCI issue - attempting to format a disk with gparted is causing a kernel Oops. This may not be related to the issue you're currently investigating, but wanted to pass it on in case it is (if it isn't let me know and I'll either keep quiet or raise it

Re: Control message failures kill entire XHCI stack

2015-01-22 Thread Alistair Grant
Hi Matthias, On Thu, Jan 22, 2015 at 12:22 PM, Mathias Nyman mathias.ny...@linux.intel.com wrote: On 21.01.2015 21:16, Alistair Grant wrote: Hi Matthias, On Tue, Jan 20, 2015 at 10:22 AM, Mathias Nyman mathias.ny...@linux.intel.com wrote: On 19.01.2015 22:02, Devin Heitmueller wrote: Hi

Re: Control message failures kill entire XHCI stack

2015-01-21 Thread Alistair Grant
Hi Matthias, On Tue, Jan 20, 2015 at 10:22 AM, Mathias Nyman mathias.ny...@linux.intel.com wrote: On 19.01.2015 22:02, Devin Heitmueller wrote: Hi Mathias, Thanks for getting back to me. There are a couple of xhci bugs triggered by dvb devices: