After an evaluation, GNOME has moved from Bugzilla to GitLab. Learn more about GitLab.
No new issues can be reported in GNOME Bugzilla anymore.
To report an issue in a GNOME project, go to GNOME GitLab.
Do not go to GNOME Gitlab for: Bluefish, Doxygen, GnuCash, GStreamer, java-gnome, LDTP, NetworkManager, Tomboy.
Bug 607102 - Laptop only remains DPMS off for 2 seconds
Laptop only remains DPMS off for 2 seconds
Status: RESOLVED OBSOLETE
Product: gnome-power-manager
Classification: Deprecated
Component: gnome-power-manager
2.28.x
Other Linux
: Normal normal
: ---
Assigned To: GNOME Power Manager Maintainer(s)
GNOME Power Manager Maintainer(s)
Depends on:
Blocks:
 
 
Reported: 2010-01-15 20:26 UTC by Teej
Modified: 2012-03-23 16:00 UTC
See Also:
GNOME target: ---
GNOME version: ---



Description Teej 2010-01-15 20:26:50 UTC
This bug was originally reported on Launchpad at https://bugs.launchpad.net/ubuntu/+source/gnome-power-manager/+bug/447728

"I'm using fully updated karmic beta amd64 on a Dell Inspiron 1520 with gnome-power-manager 2.28.0 on linux kernel 2.6.31-13-generic. I have it set in System>

I have observed that if I suspend or hibernate, after waking the display behaves normally. If I kill gnome-power-manager, the display behaves normally. [xset force dpms off] blanks the display normally.

The display behaved normally under Ubuntu 9.04.

Here is lshal -m although, I am not sure this is still relevant due to devicekit. . . This is the lid being closed, waiting for the display to incorrectly come back on, then opening the display:

Start monitoring devicelist:
-------------------------------------------------
22:12:20.666: computer_logicaldev_input condition ButtonPressed = switch-videomode
22:12:20.668: computer_logicaldev_input_5 property button.state.value = true
22:12:20.669: computer_logicaldev_input_5 condition ButtonPressed = lid
22:12:21.551: platform_i8042_i8042_KBD_port_logicaldev_input condition ButtonPressed = switch-videomode
22:12:24.015: computer_power_supply_battery_BAT0 property battery.voltage.current = 12606 (0x313e)
22:12:24.280: computer_logicaldev_input condition ButtonPressed = switch-videomode
22:12:24.283: computer_logicaldev_input_5 property button.state.value = false
22:12:24.289: computer_logicaldev_input_5 condition ButtonPressed = lid
22:12:24.945: platform_i8042_i8042_KBD_port_logicaldev_input condition ButtonPressed = switch-videomode

Here is lshal -m with gnome-power-manager killed and X correctly handling the blanking:

Start monitoring devicelist:
-------------------------------------------------
22:13:27.328: computer_logicaldev_input condition ButtonPressed = switch-videomode
22:13:27.335: computer_logicaldev_input_5 property button.state.value = true
22:13:27.337: computer_logicaldev_input_5 condition ButtonPressed = lid
22:13:27.965: platform_i8042_i8042_KBD_port_logicaldev_input condition ButtonPressed = switch-videomode
22:13:31.132: computer_logicaldev_input condition ButtonPressed = switch-videomode
22:13:31.144: computer_logicaldev_input_5 property button.state.value = false
22:13:31.145: computer_logicaldev_input_5 condition ButtonPressed = lid
22:13:31.791: platform_i8042_i8042_KBD_port_logicaldev_input condition ButtonPressed = switch-videomode

There is no difference I can see, so I would think that this further proves that the problem is with gnome-power-manager."
Comment 1 Richard Hughes 2010-01-20 14:44:45 UTC
What does "devkit-power --dump" say? What version of DeviceKit-power are you using?
Comment 2 bugzilla.20.telperionn 2010-01-20 23:43:47 UTC
devkit-power --dump
Device: /org/freedesktop/DeviceKit/Power/devices/line_power_AC
  native-path:          /sys/devices/LNXSYSTM:00/device:00/ACPI0003:00/power_supply/AC
  power supply:         yes
  updated:              Wed Jan 20 15:16:02 2010 (1505 seconds ago)
  has history:          no
  has statistics:       no
  line-power
    online:             yes

Device: /org/freedesktop/DeviceKit/Power/devices/battery_BAT0
  native-path:          /sys/devices/LNXSYSTM:00/device:00/PNP0C0A:00/power_supply/BAT0
  vendor:               Panasonic
  model:                DELL MN1278
  serial:               1286
  power supply:         yes
  updated:              Wed Jan 20 15:16:06 2010 (1501 seconds ago)
  has history:          yes
  has statistics:       yes
  battery
    present:             yes
    rechargeable:        yes
    state:               fully-charged
    energy:              56.61 Wh
    energy-empty:        0 Wh
    energy-full:         56.61 Wh
    energy-full-design:  56.61 Wh
    energy-rate:         0.0111 W
    voltage:             12.612 V
    percentage:          100%
    capacity:            79.451%
    technology:          lithium-ion

Daemon:
  daemon-version:  011
  can-suspend:     yes
  can-hibernate    yes
  on-battery:      no
  on-low-battery:  no
  lid-is-closed:   no
  lid-is-present:   yes



I don't know how to find the version of devicekit-power
Comment 3 Teej 2010-01-20 23:50:05 UTC
apt-cache policy devicekit-power
Comment 4 bugzilla.20.telperionn 2010-01-20 23:52:05 UTC
apt-cache policy devicekit-power
devicekit-power:
  Installed: 011-1ubuntu1
  Candidate: 011-1ubuntu1
  Version table:
 *** 011-1ubuntu1 0
        500 http://us.archive.ubuntu.com karmic/main Packages
        100 /var/lib/dpkg/status
Comment 5 Daniel Castro 2010-07-22 10:36:45 UTC
Any updates/workarounds on this bug? Thanks!