DPMS Suspend doesn't work unless lid is open on laptop.
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
gnome-power-manager (Ubuntu) |
New
|
Undecided
|
Unassigned |
Bug Description
Binary package hint: gnome-power-manager
Expected:
GPM should allow my external monitor to enter DPMS suspend while the laptop lid is closed.
Observed:
GPM doesn't allow my external monitor to suspend while the lid is closed on the laptop. If the lid is open, it works fine.
Steps To Reproduce:
Restart Ubuntu with the laptop lid closed, log in and wait for the timeout period. The external monitor shows the screensaver, but does not enter DPMS suspend.
No combination of GConf options has allowed me to effectively work around this issue. In another bug, someone wrote a perl script that works, but only if the screensaver is enabled. I use the machine with the screensaver both on and off. So, I started digging.
Here's some snipped GPM logs (gnome-
(Lid down, 00:01 timeout for screensaver and dpms blanking, does not work as expected)
8<--- snip --->8
304-TI:22:50:53 TH:0x9a788b8 FI:gpm-session.c FN:gpm_
305- - emitting idle-changed : (1)
306-TI:22:50:53 TH:0x9a788b8 FI:gpm-idle.c FN:gpm_
307- - Received gnome session idle changed: 1
308-TI:22:50:53 TH:0x9a788b8 FI:gpm-idle.c FN:gpm_
309- - session_idle=1, idle_inhibited=0, suspend_
310-TI:22:51:03 TH:0x9a788b8 FI:gpm-idle.c FN:gpm_
311- - Doing a state transition: blank
312-TI:22:51:28 TH:0x9a788b8 FI:gpm-idle.c FN:gpm_
313- - idletime reset
314-TI:22:51:28 TH:0x9a788b8 FI:gpm-idle.c FN:gpm_
315- - session_idle=1, idle_inhibited=0, suspend_
316-TI:22:51:28 TH:0x9a788b8 FI:gpm-idle.c FN:gpm_
317- - Doing a state transition: normal
318-TI:22:51:28 TH:0x9a788b8 FI:gpm-manager.c FN:gpm_
319: - lid is closed, so we are ignoring ->NORMAL state changes
320-TI:22:51:28 TH:0x9a788b8 FI:gpm-idle.c FN:gpm_
321- - X not idle
8<--- snip --->8
(Lid up, 00:01 timeout for screensaver and dpms blanking, works as expected)
8<--- snip --->8
TI:23:04:23 TH:0x88638b8 FI:gpm-session.c FN:gpm_
- emitting idle-changed : (1)
TI:23:04:23 TH:0x88638b8 FI:gpm-idle.c FN:gpm_
- Received gnome session idle changed: 1
TI:23:04:23 TH:0x88638b8 FI:gpm-idle.c FN:gpm_
- session_idle=1, idle_inhibited=0, suspend_
TI:23:04:33 TH:0x88638b8 FI:gpm-idle.c FN:gpm_
- Doing a state transition: blank
TI:23:04:41 TH:0x88638b8 FI:gpm-idle.c FN:gpm_
- idletime reset
TI:23:04:41 TH:0x88638b8 FI:gpm-idle.c FN:gpm_
- session_idle=1, idle_inhibited=0, suspend_
TI:23:04:41 TH:0x88638b8 FI:gpm-idle.c FN:gpm_
- Doing a state transition: normal
TI:23:04:41 TH:0x88638b8 FI:gpm-idle.c FN:gpm_
- X not idle
8<--- snip --->8
I also went digging in gpm-manager.c from GPM to figure out what that 'lid is closed...' stuff meant:
8<--- snip --->8
/* Ignore back-to-NORMAL events when the lid is closed, as the DPMS is
* already off, and we don't want to re-enable the screen when the user
* moves the mouse on systems that do not support hardware blanking. */
if (gpm_button_
mode == GPM_IDLE_
egg_debug ("lid is closed, so we are ignoring ->NORMAL state changes");
return;
}
8<--- snip --->8
... but I haven't been able to relate it directly to my problem, because I want it to blank in the first place. It was the only big difference I could spot in much of the logging.
Thanks!
ProblemType: Bug
DistroRelease: Ubuntu 10.10
Package: gnome-power-manager 2.32.0-0ubuntu1
ProcVersionSign
Uname: Linux 2.6.35-24-generic i686
NonfreeKernelMo
Architecture: i386
Date: Thu Dec 23 23:14:00 2010
GnomeSessionIdl
GnomeSessionInh
GnomeSessionSus
InstallationMedia: Ubuntu 10.10 "Maverick Meerkat" - Release i386 (20101007)
MachineType: Dell Inc. Vostro 1000
ProcCmdLine: BOOT_IMAGE=
ProcEnviron:
LANG=en_CA.utf8
SHELL=/bin/bash
SourcePackage: gnome-power-manager
dmi.bios.date: 07/30/2006
dmi.bios.vendor: Dell Inc.
dmi.bios.version: 2.5.2
dmi.board.name: 0WY383
dmi.board.vendor: Dell Inc.
dmi.chassis.type: 8
dmi.chassis.vendor: Dell Inc.
dmi.chassis.
dmi.modalias: dmi:bvnDellInc.
dmi.product.name: Vostro 1000
dmi.product.
dmi.sys.vendor: Dell Inc.
I think that considering how many people use laptop these days, this should be a major issue. Seriously, these kind of bugs affect user experience a lot. I am aware that security and stability problems are of highest priority, but how can anyone expect Linux to become more widespread on desktops if more than a year is not enough to even make a decision whether an issue like this will be fixed or not.
Anyway, if someone needs a workaround, then in this forum (https:/ /bugs.launchpad .net/ubuntu/ +source/ gnome-power- manager/ +bug/550054) search for 'nightflow' and follow his/her instructions.