Re: xhci: suspend/resume issues

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Thu, Nov 18, 2010 at 09:38:12AM -0500, Don Zickus wrote:
> On Thu, Nov 18, 2010 at 04:21:35PM +0800, Xu, Andiry wrote:
> > > >
> > > > I'll send you the simple patch in a few.
> > > 
> > > Ok.  Thanks for all your help.  I'll wait for your patches and try and
> > > test them quickly.
> > > 
> > 
> > 
> > Don,
> > 
> > Can you specify the model of your Buffalo USB3.0 HDD?
> > I've tried a Buffalo HD-HXU3 1.0TB USB3.0 HDD, using 2.6.37-rc1 and
> 
> I have a Buffalo HD-HX1.0TU3 HDD.  It seems to be the same as yours.

But device descriptors are misleading.  If the firmware inside the
device is different, one may have hardware issues and the other may not.
Some vendors may have released USB devices out to the market before they
passed USB-IF compliance, and perhaps Andiry got a certified device and
you didn't.

> > force the host controller to re-initialize during S3 resume. Here is the
> > message of the USB3.0 HDD shows during resume:
> 
> How do you 'force' the host controller to re-initialize?

Just a guess, but Andiry probably means changing the if statement in
xhci_resume() from:

                temp = xhci_readl(xhci, &xhci->op_regs->status);
        }

        /* If restore operation fails, re-initialize the HC during resume */
        if ((temp & STS_SRE) || hibernated) {

to

                temp = STS_SRE;
        }

        /* If restore operation fails, re-initialize the HC during resume */
        if ((temp & STS_SRE) || hibernated) {

Sarah Sharp
--
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


[Index of Archives]     [Linux Media]     [Linux Input]     [Linux Audio Users]     [Yosemite News]     [Linux Kernel]     [Linux SCSI]     [Old Linux USB Devel Archive]

  Powered by Linux