[Bug 218987] USB devices are not detected after Save/Restore error on Intel xHC

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

 



https://bugzilla.kernel.org/show_bug.cgi?id=218987

--- Comment #4 from Remi Pommarel (repk@xxxxxxxxxxxx) ---
Thanks for looking into this issue.

(In reply to Mathias Nyman from comment #3)
...
> Issue 2 is probably due to PORTSC not immediately showing connected devices
> after host is restarted. This is especially true for USB3 devices where
> device only shows up in PORTSC after successful link training.   

Weirdly enough this issue seems to happen only on the USB 2.0 root hub part of
the port not the USB 3.0 one. I first tried to add delay to see if my port
events showed but no luck on that. Anyway that does not matter much.

> How about a solution that is similar to your patch but doesn't touch
> pending_portevent. Instead we always resume roothubs in case xHC was reset
> during resume.
> 
> Does the oneliner below work for you?

Yes it works. While I did initially try that, I switched to pending_portevent
patch version to avoid unneeded xhci_pending_portevent() and msleep(120) calls.
But both are very fine with me.

-- 
You may reply to this email to add a comment.

You are receiving this mail because:
You are watching the assignee of the bug.




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

  Powered by Linux