USC does not respond to power key to turn screen on after 'sudo restart lightdm' while screen is on
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Unity System Compositor |
Fix Released
|
Medium
|
Alberto Aguirre | ||
unity-system-compositor (Ubuntu) |
Fix Released
|
Undecided
|
Unassigned |
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:
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.
Related branches
- Alexandros Frantzis (community): Approve
- PS Jenkins bot (community): Approve (continuous-integration)
- Unity System Compositor Development Team: Pending requested
-
Diff: 71 lines (+22/-5)2 files modifiedsrc/powerd_mediator.cpp (+21/-5)
src/powerd_mediator.h (+1/-0)
Changed in unity-system-compositor: | |
importance: | Undecided → Medium |
status: | New → In Progress |
assignee: | nobody → Alberto Aguirre (albaguirre) |
Changed in unity-system-compositor: | |
status: | In Progress → Fix Released |
This bug was fixed in the package unity-system- compositor - 0.0.4+14. 10.20140722- 0ubuntu1
--------------- compositor (0.0.4+ 14.10.20140722- 0ubuntu1) utopic; urgency=low
unity-system-
[ Alberto Aguirre ]
* Attempt to sync up sys state when powerd is already up (LP:
#1343919) (LP: #1343919)
* Turn screen on when long press alarm fires (LP: #1344101) (LP:
#1344101)
-- Ubuntu daily release <email address hidden> Tue, 22 Jul 2014 18:49:32 +0000