Re: xhci_hcd and Canon Lide 110 not playing well together

2014-01-08 Thread Xenia Ragiadakou
On 07/01/2014 11:46 μμ, Sarah Sharp wrote: On Wed, Dec 25, 2013 at 09:51:28PM -0500, Alan Stern wrote: Okay, now we know that usb_enable_interface takes a long time. That routine does nothing but call usb_enable_endpoint, which does nothing but call usb_hcd_reset_endpoint, which calls the

Re: xhci_hcd and Canon Lide 110 not playing well together

2013-12-25 Thread Matthias Bläsing
Hey Alan, On Mo, 2013-12-23 at 15:38 -0500, Alan Stern wrote: On Mon, 23 Dec 2013, Matthias [ISO-8859-1] Blsing wrote: Looking at the strace alone, I see, that the USBDEVFS_SETCONFIGURATION ioctl calls take excessive time. You're right; those calls took an excessively long time. The

Re: xhci_hcd and Canon Lide 110 not playing well together

2013-12-25 Thread Alan Stern
On Wed, 25 Dec 2013, Matthias [ISO-8859-1] Bl�sing wrote: The slow down can be tracked to: usb_enable_interface(dev, intf, true); I springled comments like this: dev_info(dev-dev, T1\n); /* re-init hc/hcd interface/endpoint state */ for (i = 0; i

Re: xhci_hcd and Canon Lide 110 not playing well together

2013-12-23 Thread Alan Stern
On Mon, 23 Dec 2013, Matthias [ISO-8859-1] Bl�sing wrote: I went ahead and did some runs (once I was able to reproduce the general protection fault). The ehci port worked pretty fast (4 seconds from start to GUI display), the xhci port took 7s in the best case to more than one minute in the

Re: xhci_hcd and Canon Lide 110 not playing well together

2013-12-22 Thread Alan Stern
On Sun, 22 Dec 2013, Matthias [ISO-8859-1] Bl�sing wrote: To give some reference: This is Kernel 3.13.0-rc4 with both patches applied. I now see also a device, that at least works partly now (I can scan with scanimage and simple-scan, but xsane fails). I think xsane does some more complex

Re: xhci_hcd and Canon Lide 110 not playing well together

2013-12-21 Thread Holger Hans Peter Freyther
On Fri, Dec 20, 2013 at 03:41:36PM -0800, Sarah Sharp wrote: The first one fixes an issue where userspace tries to reset a USB endpoint when it's not actually halted: http://marc.info/?l=linux-usbm=138116117104619w=2 Try applying them to the latest kernel and see if they fix your issue.

Re: xhci_hcd and Canon Lide 110 not playing well together

2013-12-20 Thread Sarah Sharp
On Wed, Dec 18, 2013 at 09:59:33PM +0100, Matthias Bläsing wrote: Hey all, On Fr, 2013-12-13 at 17:53 +0100, Holger Hans Peter Freyther wrote: On Tue, May 28, 2013 at 07:40:57PM +0200, Holger Hans Peter Freyther wrote: Is there a timeline when you think this could be fixed? I

Re: xhci_hcd and Canon Lide 110 not playing well together

2013-12-18 Thread Matthias Bläsing
Hey all, On Fr, 2013-12-13 at 17:53 +0100, Holger Hans Peter Freyther wrote: On Tue, May 28, 2013 at 07:40:57PM +0200, Holger Hans Peter Freyther wrote: Is there a timeline when you think this could be fixed? I tried with 3.10.x and 3.12.5 and the symptoms remain the same. The first

Re: xhci_hcd and Canon Lide 110 not playing well together

2013-12-13 Thread Holger Hans Peter Freyther
On Tue, May 28, 2013 at 07:40:57PM +0200, Holger Hans Peter Freyther wrote: Good Evening, Is there a timeline when you think this could be fixed? I tried with 3.10.x and 3.12.5 and the symptoms remain the same. The first time it is working, the second time the scanning does not start. The

Re: xhci_hcd and Canon Lide 110 not playing well together

2013-05-28 Thread Holger Hans Peter Freyther
On Mon, Oct 22, 2012 at 10:01:04AM -0700, Sarah Sharp wrote: Good Evening, Maybe Sarah can give you some pointers on where to look next. I've asked for a physical bus trace from one of our QA folks with the same scanner. I think that will shed some light on whether this is a host-side

Re: xhci_hcd and Canon Lide 110 not playing well together

2012-10-22 Thread Sarah Sharp
On Mon, Oct 22, 2012 at 11:52:16AM -0400, Alan Stern wrote: On Sun, 21 Oct 2012, Holger Hans Peter Freyther wrote: On Mon, Oct 15, 2012 at 04:21:47PM -0400, Alan Stern wrote: Unfortunately there's nothing here to indicate the cause of the problem. Either the scanner just stopped working

Re: xhci_hcd and Canon Lide 110 not playing well together

2012-10-22 Thread Holger Hans Peter Freyther
On Mon, Oct 22, 2012 at 11:52:16AM -0400, Alan Stern wrote: On Sun, 21 Oct 2012, Holger Hans Peter Freyther wrote: Dear Alan, thanks for having a look. Did you connect the scanner to the computer with a USB-2 cable or a USB-3 cable? Not that it's supposed to matter... I used the same

Re: xhci_hcd and Canon Lide 110 not playing well together

2012-10-22 Thread Holger Hans Peter Freyther
On Mon, Oct 22, 2012 at 10:01:04AM -0700, Sarah Sharp wrote: Dear Sarah, Maybe Sarah can give you some pointers on where to look next. I've asked for a physical bus trace from one of our QA folks with the same scanner. I think that will shed some light on whether this is a host-side bug

Re: xhci_hcd and Canon Lide 110 not playing well together

2012-10-22 Thread Sarah Sharp
On Mon, Oct 22, 2012 at 09:15:09PM +0200, Holger Hans Peter Freyther wrote: On Mon, Oct 22, 2012 at 10:01:04AM -0700, Sarah Sharp wrote: Dear Sarah, Maybe Sarah can give you some pointers on where to look next. I've asked for a physical bus trace from one of our QA folks with the

xhci_hcd and Canon Lide 110 not playing well together

2012-10-15 Thread Holger Freyther
Hi, I have some severe issues with USB on a new system. This is an Acer Aspire S5 (i7, Ivybridge) and the scanner can be mostly classified as non working. Symptoms: 1.) Start a scan application (e.g. simple-scan) 2.) Scan a page 3.) Exit the app 4.) Start a scan application (e.g. simple-scan)

Re: xhci_hcd and Canon Lide 110 not playing well together

2012-10-15 Thread Alan Stern
On Mon, 15 Oct 2012, Holger Freyther wrote: Hi, I have some severe issues with USB on a new system. This is an Acer Aspire S5 (i7, Ivybridge) and the scanner can be mostly classified as non working. Symptoms: 1.) Start a scan application (e.g. simple-scan) 2.) Scan a page 3.) Exit the

Re: xhci_hcd and Canon Lide 110 not playing well together

2012-10-15 Thread Holger Freyther
Alan Stern stern@... writes: What is the bugzilla report number? it is #48801. It's notable that the pcap file does not show any data being sent from the scanner to the computer, only from the computer to the scanner. Did I use usbmom/wireshark incorrectly? The necessary support

Re: xhci_hcd and Canon Lide 110 not playing well together

2012-10-15 Thread Holger Freyther
Holger Freyther holger@... writes: Debian unstable switched to libusbx but kept the package name at libusb. I have tested this with version 1.0.12.Okay, I see that there has been some usb 3.0 changes in 1.0.13 and 1.0.14 and I am going to test again. I have tested with 38e6eb86b2 (two

Re: xhci_hcd and Canon Lide 110 not playing well together

2012-10-15 Thread Alan Stern
On Mon, 15 Oct 2012, Holger Freyther wrote: Holger Freyther holger@... writes: Debian unstable switched to libusbx but kept the package name at libusb. I have tested this with version 1.0.12.Okay, I see that there has been some usb 3.0 changes in 1.0.13 and 1.0.14 and I am going to