powerd's DisplayService SetPower D-Bus calls to Chrome fail |
||
Issue descriptionChrome Version: scarlet R67-10502.0.0 OS: Chrome OS What steps will reproduce the problem? (1) Press Power Button while logged in (user or guest) What is the expected result? Display turns off, and the panel disable function is called in the kernel. What happens instead? Display goes black (and backlight turns off), but the disable function isn't called in the kernel. The display logic still consumes power as a result. from chrome log: [3856:3870:0328/215214.108642:WARNING:exported_object.cc(216)] Unknown method: message_type: MESSAGE_METHOD_CALL destination: org.chromium.DisplayService path: /org/chromium/DisplayService interface: org.chromium.DisplayServiceInterface member: SetPower sender: :1.3 signature: i serial: 917 int32_t 1 [3856:3870:0328/215214.769122:WARNING:exported_object.cc(216)] Unknown method: message_type: MESSAGE_METHOD_CALL destination: org.chromium.DisplayService path: /org/chromium/DisplayService interface: org.chromium.DisplayServiceInterface member: SetPower sender: :1.3 signature: i serial: 921 int32_t 0 [3856:3870:0328/215215.926479:WARNING:exported_object.cc(216)] Unknown method: message_type: MESSAGE_METHOD_CALL destination: org.chromium.DisplayService path: /org/chromium/DisplayService interface: org.chromium.DisplayServiceInterface member: SetPower sender: :1.3 signature: i serial: 929 int32_t 1 [3856:3870:0328/215217.217853:WARNING:exported_object.cc(216)] Unknown method: message_type: MESSAGE_METHOD_CALL destination: org.chromium.DisplayService path: /org/chromium/DisplayService interface: org.chromium.DisplayServiceInterface member: SetPower sender: :1.3 signature: i serial: 933 int32_t 0 [3856:3870:0328/215218.488843:WARNING:exported_object.cc(216)] Unknown method: message_type: MESSAGE_METHOD_CALL destination: org.chromium.DisplayService path: /org/chromium/DisplayService interface: org.chromium.DisplayServiceInterface member: SetPower sender: :1.3 signature: i serial: 941 int32_t 1 [3856:3870:0328/215219.625100:WARNING:exported_object.cc(216)] Unknown method: message_type: MESSAGE_METHOD_CALL destination: org.chromium.DisplayService path: /org/chromium/DisplayService interface: org.chromium.DisplayServiceInterface member: SetPower sender: :1.3 signature: i serial: 946 int32_t 0 I see the disable function getting called in the kernel when Chrome restarts or when I switch to/from Frecon.
,
Mar 30 2018
The following revision refers to this bug: https://chromium.googlesource.com/chromium/src.git/+/27176aa4e56676b11df15ffb12611e32c2d2be03 commit 27176aa4e56676b11df15ffb12611e32c2d2be03 Author: Daniel Erat <derat@chromium.org> Date: Fri Mar 30 00:53:25 2018 chromeos: Export display power D-Bus methods for mus. chrome_browser_main_chromeos.cc was only initializing the DisplayPowerServiceProvider class, which exports the SetPower method for the org.chromium.DisplayService D-Bus service, for ash::Config::CLASSIC. We appear to be using ash::Config::MUS now. Initialize the provider for everything besides ash::Config::MASH instead. Bug: 827026 Change-Id: Ic444682d63ff40a762f80b859d1a4795149e4d60 Reviewed-on: https://chromium-review.googlesource.com/987106 Reviewed-by: Scott Violet <sky@chromium.org> Commit-Queue: Dan Erat <derat@chromium.org> Cr-Commit-Position: refs/heads/master@{#547047} [modify] https://crrev.com/27176aa4e56676b11df15ffb12611e32c2d2be03/chrome/browser/chromeos/chrome_browser_main_chromeos.cc
,
Mar 30 2018
|
||
►
Sign in to add a comment |
||
Comment 1 by derat@chromium.org
, Mar 29 2018Components: OS>Kernel>Power OS>Kernel>Display
Labels: Proj-Mustash-Mash
Owner: derat@chromium.org
Status: Started (was: Untriaged)
Summary: powerd's DisplayService SetPower D-Bus calls to Chrome fail (was: Scarlet: Display doesn't completely turn when power button is pressed)