Chromebox wakes up upon shutting off external monitor with integrated USB hub |
|||
Issue descriptionThis is on 10895.56.0 (Official Build) stable-channel fizz-unibuild I have an external monitor with an integrated USB 3 hub. The Chromebox is hooked up via HDMI and USB A-to-B cable to the monitor, keyboard and mouse are connected to the monitor via USB. Repro steps: 1. Lock Chrome OS via search-alt-l, locks as expected 2. Turn off external monitor (which I'm assuming will also kill power for its integrated USB hub) Expected behavior: Chromebox remains asleep Actual behavior: Chromebox wakes up, presumably due to observing USB bus changes (the hub disappearing). Working around this is surprisingly unwieldy: I can't turn off the monitor first (no way to send the Chromebox to sleep then, the power button would cause it to shut down). Waiting until the Chromebox goes back to sleep may work, but will take 30m30s if I read the powerd log correctly. So what I'm doing for now is to request sleep via search-alt-l and then immedtiately after turn off the monitor (my guess is that the USB disconnect is then being handled before going to sleep). Feedback report with a few suspend cycles (both for the wake-on-USB-off case, and for the quickly-turn-monitor-off workaround) is at https://listnr.corp.google.com/product/208/report/85717216131 There's probably no good reason to wake up when USB devices get disconnected? We might not be able to distinguish connect from disconnect events though when deciding to wake up or not? Or maybe expose a knob to control whether wake on USB is enabled or not? Over to derat@ to triage.
,
Oct 11
+firmware folks on Fizz. I think this is related to wake on USB. May be expected.
,
Oct 12
Yes, I'm suspending via search-shift-l (shouldn't file bugs at midnight I guess :-D) I wouldn't be surprised to hear that this is WAI, just figured I'd file a bug given that the user experience in this edge case is somewhat unfortunate. If we can configure wake-on-USB to not trigger on disconnects, that'd be nice. If not, then maybe we need to consider giving users more control over wake behavior to allow disabling wake-on-USB when it gets in the way?
,
Oct 14
+igo
,
Oct 16
I think devices shouldn't wake up on USB disconnect. So, it's a bug to fix. Fizz EC doesn't enable/disable the USB-A ports on suspend. So, wake-up is controlled by the AP/PCH.
,
Dec 18
|
|||
►
Sign in to add a comment |
|||
Comment 1 by derat@chromium.org
, Oct 11Components: -OS>Systems OS>Kernel>Power
Owner: ----
Status: Untriaged (was: Unconfirmed)