Re: Unreliable USB3 with NEC uPD720200 and Delock Cardreader

2013-01-01 Thread Wojtek PIlorz
> I am having problem with Transcend USB3 cardreader (TS-RDF8W, identified > as Genesys GL3220 in dmesg output); > The system is Fedora 16 (kernel 3.6.5) on ASUS Crosshair IV Formula > motherboard > with on-board USB3 NEC > ( NEC Corporation uPD720200 USB 3.0 Host Controller (rev 03) ) > Cardr

Re: Unreliable USB3 with NEC uPD720200 and Delock Cardreader

2012-12-13 Thread Sarah Sharp
On Wed, Dec 12, 2012 at 10:32:05AM +0800, Huang Ying wrote: > Please try the patch attached. With it, USB host controller can be > waken up with USB card reader plugging in on my test machine. This patch works for me. When I enable runtime PM for both the root port and the host controller, and I

Re: Unreliable USB3 with NEC uPD720200 and Delock Cardreader

2012-12-11 Thread huang ying
On Wed, Dec 12, 2012 at 10:34 AM, Andrew Lutomirski wrote: > On Tue, Dec 11, 2012 at 6:32 PM, Huang Ying wrote: >> On Fri, 2012-12-07 at 22:00 +0100, Rafael J. Wysocki wrote: >>> On Thursday, December 06, 2012 04:28:08 PM Sarah Sharp wrote: >>> > On Thu, Dec 06, 2012 at 01:43:32AM +0100, Rafael J

Re: Unreliable USB3 with NEC uPD720200 and Delock Cardreader

2012-12-11 Thread Andrew Lutomirski
On Tue, Dec 11, 2012 at 6:32 PM, Huang Ying wrote: > On Fri, 2012-12-07 at 22:00 +0100, Rafael J. Wysocki wrote: >> On Thursday, December 06, 2012 04:28:08 PM Sarah Sharp wrote: >> > On Thu, Dec 06, 2012 at 01:43:32AM +0100, Rafael J. Wysocki wrote: >> > > On Wednesday, December 05, 2012 04:33:44

Re: Unreliable USB3 with NEC uPD720200 and Delock Cardreader

2012-12-11 Thread Huang Ying
On Fri, 2012-12-07 at 22:00 +0100, Rafael J. Wysocki wrote: > On Thursday, December 06, 2012 04:28:08 PM Sarah Sharp wrote: > > On Thu, Dec 06, 2012 at 01:43:32AM +0100, Rafael J. Wysocki wrote: > > > On Wednesday, December 05, 2012 04:33:44 PM Sarah Sharp wrote: > > > > Wakeup from D3 works fine o

Re: Unreliable USB3 with NEC uPD720200 and Delock Cardreader

2012-12-07 Thread Rafael J. Wysocki
On Thursday, December 06, 2012 04:28:08 PM Sarah Sharp wrote: > On Thu, Dec 06, 2012 at 01:43:32AM +0100, Rafael J. Wysocki wrote: > > On Wednesday, December 05, 2012 04:33:44 PM Sarah Sharp wrote: > > > Wakeup from D3 works fine on the 3.5.0 kernel, but fails on 3.6.2. I > > > haven't fully bisec

Re: Unreliable USB3 with NEC uPD720200 and Delock Cardreader

2012-12-06 Thread Sarah Sharp
On Thu, Dec 06, 2012 at 01:43:32AM +0100, Rafael J. Wysocki wrote: > On Wednesday, December 05, 2012 04:33:44 PM Sarah Sharp wrote: > > Wakeup from D3 works fine on the 3.5.0 kernel, but fails on 3.6.2. I > > haven't fully bisected yet. > > > > In debugging, I found that if you only enable runtim

Re: Unreliable USB3 with NEC uPD720200 and Delock Cardreader

2012-12-06 Thread Rafael J. Wysocki
On Thursday, December 06, 2012 03:17:14 PM Huang Ying wrote: > On Wed, 2012-12-05 at 16:33 -0800, Sarah Sharp wrote: > > On Wed, Nov 28, 2012 at 02:54:06PM -0800, Sarah Sharp wrote: > > > On Mon, Nov 26, 2012 at 10:48:03PM +0100, Bjørn Mork wrote: > > > > Sarah Sharp writes: > > > > > > > > > It

Re: Unreliable USB3 with NEC uPD720200 and Delock Cardreader

2012-12-05 Thread Huang Ying
On Wed, 2012-12-05 at 16:33 -0800, Sarah Sharp wrote: > On Wed, Nov 28, 2012 at 02:54:06PM -0800, Sarah Sharp wrote: > > On Mon, Nov 26, 2012 at 10:48:03PM +0100, Bjørn Mork wrote: > > > Sarah Sharp writes: > > > > > > > It looks like both Ulrich and Andrew have the same issue. I also have a > >

Re: Unreliable USB3 with NEC uPD720200 and Delock Cardreader

2012-12-05 Thread Rafael J. Wysocki
On Wednesday, December 05, 2012 04:33:44 PM Sarah Sharp wrote: > On Wed, Nov 28, 2012 at 02:54:06PM -0800, Sarah Sharp wrote: > > On Mon, Nov 26, 2012 at 10:48:03PM +0100, Bjørn Mork wrote: > > > Sarah Sharp writes: > > > > > > > It looks like both Ulrich and Andrew have the same issue. I also h

Re: Unreliable USB3 with NEC uPD720200 and Delock Cardreader

2012-12-05 Thread Sarah Sharp
On Wed, Nov 28, 2012 at 02:54:06PM -0800, Sarah Sharp wrote: > On Mon, Nov 26, 2012 at 10:48:03PM +0100, Bjørn Mork wrote: > > Sarah Sharp writes: > > > > > It looks like both Ulrich and Andrew have the same issue. I also have a > > > Lenovo x220, and I confirmed that when I turn on PCI runtime

Re: Unreliable USB3 with NEC uPD720200 and Delock Cardreader

2012-11-28 Thread Sarah Sharp
On Mon, Nov 26, 2012 at 10:48:03PM +0100, Bjørn Mork wrote: > Sarah Sharp writes: > > > It looks like both Ulrich and Andrew have the same issue. I also have a > > Lenovo x220, and I confirmed that when I turn on PCI runtime suspend, > > the NEC host controller does not report port status change

Re: Unreliable USB3 with NEC uPD720200 and Delock Cardreader

2012-11-26 Thread Bjørn Mork
Sarah Sharp writes: > It looks like both Ulrich and Andrew have the same issue. I also have a > Lenovo x220, and I confirmed that when I turn on PCI runtime suspend, > the NEC host controller does not report port status changes when a new > USB device is plugged in. > > I'm running 3.6.7, and I'

Re: Unreliable USB3 with NEC uPD720200 and Delock Cardreader

2012-11-08 Thread Wojtek PIlorz
Ulrich Eckhardt writes: > > Am 24.10.2012 22:18, schrieb Bjorn Helgaas: > > On Tue, Oct 23, 2012 at 11:14 AM, Ulrich Eckhardt uli-eckhardt.de> wrote: > >> Am 23.10.2012 01:40, schrieb Sarah Sharp: > >>> On Sun, Oct 21, 2012 at 06:03:24PM +0200, Ulrich Eckhardt wrote: > >> > I have tested i

Re: Unreliable USB3 with NEC uPD720200 and Delock Cardreader

2012-10-27 Thread Ulrich Eckhardt
Am 25.10.2012 20:19, schrieb Alan Stern: There's a much more straightforward way of telling when a PCI-based USB host controller gets suspended or resumed. Just enable CONFIG_USB_DEBUG; then there will appropriate lines in the dmesg log. I have compiled a Kernel 3.6.3 with enabled USB debuggi

Re: Unreliable USB3 with NEC uPD720200 and Delock Cardreader

2012-10-26 Thread Ulrich Eckhardt
Am 25.10.2012 22:11, schrieb Rafael J. Wysocki: On Thursday, October 25, 2012 07:15:58 PM Ulrich Eckhardt wrote: I have done first a cat to the control file which returns already on: uli:/ # cat /sys/devices/pci\:00/\:00\:04.0/power/control on Writing again on to the file does not chan

Re: Unreliable USB3 with NEC uPD720200 and Delock Cardreader

2012-10-25 Thread Rafael J. Wysocki
On Thursday, October 25, 2012 07:15:58 PM Ulrich Eckhardt wrote: > Am 24.10.2012 23:13, schrieb Bjorn Helgaas: > > On Wed, Oct 24, 2012 at 3:10 PM, Rafael J. Wysocki wrote: > > > >> It can be disabled by writing "on" to the controller's > >> /sys/devices/.../power/control file. > > > > Ulrich, if

Re: Unreliable USB3 with NEC uPD720200 and Delock Cardreader

2012-10-25 Thread Rafael J. Wysocki
On Wednesday, October 24, 2012 02:18:40 PM Bjorn Helgaas wrote: > On Tue, Oct 23, 2012 at 11:14 AM, Ulrich Eckhardt > wrote: > > Am 23.10.2012 01:40, schrieb Sarah Sharp: > >> On Sun, Oct 21, 2012 at 06:03:24PM +0200, Ulrich Eckhardt wrote: > > > >>> I have tested it with Kernel 3.6.2. The USB3 p

Re: Unreliable USB3 with NEC uPD720200 and Delock Cardreader

2012-10-25 Thread Alan Stern
On Thu, 25 Oct 2012, Ulrich Eckhardt wrote: > Am 25.10.2012 03:24, schrieb Ming Lei: > >> Lei, do you have any doc describing how to use those tracepoints? > > > > Hi Bjorn Helgaas, > > > > Firstly, please enable these tracepoints via below > > > >echo 1 > /sys/kernel/debug/tracing/eve

Re: Unreliable USB3 with NEC uPD720200 and Delock Cardreader

2012-10-25 Thread Ulrich Eckhardt
Am 25.10.2012 03:24, schrieb Ming Lei: Lei, do you have any doc describing how to use those tracepoints? Hi Bjorn Helgaas, Firstly, please enable these tracepoints via below echo 1 > /sys/kernel/debug/tracing/events/rpm/enable then store the trace event result by below once you ma

Re: Unreliable USB3 with NEC uPD720200 and Delock Cardreader

2012-10-25 Thread Ulrich Eckhardt
Am 24.10.2012 23:13, schrieb Bjorn Helgaas: On Wed, Oct 24, 2012 at 3:10 PM, Rafael J. Wysocki wrote: It can be disabled by writing "on" to the controller's /sys/devices/.../power/control file. Ulrich, if you boot in the working situation and write "on" to the control file as above, can you

Re: Unreliable USB3 with NEC uPD720200 and Delock Cardreader

2012-10-25 Thread Ulrich Eckhardt
Am 24.10.2012 22:18, schrieb Bjorn Helgaas: On Tue, Oct 23, 2012 at 11:14 AM, Ulrich Eckhardt wrote: Am 23.10.2012 01:40, schrieb Sarah Sharp: On Sun, Oct 21, 2012 at 06:03:24PM +0200, Ulrich Eckhardt wrote: I have tested it with Kernel 3.6.2. The USB3 port is the one built in the Mainboard

Re: Unreliable USB3 with NEC uPD720200 and Delock Cardreader

2012-10-25 Thread Bjorn Helgaas
On Wed, Oct 24, 2012 at 7:24 PM, Ming Lei wrote: > On Thu, Oct 25, 2012 at 5:31 AM, Rafael J. Wysocki wrote: > >>> I don't know how to use those. Is there a doc somewhere? >> >> I'm not sure, but let's ask the developer who added them. >> >> Lei, do you have any doc describing how to use those t

Re: Unreliable USB3 with NEC uPD720200 and Delock Cardreader

2012-10-24 Thread Ming Lei
On Thu, Oct 25, 2012 at 5:31 AM, Rafael J. Wysocki wrote: >> I don't know how to use those. Is there a doc somewhere? > > I'm not sure, but let's ask the developer who added them. > > Lei, do you have any doc describing how to use those tracepoints? Hi Bjorn Helgaas, Firstly, please enable the

Re: Unreliable USB3 with NEC uPD720200 and Delock Cardreader

2012-10-24 Thread Rafael J. Wysocki
On Wednesday 24 of October 2012 15:13:45 Bjorn Helgaas wrote: > On Wed, Oct 24, 2012 at 3:10 PM, Rafael J. Wysocki wrote: > > On Wednesday 24 of October 2012 14:18:40 Bjorn Helgaas wrote: > >> On Tue, Oct 23, 2012 at 11:14 AM, Ulrich Eckhardt > >> wrote: > >> > Am 23.10.2012 01:40, schrieb Sarah

Re: Unreliable USB3 with NEC uPD720200 and Delock Cardreader

2012-10-24 Thread Bjorn Helgaas
On Wed, Oct 24, 2012 at 3:10 PM, Rafael J. Wysocki wrote: > On Wednesday 24 of October 2012 14:18:40 Bjorn Helgaas wrote: >> On Tue, Oct 23, 2012 at 11:14 AM, Ulrich Eckhardt >> wrote: >> > Am 23.10.2012 01:40, schrieb Sarah Sharp: >> >> On Sun, Oct 21, 2012 at 06:03:24PM +0200, Ulrich Eckhardt

Re: Unreliable USB3 with NEC uPD720200 and Delock Cardreader

2012-10-24 Thread Rafael J. Wysocki
On Wednesday 24 of October 2012 14:18:40 Bjorn Helgaas wrote: > On Tue, Oct 23, 2012 at 11:14 AM, Ulrich Eckhardt > wrote: > > Am 23.10.2012 01:40, schrieb Sarah Sharp: > >> On Sun, Oct 21, 2012 at 06:03:24PM +0200, Ulrich Eckhardt wrote: > > > >>> I have tested it with Kernel 3.6.2. The USB3 por

Re: Unreliable USB3 with NEC uPD720200 and Delock Cardreader

2012-10-24 Thread Bjorn Helgaas
On Tue, Oct 23, 2012 at 11:14 AM, Ulrich Eckhardt wrote: > Am 23.10.2012 01:40, schrieb Sarah Sharp: >> On Sun, Oct 21, 2012 at 06:03:24PM +0200, Ulrich Eckhardt wrote: > >>> I have tested it with Kernel 3.6.2. The USB3 port is the one built >>> in the Mainboard M4A87DT EVO. >> >> Did a previous k

Re: Unreliable USB3 with NEC uPD720200 and Delock Cardreader

2012-10-23 Thread Bjorn Helgaas
On Mon, Oct 22, 2012 at 5:40 PM, Sarah Sharp wrote: > On Sun, Oct 21, 2012 at 06:03:24PM +0200, Ulrich Eckhardt wrote: >> Hello, >> >> I have problems to get my USB3 cardreader to work reliably when >> connected to the USB3 port. Due to lack of other USB3 devices I >> don't know if it is the cardr

Re: Unreliable USB3 with NEC uPD720200 and Delock Cardreader

2012-10-22 Thread Sarah Sharp
On Sun, Oct 21, 2012 at 06:03:24PM +0200, Ulrich Eckhardt wrote: > Hello, > > I have problems to get my USB3 cardreader to work reliably when > connected to the USB3 port. Due to lack of other USB3 devices I > don't know if it is the cardreader or the USB3 host (NEC uPD720200) > but the cardreader

Re: Unreliable USB3 with NEC uPD720200 and Delock Cardreader

2012-10-21 Thread Ulrich Eckhardt
Am 21.10.2012 18:12, schrieb Adrian Sandu: I have problems to get my USB3 cardreader to work reliably when connected to the USB3 port. Due to lack of other USB3 devices I don't know if it is the cardreader or the USB3 host (NEC uPD720200) but the cardreader always works reliable when connected to

Re: Unreliable USB3 with NEC uPD720200 and Delock Cardreader

2012-10-21 Thread Adrian Sandu
> I have problems to get my USB3 cardreader to work reliably when connected to > the USB3 port. Due to lack of other USB3 devices I don't know if it is the > cardreader or the USB3 host (NEC uPD720200) but the cardreader always works > reliable when connected to USB2. I've noticed about the same t

Unreliable USB3 with NEC uPD720200 and Delock Cardreader

2012-10-21 Thread Ulrich Eckhardt
Hello, I have problems to get my USB3 cardreader to work reliably when connected to the USB3 port. Due to lack of other USB3 devices I don't know if it is the cardreader or the USB3 host (NEC uPD720200) but the cardreader always works reliable when connected to USB2. Sometimes it is not poss