[Xfce-bugs] [Bug 9952] new upower deprecates suspend/resume

bugzilla-daemon at xfce.org bugzilla-daemon at xfce.org
Mon Jul 7 11:34:30 CEST 2014


https://bugzilla.xfce.org/show_bug.cgi?id=9952

--- Comment #22 from Guido Berhoerster <gber at opensuse.org> ---
(In reply to Eric Koegel from comment #20)
> Created attachment 5541 [details]
> Suspend/hibernate upower 0.99 (no logind)
> 
> So this version makes upower optional but still uses the shutdown helper.

A couple of notes:
- OpenBSD supports hibernation via /usr/sbin/ZZZ or /usr/sbin/apm -Z
- on FreeBSD you might want to call /usr/sbin/acpiconf -s 3 for suspend for
consistency, /usr/sbin/zzz still supports APM but I doubt there is any
APM-supporting hardware left
- on FreeBSD you can check for suspend/hibernate support by looking at the
hw.acpi.supported_sleep_state property through the sysctl API, see sysctl(3)[1]
and acpi(4)[2]

[1]
http://www.freebsd.org/cgi/man.cgi?query=sysctl&sektion=3&apropos=0&manpath=FreeBSD+10.0-stable
[2]
http://www.freebsd.org/cgi/man.cgi?query=acpi&apropos=0&sektion=4&manpath=FreeBSD+10.0-stable&arch=default&format=html


Also the long term plan still is to use a DBus-actiavted helper instead of
sudo? Where should this live, both xfce4-session and xfce4-power-manager need
to make use of it but either one depending on the other would probably not be
nice. People run Xfce without xfpm and and xfpm is used outside Xfce.

-- 
You are receiving this mail because:
You are the assignee for the bug.


More information about the Xfce-bugs mailing list