Skip to content

Instantly share code, notes, and snippets.

@tenforward
Created May 7, 2019 16:26
Show Gist options
  • Save tenforward/0ebbb770a523825374a59ecdea9e84de to your computer and use it in GitHub Desktop.
Save tenforward/0ebbb770a523825374a59ecdea9e84de to your computer and use it in GitHub Desktop.
Lenovo X1 carbon で xfce4-power-manager を使ってサスペンドする際の問題(フタを閉じ、開けではちゃんと復帰しない)
電源ボタン押した時
TRACE[/home/karma/Plamo-src/plamo/10_xfce/xfce4_power_manager/xfce4-power-manager-1.6.1/src/xfpm-button.c:118] xfpm_button_filter_x_events(): Key press: ((XfpmButtonKey) BUTTON_POWER_OFF)
TRACE[/home/karma/Plamo-src/plamo/10_xfce/xfce4_power_manager/xfce4-power-manager-1.6.1/src/xfpm-manager.c:369] xfpm_manager_button_pressed_cb(): Received button press event: ((XfpmButtonKey) BUTTON_POWER_OFF)
TRACE[/home/karma/Plamo-src/plamo/10_xfce/xfce4_power_manager/xfce4-power-manager-1.6.1/src/xfpm-manager.c:400] xfpm_manager_button_pressed_cb(): Shutdown request : : ((XfpmShutdownRequest) XFPM_DO_SUSPEND)
(再度電源ボタン押してもフタを開いても何も出ない)
フタを閉じた時
TRACE[/home/karma/Plamo-src/plamo/10_xfce/xfce4_power_manager/xfce4-power-manager-1.6.1/src/xfpm-manager.c:440] xfpm_manager_lid_changed_cb(): LID close event: ((XfpmLidTriggerAction) LID_TRIGGER_SUSPEND)
TRACE[/home/karma/Plamo-src/plamo/10_xfce/xfce4_power_manager/xfce4-power-manager-1.6.1/src/xfpm-manager.c:473] xfpm_manager_lid_changed_cb(): LID opened: ((XfpmLidTriggerAction) LID_TRIGGER_SUSPEND)
TRACE[/home/karma/Plamo-src/plamo/10_xfce/xfce4_power_manager/xfce4-power-manager-1.6.1/src/xfpm-dpms.c:284] xfpm_dpms_force_level(): start
TRACE[/home/karma/Plamo-src/plamo/10_xfce/xfce4_power_manager/xfce4-power-manager-1.6.1/src/xfpm-dpms.c:316] xfpm_dpms_force_level(): No need to change DPMS mode, current_level=0 requested_level=0
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment