USB keyboard/mouse wake up from S3

Hans Petter Selasky hps at selasky.org
Fri Jan 17 13:58:40 UTC 2020


On 2020-01-17 10:41, Hans Petter Selasky wrote:
> On 2020-01-17 04:23, Shichun.Ma at dell.com wrote:
>>
>> HPS,
>>
>> Here is my patch to enable USB wakeup under XHCI, I tested USB 
>> mouse/keyboard can wake up system from S3.
>>
> 
> Hi,
> 
> Patches look OK, with some minor nits.
> 
> Have you thought about adding EHCI/OHCI/UHCI to the wakeup matrix aswell?
> 
> How many different computers and CPU architectures has this code been 
> tested with?
> 

Also I want you to add a sysctl, hw.usb.no_wakeup, which if set, 
preserves the old behaviour.

Thank you!

--HPS



More information about the freebsd-usb mailing list