Just have one question - how do you add suspend/resume support for DWC USB 3 controller? Where can I find the source code? Is it reusing the suspend/resume code of xhci.c? Thanks, Andiry On Tue, Aug 21, 2012 at 5:11 PM, VIKAS SAJJAN C <vikas.sajjan@xxxxxxxxxxx> wrote: > > Hi All, > > I was using the SS hub by VIA Labs,inc. > > what I found is that, there is a firmware update available for this SS HUB. > > When i went through the Release Notes, they say > USB 3.0: > Resolved issue with Intel USB 3.0 Host where devices were occasionally not properly re-enumerated after resuming from S3/S4, warm-boot, or cold boot > > http://www.via-labs.com/en/downloads/documents/VL810-Firmware-V9.5-Release-Note.pdf > > I upgraded the firmware with their tool (http://www.via-labs.com/en/support/downloads.jsp), with that , this case "USB 3.0 Device on SS hub on 3.0 port" gets resolved. > > Thanks and Regards > Vikas Sajjan > > ------- Original Message ------- > Sender : VIKAS SAJJAN C<vikas.sajjan@xxxxxxxxxxx> Technical Manager/SISO-Solution 1/Samsung Electronics > Date : Aug 20, 2012 15:53 (GMT+09:00) > Title : Re: Re: 3.0 device attached to USB 3.0 hub port doesn't respond address device command after resume > To : Andiry Xu<andiry@xxxxxxxxx> elricfu1@xxxxxxxxx linux-usb@xxxxxxxxxxxxxxx sarah.a.sharp@xxxxxxxxxxxxxxx > > > Hi , > > if i disconnect the hub, after the timeout error , i get these errors... > > [ 295.496749] hub 4-1:1.0: cannot reset port 3 (err = -71) > [ 301.507153] xhci-hcd xhci-hcd: xHCI host not responding to stop endpoint command. > [ 301.513153] xhci-hcd xhci-hcd: Assuming host is dying, halting host. > [ 301.539664] xhci-hcd xhci-hcd: HC died; cleaning up > [ 301.543196] hub 4-1:1.0: cannot reset port 3 (err = -110) > [ 301.548456] hub 4-1:1.0: cannot reset port 3 (err = -19) > [ 301.553888] PM: resume of devices complete after 159484.626 msecs > [ 301.560084] PM: Finishing wakeup. > [ 301.563121] Restarting tasks ... > [ 301.566756] usb 3-1: USB disconnect, device number 2 > [ 301.586698] usb 4-1: USB disconnect, device number 2 > [ 301.596611] done. > [ 301.601652] usb 4-1.3: USB disconnect, device number 3 > localhost user # > localhost user # > > After this 3.0 port becomes DEAD, it does not detect any attach /detach. > > even i tired with another hub, same is the issue... > > all the cases of suspend / resume works except this case, by that i mean > > 1. USB 3.0 Device on 3.0 port - Works fine. > 2. USB 3.0 Device on 2.0 port - Works fine. > 3. USB 2.0 Device on 3.0 port - Works fine. > 4. USB 2.0 Device on 2.0 port - Works fine. > 5. USB 2.0 Device on SS hub on 3.0 port - Works fine. > 6. USB 2.0 Device on 2.0 hub on 3.0 port - Works fine. > 7. USB 3.0 Device on 2.0 hub on 3.0 port - Works fine. > 8. USB 3.0 Device on SS hub on 2.0 port - Works fine. > 9. USB 3.0 Device on SS hub on 3.0 port - FAILS. > > Regards > Vikas Sajjan > > ------- Original Message ------- > Sender : Andiry Xu<andiry@xxxxxxxxx> > Date : Aug 18, 2012 21:54 (GMT+09:00) > Title : Re: 3.0 device attached to USB 3.0 hub port doesn't respond address > device command after resume > > On Sat, Aug 18, 2012 at 7:41 PM, VIKAS SAJJAN C > <vikas.sajjan@xxxxxxxxxxx> wrote: >> >> Hi All, >> >> we have added Suspend / resume code for DWC USB 3 controller and xhic-plat.c on 3.4 kernel. >> >> the scenario when i have Corsair 3.0 USB device sitting on VIA 3.0 SS hub connected to 3.0 port, >> >> after resume , i get these error >> >> 176.942208] xhci-hcd xhci-hcd: Timeout while waiting for address device command >> [ 202.152208] xhci-hcd xhci-hcd: Timeout while waiting for address device command >> [ 202.362207] usb 4-1.1: device not accepting address 3, error -62 >> [ 227.437201] xhci-hcd xhci-hcd: Timeout while waiting for address device command >> [ 252.647205] xhci-hcd xhci-hcd: Timeout while waiting for address device command >> [ 252.857201] usb 4-1.1: device not accepting address 3, error -62 >> [ 277.932206] xhci-hcd xhci-hcd: Timeout while waiting for address device command >> [ 303.142208] xhci-hcd xhci-hcd: Timeout while waiting for address device command >> [ 303.352202] usb 4-1.1: device not accepting address 3, error -62 >> >> i was referring this >> http://www.spinics.net/lists/linux-usb/msg58474.html . but then i found that i already have this patch. ( USB: Set hub depth after USB3 hub reset ) >> > > What happen if you remove the hub or try a different hub? > > Thanks, > Andiry > >> Regards >> Vikas Sajjan -- To unsubscribe from this list: send the line "unsubscribe linux-usb" in the body of a message to majordomo@xxxxxxxxxxxxxxx More majordomo info at http://vger.kernel.org/majordomo-info.html