← Back to team overview

touch-packages team mailing list archive

[Bug 1343919] Re: USC does not respond to power key to turn screen on after 'sudo restart lightdm' while screen is on

 

** Changed in: unity-system-compositor
       Status: In Progress => Fix Released

-- 
You received this bug notification because you are a member of Ubuntu
Touch seeded packages, which is subscribed to unity-system-compositor in
Ubuntu.
https://bugs.launchpad.net/bugs/1343919

Title:
  USC does not respond to power key to turn screen on after 'sudo
  restart lightdm' while screen is on

Status in Unity System Compositor:
  Fix Released
Status in “unity-system-compositor” package in Ubuntu:
  Fix Released

Bug description:
  Steps to reproduce:

  0. phablet-shell to phone
  1. Ensure screen is ON
  2. sudo stop lightdm
  3. sudo start lightdm
  4. Press power button to turn screen off
  5. Press power button to turn screen on again

  Expected behavior: Screen turns on
  Actual behavior: Nothing happens

  USC is stuck at PowerdMediator::wait_for_state()

  Note that this doesn't happen if we stop lightdm while the screen is
  OFF.

  A quick read of the powerd logs indicates that somehow the state of
  powerd is messed up, it's not consistent with reality. I am not
  familiar enough with powerd to tell if this is USC's or powerd's
  problem.

  I have attached the powerd log for the problematic screen off/on case,
  and for the normal case for comparison.

To manage notifications about this bug go to:
https://bugs.launchpad.net/unity-system-compositor/+bug/1343919/+subscriptions