Re: [PATCH] usb: dwc3: Fix spurious wakeup when port is on device mode

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

 



On Wed, Jan 17, 2024, Guilherme G. Piccoli wrote:
> On 16/01/2024 21:34, Thinh Nguyen wrote:
> > [...]
> > Please confirm that the STEAM DECK is soft-disconnected when you put it
> > in suspend. That's the current implementation of the dwc3. If not, then
> > it's possible the activity over the wire can wake up the STEAM DECK
> > since the controller is still active.
> > 
> 
> Hi Thinh, apologies again but I don't understand the terminology.
> 
> What do you mean by soft-disconnected? Do you have any suggestion on how
> should I check that?

That means the disconnection is initiated by the dwc3 driver. This
should happen when you put the STEAM DECK in suspend while connected to
the laptop. From your laptop, you should see the DECK is disconnected as
if the cable is unplugged.

If that did not happen, can you capture the dwc3 tracepoints to see
what's wrong?

You can follow this instruction to capture the tracepoints:
https://www.kernel.org/doc/html/latest/driver-api/usb/dwc3.html#required-information

> 
> 
> > If it is soft-disconnected, but the PME is still generated after system
> > suspend, can you check if that's also the case when physically
> > disconnected?
> >
> 
> Again, what does it mean "physically disconnected"?
> Thanks,
> 

That means to unplug the cable connected to the STEAM DECK. Put the
STEAM DECK to suspend. Check to see if it stays suspend or it would wake
up right away.

Also, in your test, the connected host (the laptop) remained ON at all
time while the STEAM DECK was tested for suspend right?

Thanks,
Thinh




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

  Powered by Linux