USB keyboard/mouse wake up from S3

Shichun.Ma at dell.com Shichun.Ma at dell.com
Fri Jan 17 03:23:25 UTC 2020


HPS,

Here is my patch to enable USB wakeup under XHCI, I tested USB mouse/keyboard can wake up system from S3.

Thanks & Regards,

Shichun Ma
Software Engineer
Dell | Cloud Client Computing
office +86 10 82862579,  Mobile +86 13241851528
shichun_ma at dell.com



________________________________________
From: Hans Petter Selasky <hps at selasky.org>
Sent: Friday, January 10, 2020 5:41 PM
To: Ma, Horse; freebsd-usb at freebsd.org
Subject: Re: USB keyboard/mouse wake up from S3

[EXTERNAL EMAIL]

On 2020-01-10 10:24, Shichun.Ma at dell.com wrote:
> The USB wake up can still even device is detached.
> Before system enter to S3 and when detach the USB device, we can enable device's remote wake up feature.
> it can still send out the resume signal to host if it connected from hardware.
>

I think we don't do that currently. Would need a patch in the USB core.
Only during normal USB suspend / resume, not host suspend / resume.

--HPS
-------------- next part --------------
A non-text attachment was scrubbed...
Name: usb_wakeup_xhci.diff
Type: text/x-patch
Size: 5307 bytes
Desc: usb_wakeup_xhci.diff
URL: <http://lists.freebsd.org/pipermail/freebsd-usb/attachments/20200117/3298790d/attachment.bin>


More information about the freebsd-usb mailing list