Re: [linux-pm] [RESEND patch 2.6.25] ACPI uses device_may_wakeup() policy inputs

Alan Stern
2008-04-28T13:43:24Z

On Mon, 28 Apr 2008, Zhang Rui wrote:

> This may cause some "regressions", something like system resumes
> immediately after enter S3. This should rather be a driver/device
> problem which rises a wake up event when it's suspend.
> The right thing to do is to disable the wake up flag for this device.
> The patch was dropped for this reason last time it's merged and we
> should take good care of it this time. :)

Indeed, it's easy to imagine a situation where somebody suspends their
laptop and then unplugs a USB mouse, thereby causing a wakeup event.

I suspect many PCI devices should be disabled for remote wakeup during
system sleeps.

Alan Stern