[gpm] screen not locked after lid close and reopen
- From: Darren Hoo <darren hoo gmail com>
- To: gnome-power-manager-list gnome org
- Subject: [gpm] screen not locked after lid close and reopen
- Date: Wed, 8 Jul 2009 21:09:00 +0800
Hello developers,
when I close the lid the screen is not locked as I expect.while I
reopen the lid,the screen first gets blank and then unblank again.
My notebook itself can turn off the backlight upon lid-close without g-p-m.
but lock screen does work while resume from suspend or hibernate.
here's my setup:
/apps/gnome-power-manager/buttons/lid_ac nothing nothing
/apps/gnome-power-manager/lock/use_screensaver_settings false
/apps/gnome-power-manager/lock/blank_screen true
the output of gnome-power-manager --verbose is attached
when I close and reopen the lid,it seems that only on-ac-changed
signal is triggered,never have I seen any lid button events.
what's wrong?
I have tried version 2_26_3 and git master version.
TI:20:54:35 TH:0x982edb8 FI:egg-debug.c FN:egg_debug_init,306
- Verbose debugging 1 (on console 0)GPM_VERBOSE
TI:20:54:35 TH:0x982edb8 FI:gpm-main.c FN:main,210
- GNOME 电源管理器 2.26.3
TI:20:54:35 TH:0x982edb8 FI:gpm-session.c FN:gpm_session_init,464
- idle: 0, inhibited: 0
TI:20:54:35 TH:0x982edb8 FI:gpm-session.c FN:gpm_session_register_client,325
- registered startup '(null)' to client id '/org/gnome/SessionManager/Client21'
TI:20:54:35 TH:0x982edb8 FI:egg-console-kit.c FN:egg_console_kit_init,250
- ConsoleKit session ID: /org/freedesktop/ConsoleKit/Session27
TI:20:54:36 TH:0x982edb8 FI:dkp-device.c FN:dkp_device_set_object_path,164
- using object_path: /org/freedesktop/DeviceKit/Power/devices/line_power_AC
TI:20:54:36 TH:0x982edb8 FI:dkp-device.c FN:dkp_device_set_object_path,164
- using object_path: /org/freedesktop/DeviceKit/Power/devices/battery_BAT0
TI:20:54:36 TH:0x982edb8 FI:gpm-button.c FN:gpm_button_grab_keystring,184
- Grabbed modmask=0, keycode=124
TI:20:54:36 TH:0x982edb8 FI:gpm-button.c FN:gpm_button_grab_keystring,184
- Grabbed modmask=0, keycode=213
TI:20:54:36 TH:0x982edb8 FI:gpm-button.c FN:gpm_button_grab_keystring,184
- Grabbed modmask=0, keycode=150
*** WARNING ***
TI:20:54:36 TH:0x982edb8 FI:gpm-button.c FN:gpm_button_xevent_key,211
- could not map keysym 1008ffa8 to keycode
TI:20:54:36 TH:0x982edb8 FI:gpm-button.c FN:gpm_button_grab_keystring,184
- Grabbed modmask=0, keycode=233
TI:20:54:36 TH:0x982edb8 FI:gpm-button.c FN:gpm_button_grab_keystring,184
- Grabbed modmask=0, keycode=232
TI:20:54:36 TH:0x982edb8 FI:gpm-button.c FN:gpm_button_grab_keystring,184
- Grabbed modmask=0, keycode=160
TI:20:54:36 TH:0x982edb8 FI:gpm-button.c FN:gpm_button_grab_keystring,184
- Grabbed modmask=0, keycode=244
TI:20:54:36 TH:0x982edb8 FI:gpm-button.c FN:gpm_button_grab_keystring,184
- Grabbed modmask=0, keycode=238
TI:20:54:36 TH:0x982edb8 FI:gpm-button.c FN:gpm_button_grab_keystring,184
- Grabbed modmask=0, keycode=237
TI:20:54:36 TH:0x982edb8 FI:gpm-button.c FN:gpm_button_grab_keystring,184
- Grabbed modmask=0, keycode=236
TI:20:54:36 TH:0x982edb8 FI:egg-dbus-proxy.c FN:egg_dbus_proxy_connect,73
- already connected to org.gnome.ScreenSaver
TI:20:54:36 TH:0x982edb8 FI:egg-dbus-proxy.c FN:egg_dbus_proxy_connect,73
- already connected to org.freedesktop.Hal
TI:20:54:36 TH:0x982edb8 FI:egg-dbus-proxy.c FN:egg_dbus_proxy_connect,73
- already connected to org.freedesktop.Hal
TI:20:54:36 TH:0x982edb8 FI:gpm-brightness-xrandr.c FN:gpm_brightness_xrandr_update_cache,636
- screen 1 of 1
TI:20:54:36 TH:0x982edb8 FI:gpm-brightness-xrandr.c FN:gpm_brightness_xrandr_update_cache,641
- watching ::monitors_changed on 0x984f0c8
TI:20:54:36 TH:0x982edb8 FI:gpm-brightness-xrandr.c FN:gpm_brightness_xrandr_update_cache,662
- adding resource 0x98aac90
TI:20:54:36 TH:0x982edb8 FI:egg-dbus-proxy.c FN:egg_dbus_proxy_connect,73
- already connected to org.freedesktop.Hal
TI:20:54:36 TH:0x982edb8 FI:egg-dbus-proxy.c FN:egg_dbus_proxy_connect,73
- already connected to org.freedesktop.Hal
TI:20:54:36 TH:0x982edb8 FI:egg-dbus-proxy.c FN:egg_dbus_proxy_connect,73
- already connected to org.freedesktop.Hal
TI:20:54:36 TH:0x982edb8 FI:gpm-brightness-hal.c FN:gpm_brightness_hal_init,476
- Laptop panel levels: 8
TI:20:54:36 TH:0x982edb8 FI:gpm-brightness-hal.c FN:gpm_brightness_hal_init,492
- laptop_panel.brightness_in_hardware: True
TI:20:54:36 TH:0x982edb8 FI:egg-dbus-proxy.c FN:egg_dbus_proxy_connect,73
- already connected to org.freedesktop.Hal
TI:20:54:36 TH:0x982edb8 FI:gpm-brightness-hal.c FN:gpm_brightness_hal_get_hw,119
- GetBrightness returned level: 7
TI:20:54:36 TH:0x982edb8 FI:gpm-brightness-hal.c FN:gpm_brightness_hal_init,513
- Starting: (7 of 7)
TI:20:54:36 TH:0x982edb8 FI:egg-dbus-proxy.c FN:egg_dbus_proxy_connect,73
- already connected to org.freedesktop.Hal
TI:20:54:36 TH:0x982edb8 FI:egg-dbus-proxy.c FN:egg_dbus_proxy_connect,73
- already connected to org.freedesktop.Hal
TI:20:54:36 TH:0x982edb8 FI:gpm-prefs-server.c FN:gpm_prefs_server_set_capability,84
- capability now 4
TI:20:54:36 TH:0x982edb8 FI:gpm-prefs-server.c FN:gpm_prefs_server_set_capability,84
- capability now 5
TI:20:54:36 TH:0x982edb8 FI:gpm-idle.c FN:gpm_idle_evaluate,190
- is_idle=0, is_inhibited=0
TI:20:54:36 TH:0x982edb8 FI:gpm-idle.c FN:gpm_idle_evaluate,195
- X not idle
TI:20:54:36 TH:0x982edb8 FI:gpm-idle.c FN:gpm_idle_set_timeout_dim,257
- Setting dim idle timeout: 30s
TI:20:54:36 TH:0x982edb8 FI:gpm-feedback-widget.c FN:gpm_feedback_set_icon_name,162
- Using icon name 'gpm-brightness-lcd'
TI:20:54:36 TH:0x982edb8 FI:gpm-dpms.c FN:gpm_dpms_clear_timeouts,345
- set timeouts to zero
TI:20:54:36 TH:0x982edb8 FI:dkp-device.c FN:dkp_device_set_object_path,164
- using object_path: /org/freedesktop/DeviceKit/Power/devices/line_power_AC
TI:20:54:36 TH:0x982edb8 FI:dkp-device.c FN:dkp_device_set_object_path,164
- using object_path: /org/freedesktop/DeviceKit/Power/devices/battery_BAT0
*** WARNING ***
TI:20:54:36 TH:0x982edb8 FI:gpm-light-sensor.c FN:gpm_light_sensor_get_absolute,147
- no hardware!
TI:20:54:36 TH:0x982edb8 FI:gpm-backlight.c FN:gpm_backlight_brightness_evaluate_and_set,253
- 1. main brightness 1.000000
TI:20:54:36 TH:0x982edb8 FI:gpm-backlight.c FN:gpm_backlight_brightness_evaluate_and_set,271
- 2. battery scale 1.000000, brightness 1.000000
TI:20:54:36 TH:0x982edb8 FI:gpm-backlight.c FN:gpm_backlight_brightness_evaluate_and_set,289
- 3. idle scale 1.000000, brightness 1.000000
TI:20:54:36 TH:0x982edb8 FI:gpm-backlight.c FN:gpm_backlight_brightness_evaluate_and_set,309
- 4. ambient scale 1.000000, brightness 1.000000
TI:20:54:36 TH:0x982edb8 FI:gpm-brightness-xrandr.c FN:gpm_brightness_xrandr_foreach_screen,448
- using resource 0x98aac90
TI:20:54:36 TH:0x982edb8 FI:gpm-brightness-xrandr.c FN:gpm_brightness_xrandr_foreach_resource,410
- resource 1 of 2
TI:20:54:36 TH:0x982edb8 FI:gpm-brightness-xrandr.c FN:gpm_brightness_xrandr_foreach_resource,410
- resource 2 of 2
TI:20:54:36 TH:0x982edb8 FI:gpm-brightness-xrandr.c FN:gpm_brightness_xrandr_output_get_percentage,252
- hard value=7, min=0, max=7
TI:20:54:36 TH:0x982edb8 FI:gpm-brightness-xrandr.c FN:gpm_brightness_xrandr_output_get_percentage,254
- percentage 100
TI:20:54:36 TH:0x982edb8 FI:gpm-backlight.c FN:gpm_backlight_brightness_evaluate_and_set,317
- values are the same, no action
TI:20:54:36 TH:0x982edb8 FI:gpm-feedback-widget.c FN:gpm_feedback_set_icon_name,162
- Using icon name 'gpm-brightness-kbd'
TI:20:54:36 TH:0x982edb8 FI:egg-dbus-proxy.c FN:egg_dbus_proxy_connect,73
- already connected to org.freedesktop.Hal
TI:20:54:36 TH:0x982edb8 FI:egg-dbus-proxy.c FN:egg_dbus_proxy_connect,73
- already connected to org.freedesktop.Hal
*** WARNING ***
TI:20:54:36 TH:0x982edb8 FI:gpm-brightness-kbd.c FN:gpm_brightness_kbd_init,714
- No devices of capability keyboard_backlight
TI:20:54:36 TH:0x982edb8 FI:gpm-idle.c FN:gpm_idle_set_check_cpu,127
- Setting the CPU load check to 0
TI:20:54:36 TH:0x982edb8 FI:gpm-manager.c FN:gpm_manager_init,1659
- creating new inhibit instance
TI:20:54:36 TH:0x982edb8 FI:gpm-manager.c FN:gpm_manager_init,1669
- creating new control instance
TI:20:54:36 TH:0x982edb8 FI:gpm-manager.c FN:gpm_manager_init,1674
- creating new tray icon
TI:20:54:36 TH:0x982edb8 FI:dkp-device.c FN:dkp_device_set_object_path,164
- using object_path: /org/freedesktop/DeviceKit/Power/devices/line_power_AC
TI:20:54:36 TH:0x982edb8 FI:dkp-device.c FN:dkp_device_set_object_path,164
- using object_path: /org/freedesktop/DeviceKit/Power/devices/battery_BAT0
TI:20:54:36 TH:0x982edb8 FI:gpm-phone.c FN:gpm_phone_dbus_connect,242
- get connection
TI:20:54:36 TH:0x982edb8 FI:gpm-phone.c FN:gpm_phone_dbus_connect,253
- get proxy
*** WARNING ***
TI:20:54:36 TH:0x982edb8 FI:gpm-phone.c FN:gpm_phone_dbus_connect,261
- Cannot connect, maybe the daemon is not running: Could not get owner of name 'org.gnome.phone': no such name
TI:20:54:36 TH:0x982edb8 FI:gpm-engine.c FN:gpm_engine_init,800
- Using per-time notification policy
TI:20:54:36 TH:0x982edb8 FI:gpm-control.c FN:gpm_control_allowed_suspend,173
- conf=1, polkit=1, fg=1, can=1
TI:20:54:36 TH:0x982edb8 FI:gpm-control.c FN:gpm_control_allowed_hibernate,201
- conf=1, polkit=1, fg=1, can=1
TI:20:54:36 TH:0x982edb8 FI:gpm-idle.c FN:gpm_idle_set_timeout_blank,278
- Setting blank idle timeout: 600s
TI:20:54:36 TH:0x982edb8 FI:gpm-idle.c FN:gpm_idle_evaluate,190
- is_idle=0, is_inhibited=0
TI:20:54:36 TH:0x982edb8 FI:gpm-idle.c FN:gpm_idle_evaluate,195
- X not idle
TI:20:54:36 TH:0x982edb8 FI:gpm-idle.c FN:gpm_idle_set_timeout_sleep,295
- Setting sleep idle timeout: 0s
TI:20:54:36 TH:0x982edb8 FI:gpm-idle.c FN:gpm_idle_evaluate,190
- is_idle=0, is_inhibited=0
TI:20:54:36 TH:0x982edb8 FI:gpm-idle.c FN:gpm_idle_evaluate,195
- X not idle
TI:20:54:36 TH:0x982edb8 FI:gpm-prefs-server.c FN:gpm_prefs_server_set_capability,84
- capability now 13
*** WARNING ***
TI:20:54:36 TH:0x982edb8 FI:gpm-phone.c FN:gpm_phone_coldplug,76
- not connected
*** WARNING ***
TI:20:54:36 TH:0x982edb8 FI:gpm-devicekit.c FN:gpm_devicekit_get_object_icon,113
- fixing up unknown 59.198692
TI:20:54:36 TH:0x982edb8 FI:gpm-devicekit.c FN:gpm_devicekit_get_object_icon,139
- got filename: gpm-battery-charged
TI:20:54:36 TH:0x982edb8 FI:gpm-engine.c FN:gpm_engine_recalculate_state_icon,375
- ** EMIT: icon-changed: gpm-battery-charged
TI:20:54:36 TH:0x982edb8 FI:gpm-tray-icon.c FN:gpm_tray_icon_set_icon,155
- Setting icon to gpm-battery-charged
*** WARNING ***
TI:20:54:36 TH:0x982edb8 FI:gpm-devicekit.c FN:gpm_devicekit_get_object_summary,237
- in an undefined state we are not charging or discharging and the batteries are also not charged
TI:20:54:36 TH:0x982edb8 FI:gpm-engine.c FN:gpm_engine_get_summary,234
- tooltip: 笔记本电池 (59.2%)
TI:20:54:36 TH:0x982edb8 FI:gpm-engine.c FN:gpm_engine_recalculate_state_summary,407
- ** EMIT: summary-changed(1): 笔记本电池 (59.2%)
TI:20:54:36 TH:0x982edb8 FI:gpm-engine.c FN:gpm_engine_get_warning_time,139
- time zero, falling back to percentage for battery
TI:20:54:38 TH:0x982edb8 FI:gpm-notify.c FN:ac_adapter_changed_cb,197
- clearing notify due ac being present
TI:20:54:38 TH:0x982edb8 FI:gpm-manager.c FN:ac_adapter_changed_cb,951
- Setting on-ac: 1
TI:20:54:38 TH:0x982edb8 FI:gpm-brightness-kbd.c FN:gpm_brightness_kbd_set_std,323
- no hardware
TI:20:54:38 TH:0x982edb8 FI:gpm-idle.c FN:gpm_idle_set_timeout_blank,278
- Setting blank idle timeout: 600s
TI:20:54:38 TH:0x982edb8 FI:gpm-idle.c FN:gpm_idle_set_timeout_sleep,295
- Setting sleep idle timeout: 0s
TI:20:54:38 TH:0x982edb8 FI:gpm-screensaver.c FN:gpm_screensaver_poke,341
- poke
TI:20:54:38 TH:0x982edb8 FI:gpm-manager.c FN:ac_adapter_changed_cb,972
- emitting on-ac-changed : 1
TI:20:54:38 TH:0x982edb8 FI:gpm-backlight.c FN:gpm_backlight_brightness_evaluate_and_set,253
- 1. main brightness 1.000000
TI:20:54:38 TH:0x982edb8 FI:gpm-backlight.c FN:gpm_backlight_brightness_evaluate_and_set,271
- 2. battery scale 1.000000, brightness 1.000000
TI:20:54:38 TH:0x982edb8 FI:gpm-backlight.c FN:gpm_backlight_brightness_evaluate_and_set,289
- 3. idle scale 1.000000, brightness 1.000000
TI:20:54:38 TH:0x982edb8 FI:gpm-backlight.c FN:gpm_backlight_brightness_evaluate_and_set,309
- 4. ambient scale 1.000000, brightness 1.000000
*** WARNING ***
TI:20:54:38 TH:0x982edb8 FI:gpm-brightness.c FN:gpm_brightness_trust_cache,101
- using cache for value 100 (probably okay)
TI:20:54:38 TH:0x982edb8 FI:gpm-backlight.c FN:gpm_backlight_brightness_evaluate_and_set,317
- values are the same, no action
TI:20:54:42 TH:0x982edb8 FI:gpm-notify.c FN:ac_adapter_changed_cb,197
- clearing notify due ac being present
TI:20:54:42 TH:0x982edb8 FI:gpm-manager.c FN:ac_adapter_changed_cb,951
- Setting on-ac: 1
TI:20:54:42 TH:0x982edb8 FI:gpm-brightness-kbd.c FN:gpm_brightness_kbd_set_std,323
- no hardware
TI:20:54:42 TH:0x982edb8 FI:gpm-idle.c FN:gpm_idle_set_timeout_blank,278
- Setting blank idle timeout: 600s
TI:20:54:42 TH:0x982edb8 FI:gpm-idle.c FN:gpm_idle_set_timeout_sleep,295
- Setting sleep idle timeout: 0s
TI:20:54:42 TH:0x982edb8 FI:gpm-screensaver.c FN:gpm_screensaver_poke,341
- poke
TI:20:54:42 TH:0x982edb8 FI:gpm-manager.c FN:ac_adapter_changed_cb,972
- emitting on-ac-changed : 1
TI:20:54:42 TH:0x982edb8 FI:gpm-backlight.c FN:gpm_backlight_brightness_evaluate_and_set,253
- 1. main brightness 1.000000
TI:20:54:42 TH:0x982edb8 FI:gpm-backlight.c FN:gpm_backlight_brightness_evaluate_and_set,271
- 2. battery scale 1.000000, brightness 1.000000
TI:20:54:42 TH:0x982edb8 FI:gpm-backlight.c FN:gpm_backlight_brightness_evaluate_and_set,289
- 3. idle scale 1.000000, brightness 1.000000
TI:20:54:42 TH:0x982edb8 FI:gpm-backlight.c FN:gpm_backlight_brightness_evaluate_and_set,309
- 4. ambient scale 1.000000, brightness 1.000000
*** WARNING ***
TI:20:54:42 TH:0x982edb8 FI:gpm-brightness.c FN:gpm_brightness_trust_cache,101
- using cache for value 100 (probably okay)
TI:20:54:42 TH:0x982edb8 FI:gpm-backlight.c FN:gpm_backlight_brightness_evaluate_and_set,317
- values are the same, no action
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]