Re: F18 - laptop suspends twice under Xfce

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Is there something crazy in the suspend/resume scripts in /usr/lib(64)/pm-utils/sleep.d/ scripts?

suomi

On 2012-12-13 08:25, Maciek Borzęcki wrote:

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


--
users mailing list
users@xxxxxxxxxxxxxxxxxxxxxxx
To unsubscribe or change subscription options:
https://admin.fedoraproject.org/mailman/listinfo/users
Guidelines: http://fedoraproject.org/wiki/Mailing_list_guidelines
Have a question? Ask away: http://ask.fedoraproject.org


[Index of Archives]     [Older Fedora Users]     [Fedora Announce]     [Fedora Package Announce]     [EPEL Announce]     [EPEL Devel]     [Fedora Magazine]     [Fedora Summer Coding]     [Fedora Laptop]     [Fedora Cloud]     [Fedora Advisory Board]     [Fedora Education]     [Fedora Security]     [Fedora Scitech]     [Fedora Robotics]     [Fedora Infrastructure]     [Fedora Websites]     [Anaconda Devel]     [Fedora Devel Java]     [Fedora Desktop]     [Fedora Fonts]     [Fedora Marketing]     [Fedora Management Tools]     [Fedora Mentors]     [Fedora Package Review]     [Fedora R Devel]     [Fedora PHP Devel]     [Kickstart]     [Fedora Music]     [Fedora Packaging]     [Fedora SELinux]     [Fedora Legal]     [Fedora Kernel]     [Fedora OCaml]     [Coolkey]     [Virtualization Tools]     [ET Management Tools]     [Yum Users]     [Yosemite News]     [Gnome Users]     [KDE Users]     [Fedora Art]     [Fedora Docs]     [Fedora Sparc]     [Libvirt Users]     [Fedora ARM]

  Powered by Linux