F18 - laptop suspends twice under Xfce

Maciek Borzęcki maciek.borzecki at gmail.com
Thu Dec 13 07:25:20 UTC 2012


Has anyone noticed anything weird regarding laptop suspend under F18 and
Xfce 4.10? 

I've god a good old T60 here, and since upgrading to F18, whenever a
suspend is triggered through ACPI (lid closing, Fn+suspend), the laptop
suspends twice. What happens is that right away after closing the lid
laptop goes to suspend (really fast, I don't recall suspend being this
fast ever). Then after opening the lid, the screen shows for a second
and it goes to suspend again.

Observations so far:
1. it does not happen under gnome 3
2. it does not happen if I trigger suspend from software (xfce ->
applications -> log out, or pm-suspend)

I've restarted xfce4-power-manager with --debug, and it seems that
something else triggers suspend in kernel, even before
xfce-power-manager gets the relevant event about lid being closed.


<lid closed - quick suspend>
<lid opened, laptop wakes up>
<at this point, I see the screen for a second>
TRACE[xfpm-manager.c:317] xfpm_manager_lid_changed_cb(): LID close event: ((XfpmLidTriggerAction) LID_TRIGGER_SUSPEND)

<and this is where it's already suspending again>
TRACE[xfpm-power.c:1148] xfpm_power_refresh_adaptor_visible(): Tray icon configuration: : ((XfpmShowIcon) SHOW_ICON_WHEN_BATTERY_PRESENT)
TRACE[xfpm-power.c:1113] xfpm_power_hide_adapter_icon(): Hide adaptor icon
TRACE[xfpm-polkit.c:466] xfpm_polkit_changed_cb(): Auth changed
TRACE[xfpm-power.c:1105] xfpm_power_polkit_auth_changed_cb(): Auth configuration changed
TRACE[xfpm-polkit.c:368] xfpm_polkit_init_data(): Using unix session polkit subject
TRACE[xfpm-polkit.c:455] xfpm_polkit_check_auth_intern(): Action=org.freedesktop.upower.suspend is authorized=TRUE
TRACE[xfpm-polkit.c:455] xfpm_polkit_check_auth_intern(): Action=org.freedesktop.upower.hibernate is authorized=TRUE
TRACE[xfpm-polkit.c:455] xfpm_polkit_check_auth_intern(): Action=org.freedesktop.udisks.drive-set-spindown is authorized=TRUE
TRACE[xfpm-disks.c:170] xfpm_disks_get_is_auth_to_spin(): Is auth to spin down disks : 1
TRACE[xfpm-manager.c:344] xfpm_manager_lid_changed_cb(): LID opened: ((XfpmLidTriggerAction) LID_TRIGGER_SUSPEND)
TRACE[xfpm-dpms.c:302] xfpm_dpms_force_level(): start
TRACE[xfpm-dpms.c:334] xfpm_dpms_force_level(): No need to change DPMS mode, current_level=0 requested_level=0


-- 
Maciek Borzecki



More information about the users mailing list