RE: usbcore and root-hub suspend/wakeup races

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

 



On Fri, 24 Feb 2012, Chen Peter-B29397 wrote:

> Hi Alan, I am out of office these days, will have a test once come back office.
> 
> But, our whole solution may diff with you has suggested, as we don't want suspend 
> host controller when it is sending the resume signal, it may break the hardware. 
> In our hardware (I think most of others are the same) the host resume will be sent 
> immediately once it receives device remote wakeup signal. 

There's no way to avoid it:

	A. Abort if a resume signal is being sent to any port.

	B. Suspend the root hub.

What happens if a remote wakeup request arrives between A and B,
causing a resume signal to be sent?

Alan Stern

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