PC-BSD command line approaches to sleep (suspend to RAM) and hibernate (suspend to disk)My laptop is not able...

Smart people send dumb people to a new planet on a space craft that crashes into a body of water

Terminology about G- simplicial complexes

File globbing pattern, !(*example), behaves differently in bash script than it does in bash shell

How to capture more stars?

Is it ok to put a subplot to a story that is never meant to contribute to the development of the main plot?

A Mathematical Discussion: Fill in the Blank

How to prevent bad sectors?

Boots: Does light damage affect waterproofing?

Could I be denied entry into Ireland due to medical and police situations during a previous UK visit?

What problems does SciDraw still solve?

Restoring order in a deck of playing cards

Modern approach to radio buttons

Crossword gone overboard

How were these pictures of spacecraft wind tunnel testing taken?

Where did the “Vikings wear helmets with horn” stereotype come from and why?

shutdown at specific date

Could IPv6 make NAT / port numbers redundant?

Why doesn't the Earth's acceleration towards the Moon accumulate to push the Earth off its orbit?

Different PCB color ( is it different material? )

How feasible is the Delta-Glider?

Can the Help action be used to give advantage to a specific ally's attack (rather than just the next ally who attacks the target)?

In what episode of TOS did a character on the bridge make a comment about raising one to some power?

How is character development a major role in the plot of a story

Glitch in AC sine wave interfering with phase cut dimming



PC-BSD command line approaches to sleep (suspend to RAM) and hibernate (suspend to disk)


My laptop is not able to recover from suspend and hibernateLinuxMint15: Suspend to RAM not workingLinux Mint 15: Oliva can't wake from suspend/hibernate?How to run systemd user service to trigger on sleep (aka. suspend, hibernate)?how to identify process which blocks suspend/hibernateDebian 8 hibernate and suspend not workingDegraded areas of some user interfaces, including pixellated or jagged fontsDebian, closing lid, want hibernate instead of suspendNo internet on Debian Testing after resuming from suspend/hibernatei915 Intel Skylake: System-freeze after wake up from hibernate (suspend to disk)






.everyoneloves__top-leaderboard:empty,.everyoneloves__mid-leaderboard:empty,.everyoneloves__bot-mid-leaderboard:empty{ margin-bottom:0;
}







0















Background



Lumina offers a Suspend option, which works.



KDE Plasma 4 offers Sleep and Hibernate options, neither of which work.



As suspend to RAM can work with Lumina, so I'd like to try the same with KDE.



The question



Are there command-line approaches to sleep (suspend to RAM) and hibernate (suspend to disk)?



Software



PC-BSD 11.0-CURRENTMAR2016 (based on FreeBSD) with upower and Lumina release 0.8.8_2,1.



[graham@macbookpro82] ~% pkg -v upower
1.6.4
[graham@macbookpro82]




[graham@macbookpro82] ~% pkg info lumina                                                                                                                                                                   
lumina-0.8.8_2,1
Name : lumina
Version : 0.8.8_2,1
Installed on : Wed Mar 9 13:31:37 2016 GMT
Origin : x11/lumina
Architecture : freebsd:11:x86:64
Prefix : /usr/local
Categories : x11
Licenses : BSD3CLAUSE
Maintainer : kmoore@FreeBSD.org
WWW : http://lumina-desktop.org
Comment : Lumina Desktop Environment
Options :
MULTIMEDIA : on
PCBSD : on
Shared Libs required:
libxcb-composite.so.0
libxcb-damage.so.0
libQt5X11Extras.so.5
libQt5Gui.so.5
libQt5Core.so.5
libxcb-ewmh.so.2
libGL.so.1
libXdamage.so.1
libxcb-image.so.0
libQt5Concurrent.so.5
libQt5Widgets.so.5
libxcb-util.so.1
libQt5Network.so.5
libxcb-icccm.so.4
libQt5Multimedia.so.5
libQt5Svg.so.5
libxcb.so.1
libQt5MultimediaWidgets.so.5
Shared Libs provided:
libLuminaUtils.so.1
Annotations :
icon : "http://www.pcbsd.org/appcafe/icons/x11_lumina.png"
repo_type : binary
repository : pcbsd-major
screen1 : "http://www.pcbsd.org/appcafe/screenshots/x11/lumina/screen1.png"
Flat size : 11.8MiB
Description :
Lumina-DE is a lightweight, BSD licensed desktop environment,
designed specifically for use on FreeBSD

WWW: http://lumina-desktop.org
[graham@macbookpro82] ~%


KDE



[graham@macbookpro82] ~% pkg info pcbsd-meta-kde
pcbsd-meta-kde-1429798531
Name : pcbsd-meta-kde
Version : 1429798531
Installed on : Wed Mar 9 14:25:06 2016 GMT
Origin : misc/pcbsd-meta-kde
Architecture : freebsd:11:x86:64
Prefix : /usr/local
Categories : misc
Licenses :
Maintainer : kris@pcbsd.org
WWW : http://www.pcbsd.org
Comment : The meta-port pcbsd-meta-kde
Annotations :
icon : "http://www.pcbsd.org/appcafe/icons/misc_pcbsd-meta-kde.png"
repo_type : binary
repository : pcbsd-major
screen1 : "http://upload.wikimedia.org/wikipedia/commons/thumb/5/54/KDE_4.png/1024px-KDE_4.png"
Flat size : 0.00B
Description :
The meta-port for PC-BSD meta-pkg kde

WWW: http://www.pcbsd.org
[graham@macbookpro82] ~%


Hardware



Apple notebook, early 2011 MacBookPro8,2




  • MacBook Pro (15-inch, Early 2011) - Technical Specifications

  • MacBook Pro "Core i7" 2.0 15" Early 2011 Specs (Early 2011 15", MC721LL/A, MacBookPro8,2, A1286, 2353-1*) @ EveryMac.com


It's currently without a battery, so hibernation is particularly desirable. (If I can get sleep or hibernation to work with KDE Plasma 4 on PC-BSD, then I'll arrange a replacement battery.)



Notes



[graham@macbookpro82] ~% pkg search power | grep manage
gnome-power-manager-3.18.0 Power management system for the GNOME Desktop
mate-power-manager-1.12.1 Power management system for the MATE Desktop
upower-0.99.3 D-Bus daemon for simplifying power management tasks
xfce4-power-manager-1.5.2 Power manager for the Xfce Desktop
[graham@macbookpro82] ~% pkg search suspend
p5-Thread-Suspend-1.22_1 Suspend and resume operations for threads
[graham@macbookpro82] ~% pkg search sleep
vdr-plugin-sleeptimer-0.8.2_5 Video Disk Recorder - sleep timer plugin
[graham@macbookpro82] ~% pkg search hibernat
[graham@macbookpro82] ~% freebsd-version ; uname -a
11.0-CURRENTMAR2016
FreeBSD macbookpro82 11.0-CURRENTMAR2016 FreeBSD 11.0-CURRENTMAR2016 #0 e0cb0b6(freebsd-base-graphics): Sat Feb 27 01:01:50 UTC 2016 root@devastator:/usr/obj/tmp/build/80Wd/pcb sd/git/freebsd/sys/GENERIC amd64
[graham@macbookpro82] ~%


FreeBSD 10.2 manual pages:




  • upower(1)

  • UPower(7)










share|improve this question














bumped to the homepage by Community 56 mins ago


This question has answers that may be good or bad; the system has marked it active so that they can be reviewed.











  • 1





    Maybe wiki.freebsd.org/SuspendResume will help on how to use the CLI on FreeBSD or derivatives for suspend/resume.

    – schaiba
    Mar 11 '16 at 11:30




















0















Background



Lumina offers a Suspend option, which works.



KDE Plasma 4 offers Sleep and Hibernate options, neither of which work.



As suspend to RAM can work with Lumina, so I'd like to try the same with KDE.



The question



Are there command-line approaches to sleep (suspend to RAM) and hibernate (suspend to disk)?



Software



PC-BSD 11.0-CURRENTMAR2016 (based on FreeBSD) with upower and Lumina release 0.8.8_2,1.



[graham@macbookpro82] ~% pkg -v upower
1.6.4
[graham@macbookpro82]




[graham@macbookpro82] ~% pkg info lumina                                                                                                                                                                   
lumina-0.8.8_2,1
Name : lumina
Version : 0.8.8_2,1
Installed on : Wed Mar 9 13:31:37 2016 GMT
Origin : x11/lumina
Architecture : freebsd:11:x86:64
Prefix : /usr/local
Categories : x11
Licenses : BSD3CLAUSE
Maintainer : kmoore@FreeBSD.org
WWW : http://lumina-desktop.org
Comment : Lumina Desktop Environment
Options :
MULTIMEDIA : on
PCBSD : on
Shared Libs required:
libxcb-composite.so.0
libxcb-damage.so.0
libQt5X11Extras.so.5
libQt5Gui.so.5
libQt5Core.so.5
libxcb-ewmh.so.2
libGL.so.1
libXdamage.so.1
libxcb-image.so.0
libQt5Concurrent.so.5
libQt5Widgets.so.5
libxcb-util.so.1
libQt5Network.so.5
libxcb-icccm.so.4
libQt5Multimedia.so.5
libQt5Svg.so.5
libxcb.so.1
libQt5MultimediaWidgets.so.5
Shared Libs provided:
libLuminaUtils.so.1
Annotations :
icon : "http://www.pcbsd.org/appcafe/icons/x11_lumina.png"
repo_type : binary
repository : pcbsd-major
screen1 : "http://www.pcbsd.org/appcafe/screenshots/x11/lumina/screen1.png"
Flat size : 11.8MiB
Description :
Lumina-DE is a lightweight, BSD licensed desktop environment,
designed specifically for use on FreeBSD

WWW: http://lumina-desktop.org
[graham@macbookpro82] ~%


KDE



[graham@macbookpro82] ~% pkg info pcbsd-meta-kde
pcbsd-meta-kde-1429798531
Name : pcbsd-meta-kde
Version : 1429798531
Installed on : Wed Mar 9 14:25:06 2016 GMT
Origin : misc/pcbsd-meta-kde
Architecture : freebsd:11:x86:64
Prefix : /usr/local
Categories : misc
Licenses :
Maintainer : kris@pcbsd.org
WWW : http://www.pcbsd.org
Comment : The meta-port pcbsd-meta-kde
Annotations :
icon : "http://www.pcbsd.org/appcafe/icons/misc_pcbsd-meta-kde.png"
repo_type : binary
repository : pcbsd-major
screen1 : "http://upload.wikimedia.org/wikipedia/commons/thumb/5/54/KDE_4.png/1024px-KDE_4.png"
Flat size : 0.00B
Description :
The meta-port for PC-BSD meta-pkg kde

WWW: http://www.pcbsd.org
[graham@macbookpro82] ~%


Hardware



Apple notebook, early 2011 MacBookPro8,2




  • MacBook Pro (15-inch, Early 2011) - Technical Specifications

  • MacBook Pro "Core i7" 2.0 15" Early 2011 Specs (Early 2011 15", MC721LL/A, MacBookPro8,2, A1286, 2353-1*) @ EveryMac.com


It's currently without a battery, so hibernation is particularly desirable. (If I can get sleep or hibernation to work with KDE Plasma 4 on PC-BSD, then I'll arrange a replacement battery.)



Notes



[graham@macbookpro82] ~% pkg search power | grep manage
gnome-power-manager-3.18.0 Power management system for the GNOME Desktop
mate-power-manager-1.12.1 Power management system for the MATE Desktop
upower-0.99.3 D-Bus daemon for simplifying power management tasks
xfce4-power-manager-1.5.2 Power manager for the Xfce Desktop
[graham@macbookpro82] ~% pkg search suspend
p5-Thread-Suspend-1.22_1 Suspend and resume operations for threads
[graham@macbookpro82] ~% pkg search sleep
vdr-plugin-sleeptimer-0.8.2_5 Video Disk Recorder - sleep timer plugin
[graham@macbookpro82] ~% pkg search hibernat
[graham@macbookpro82] ~% freebsd-version ; uname -a
11.0-CURRENTMAR2016
FreeBSD macbookpro82 11.0-CURRENTMAR2016 FreeBSD 11.0-CURRENTMAR2016 #0 e0cb0b6(freebsd-base-graphics): Sat Feb 27 01:01:50 UTC 2016 root@devastator:/usr/obj/tmp/build/80Wd/pcb sd/git/freebsd/sys/GENERIC amd64
[graham@macbookpro82] ~%


FreeBSD 10.2 manual pages:




  • upower(1)

  • UPower(7)










share|improve this question














bumped to the homepage by Community 56 mins ago


This question has answers that may be good or bad; the system has marked it active so that they can be reviewed.











  • 1





    Maybe wiki.freebsd.org/SuspendResume will help on how to use the CLI on FreeBSD or derivatives for suspend/resume.

    – schaiba
    Mar 11 '16 at 11:30
















0












0








0








Background



Lumina offers a Suspend option, which works.



KDE Plasma 4 offers Sleep and Hibernate options, neither of which work.



As suspend to RAM can work with Lumina, so I'd like to try the same with KDE.



The question



Are there command-line approaches to sleep (suspend to RAM) and hibernate (suspend to disk)?



Software



PC-BSD 11.0-CURRENTMAR2016 (based on FreeBSD) with upower and Lumina release 0.8.8_2,1.



[graham@macbookpro82] ~% pkg -v upower
1.6.4
[graham@macbookpro82]




[graham@macbookpro82] ~% pkg info lumina                                                                                                                                                                   
lumina-0.8.8_2,1
Name : lumina
Version : 0.8.8_2,1
Installed on : Wed Mar 9 13:31:37 2016 GMT
Origin : x11/lumina
Architecture : freebsd:11:x86:64
Prefix : /usr/local
Categories : x11
Licenses : BSD3CLAUSE
Maintainer : kmoore@FreeBSD.org
WWW : http://lumina-desktop.org
Comment : Lumina Desktop Environment
Options :
MULTIMEDIA : on
PCBSD : on
Shared Libs required:
libxcb-composite.so.0
libxcb-damage.so.0
libQt5X11Extras.so.5
libQt5Gui.so.5
libQt5Core.so.5
libxcb-ewmh.so.2
libGL.so.1
libXdamage.so.1
libxcb-image.so.0
libQt5Concurrent.so.5
libQt5Widgets.so.5
libxcb-util.so.1
libQt5Network.so.5
libxcb-icccm.so.4
libQt5Multimedia.so.5
libQt5Svg.so.5
libxcb.so.1
libQt5MultimediaWidgets.so.5
Shared Libs provided:
libLuminaUtils.so.1
Annotations :
icon : "http://www.pcbsd.org/appcafe/icons/x11_lumina.png"
repo_type : binary
repository : pcbsd-major
screen1 : "http://www.pcbsd.org/appcafe/screenshots/x11/lumina/screen1.png"
Flat size : 11.8MiB
Description :
Lumina-DE is a lightweight, BSD licensed desktop environment,
designed specifically for use on FreeBSD

WWW: http://lumina-desktop.org
[graham@macbookpro82] ~%


KDE



[graham@macbookpro82] ~% pkg info pcbsd-meta-kde
pcbsd-meta-kde-1429798531
Name : pcbsd-meta-kde
Version : 1429798531
Installed on : Wed Mar 9 14:25:06 2016 GMT
Origin : misc/pcbsd-meta-kde
Architecture : freebsd:11:x86:64
Prefix : /usr/local
Categories : misc
Licenses :
Maintainer : kris@pcbsd.org
WWW : http://www.pcbsd.org
Comment : The meta-port pcbsd-meta-kde
Annotations :
icon : "http://www.pcbsd.org/appcafe/icons/misc_pcbsd-meta-kde.png"
repo_type : binary
repository : pcbsd-major
screen1 : "http://upload.wikimedia.org/wikipedia/commons/thumb/5/54/KDE_4.png/1024px-KDE_4.png"
Flat size : 0.00B
Description :
The meta-port for PC-BSD meta-pkg kde

WWW: http://www.pcbsd.org
[graham@macbookpro82] ~%


Hardware



Apple notebook, early 2011 MacBookPro8,2




  • MacBook Pro (15-inch, Early 2011) - Technical Specifications

  • MacBook Pro "Core i7" 2.0 15" Early 2011 Specs (Early 2011 15", MC721LL/A, MacBookPro8,2, A1286, 2353-1*) @ EveryMac.com


It's currently without a battery, so hibernation is particularly desirable. (If I can get sleep or hibernation to work with KDE Plasma 4 on PC-BSD, then I'll arrange a replacement battery.)



Notes



[graham@macbookpro82] ~% pkg search power | grep manage
gnome-power-manager-3.18.0 Power management system for the GNOME Desktop
mate-power-manager-1.12.1 Power management system for the MATE Desktop
upower-0.99.3 D-Bus daemon for simplifying power management tasks
xfce4-power-manager-1.5.2 Power manager for the Xfce Desktop
[graham@macbookpro82] ~% pkg search suspend
p5-Thread-Suspend-1.22_1 Suspend and resume operations for threads
[graham@macbookpro82] ~% pkg search sleep
vdr-plugin-sleeptimer-0.8.2_5 Video Disk Recorder - sleep timer plugin
[graham@macbookpro82] ~% pkg search hibernat
[graham@macbookpro82] ~% freebsd-version ; uname -a
11.0-CURRENTMAR2016
FreeBSD macbookpro82 11.0-CURRENTMAR2016 FreeBSD 11.0-CURRENTMAR2016 #0 e0cb0b6(freebsd-base-graphics): Sat Feb 27 01:01:50 UTC 2016 root@devastator:/usr/obj/tmp/build/80Wd/pcb sd/git/freebsd/sys/GENERIC amd64
[graham@macbookpro82] ~%


FreeBSD 10.2 manual pages:




  • upower(1)

  • UPower(7)










share|improve this question














Background



Lumina offers a Suspend option, which works.



KDE Plasma 4 offers Sleep and Hibernate options, neither of which work.



As suspend to RAM can work with Lumina, so I'd like to try the same with KDE.



The question



Are there command-line approaches to sleep (suspend to RAM) and hibernate (suspend to disk)?



Software



PC-BSD 11.0-CURRENTMAR2016 (based on FreeBSD) with upower and Lumina release 0.8.8_2,1.



[graham@macbookpro82] ~% pkg -v upower
1.6.4
[graham@macbookpro82]




[graham@macbookpro82] ~% pkg info lumina                                                                                                                                                                   
lumina-0.8.8_2,1
Name : lumina
Version : 0.8.8_2,1
Installed on : Wed Mar 9 13:31:37 2016 GMT
Origin : x11/lumina
Architecture : freebsd:11:x86:64
Prefix : /usr/local
Categories : x11
Licenses : BSD3CLAUSE
Maintainer : kmoore@FreeBSD.org
WWW : http://lumina-desktop.org
Comment : Lumina Desktop Environment
Options :
MULTIMEDIA : on
PCBSD : on
Shared Libs required:
libxcb-composite.so.0
libxcb-damage.so.0
libQt5X11Extras.so.5
libQt5Gui.so.5
libQt5Core.so.5
libxcb-ewmh.so.2
libGL.so.1
libXdamage.so.1
libxcb-image.so.0
libQt5Concurrent.so.5
libQt5Widgets.so.5
libxcb-util.so.1
libQt5Network.so.5
libxcb-icccm.so.4
libQt5Multimedia.so.5
libQt5Svg.so.5
libxcb.so.1
libQt5MultimediaWidgets.so.5
Shared Libs provided:
libLuminaUtils.so.1
Annotations :
icon : "http://www.pcbsd.org/appcafe/icons/x11_lumina.png"
repo_type : binary
repository : pcbsd-major
screen1 : "http://www.pcbsd.org/appcafe/screenshots/x11/lumina/screen1.png"
Flat size : 11.8MiB
Description :
Lumina-DE is a lightweight, BSD licensed desktop environment,
designed specifically for use on FreeBSD

WWW: http://lumina-desktop.org
[graham@macbookpro82] ~%


KDE



[graham@macbookpro82] ~% pkg info pcbsd-meta-kde
pcbsd-meta-kde-1429798531
Name : pcbsd-meta-kde
Version : 1429798531
Installed on : Wed Mar 9 14:25:06 2016 GMT
Origin : misc/pcbsd-meta-kde
Architecture : freebsd:11:x86:64
Prefix : /usr/local
Categories : misc
Licenses :
Maintainer : kris@pcbsd.org
WWW : http://www.pcbsd.org
Comment : The meta-port pcbsd-meta-kde
Annotations :
icon : "http://www.pcbsd.org/appcafe/icons/misc_pcbsd-meta-kde.png"
repo_type : binary
repository : pcbsd-major
screen1 : "http://upload.wikimedia.org/wikipedia/commons/thumb/5/54/KDE_4.png/1024px-KDE_4.png"
Flat size : 0.00B
Description :
The meta-port for PC-BSD meta-pkg kde

WWW: http://www.pcbsd.org
[graham@macbookpro82] ~%


Hardware



Apple notebook, early 2011 MacBookPro8,2




  • MacBook Pro (15-inch, Early 2011) - Technical Specifications

  • MacBook Pro "Core i7" 2.0 15" Early 2011 Specs (Early 2011 15", MC721LL/A, MacBookPro8,2, A1286, 2353-1*) @ EveryMac.com


It's currently without a battery, so hibernation is particularly desirable. (If I can get sleep or hibernation to work with KDE Plasma 4 on PC-BSD, then I'll arrange a replacement battery.)



Notes



[graham@macbookpro82] ~% pkg search power | grep manage
gnome-power-manager-3.18.0 Power management system for the GNOME Desktop
mate-power-manager-1.12.1 Power management system for the MATE Desktop
upower-0.99.3 D-Bus daemon for simplifying power management tasks
xfce4-power-manager-1.5.2 Power manager for the Xfce Desktop
[graham@macbookpro82] ~% pkg search suspend
p5-Thread-Suspend-1.22_1 Suspend and resume operations for threads
[graham@macbookpro82] ~% pkg search sleep
vdr-plugin-sleeptimer-0.8.2_5 Video Disk Recorder - sleep timer plugin
[graham@macbookpro82] ~% pkg search hibernat
[graham@macbookpro82] ~% freebsd-version ; uname -a
11.0-CURRENTMAR2016
FreeBSD macbookpro82 11.0-CURRENTMAR2016 FreeBSD 11.0-CURRENTMAR2016 #0 e0cb0b6(freebsd-base-graphics): Sat Feb 27 01:01:50 UTC 2016 root@devastator:/usr/obj/tmp/build/80Wd/pcb sd/git/freebsd/sys/GENERIC amd64
[graham@macbookpro82] ~%


FreeBSD 10.2 manual pages:




  • upower(1)

  • UPower(7)







freebsd suspend pc-bsd






share|improve this question













share|improve this question











share|improve this question




share|improve this question










asked Mar 11 '16 at 10:42









Graham PerrinGraham Perrin

190123




190123





bumped to the homepage by Community 56 mins ago


This question has answers that may be good or bad; the system has marked it active so that they can be reviewed.







bumped to the homepage by Community 56 mins ago


This question has answers that may be good or bad; the system has marked it active so that they can be reviewed.










  • 1





    Maybe wiki.freebsd.org/SuspendResume will help on how to use the CLI on FreeBSD or derivatives for suspend/resume.

    – schaiba
    Mar 11 '16 at 11:30
















  • 1





    Maybe wiki.freebsd.org/SuspendResume will help on how to use the CLI on FreeBSD or derivatives for suspend/resume.

    – schaiba
    Mar 11 '16 at 11:30










1




1





Maybe wiki.freebsd.org/SuspendResume will help on how to use the CLI on FreeBSD or derivatives for suspend/resume.

– schaiba
Mar 11 '16 at 11:30







Maybe wiki.freebsd.org/SuspendResume will help on how to use the CLI on FreeBSD or derivatives for suspend/resume.

– schaiba
Mar 11 '16 at 11:30












1 Answer
1






active

oldest

votes


















0















SuspendResume - FreeBSD Wiki (Suspend/Resume – 2014-10-06)



Thanks to @schaiba for the hint.



acpiconf(8)



Option -h does not work as described in the manual page –



$ date ; freebsd-version ; uname -a
13 March 2016 at 15:29:23 GMT
11.0-CURRENTMAR2016
FreeBSD macbookpro82 11.0-CURRENTMAR2016 FreeBSD 11.0-CURRENTMAR2016 #0 e0cb0b6(freebsd-base-graphics): Sat Feb 27 01:01:50 UTC 2016 root@devastator:/usr/obj/tmp/build/80Wd/pcbsd/git/freebsd/sys/GENERIC amd64
$ acpiconf -h
usage: acpiconf [-h] [-i batt] [-k ack] [-s 1-4]
$


– but sleep mode 3 can be tested:




… the CPU context is lost and memory context is preserved …




The wiki directs users to test without X.



It's also possible to test whilst the X Window System runs so, for example, in a terminal window:



sudo acpiconf -s 3



If, following sleep, the resumed screen is illegible, a press of the power button may perform an ACPI shut down.



Hibernation



My test of sleep mode 4 with a MacBookPro8,2 effectively stopped the computer, with no resume, but according to the wiki that's expected with FreeBSD:




… We don't yet have the necessary infrastructure in place to make suspend to disk work on amd64 or i386. …






The FreeBSD Laptop Compatibility List



Linked from the Suspend/Resume page in the FreeBSD wiki, but no longer served from https://laptop.bsdgroup.de/freebsd/index.html



At http://web.archive.org/web/20130705054229/http://laptop.bsdgroup.de/freebsd/index.html some of the compatibility list content is archived. Not all – for example, of the three listings for Apple products, two of the linked pages are not archived.






share|improve this answer
























  • KDE Plasma 4 on PC-BSD 11.0-CURRENTMAR2016: following acpiconf -s 3 in vty 2, sleep then resume produces a KDE screen that is illegible.

    – Graham Perrin
    Mar 13 '16 at 16:06












Your Answer








StackExchange.ready(function() {
var channelOptions = {
tags: "".split(" "),
id: "106"
};
initTagRenderer("".split(" "), "".split(" "), channelOptions);

StackExchange.using("externalEditor", function() {
// Have to fire editor after snippets, if snippets enabled
if (StackExchange.settings.snippets.snippetsEnabled) {
StackExchange.using("snippets", function() {
createEditor();
});
}
else {
createEditor();
}
});

function createEditor() {
StackExchange.prepareEditor({
heartbeatType: 'answer',
autoActivateHeartbeat: false,
convertImagesToLinks: false,
noModals: true,
showLowRepImageUploadWarning: true,
reputationToPostImages: null,
bindNavPrevention: true,
postfix: "",
imageUploader: {
brandingHtml: "Powered by u003ca class="icon-imgur-white" href="https://imgur.com/"u003eu003c/au003e",
contentPolicyHtml: "User contributions licensed under u003ca href="https://creativecommons.org/licenses/by-sa/3.0/"u003ecc by-sa 3.0 with attribution requiredu003c/au003e u003ca href="https://stackoverflow.com/legal/content-policy"u003e(content policy)u003c/au003e",
allowUrls: true
},
onDemand: true,
discardSelector: ".discard-answer"
,immediatelyShowMarkdownHelp:true
});


}
});














draft saved

draft discarded


















StackExchange.ready(
function () {
StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2funix.stackexchange.com%2fquestions%2f269129%2fpc-bsd-command-line-approaches-to-sleep-suspend-to-ram-and-hibernate-suspend%23new-answer', 'question_page');
}
);

Post as a guest















Required, but never shown

























1 Answer
1






active

oldest

votes








1 Answer
1






active

oldest

votes









active

oldest

votes






active

oldest

votes









0















SuspendResume - FreeBSD Wiki (Suspend/Resume – 2014-10-06)



Thanks to @schaiba for the hint.



acpiconf(8)



Option -h does not work as described in the manual page –



$ date ; freebsd-version ; uname -a
13 March 2016 at 15:29:23 GMT
11.0-CURRENTMAR2016
FreeBSD macbookpro82 11.0-CURRENTMAR2016 FreeBSD 11.0-CURRENTMAR2016 #0 e0cb0b6(freebsd-base-graphics): Sat Feb 27 01:01:50 UTC 2016 root@devastator:/usr/obj/tmp/build/80Wd/pcbsd/git/freebsd/sys/GENERIC amd64
$ acpiconf -h
usage: acpiconf [-h] [-i batt] [-k ack] [-s 1-4]
$


– but sleep mode 3 can be tested:




… the CPU context is lost and memory context is preserved …




The wiki directs users to test without X.



It's also possible to test whilst the X Window System runs so, for example, in a terminal window:



sudo acpiconf -s 3



If, following sleep, the resumed screen is illegible, a press of the power button may perform an ACPI shut down.



Hibernation



My test of sleep mode 4 with a MacBookPro8,2 effectively stopped the computer, with no resume, but according to the wiki that's expected with FreeBSD:




… We don't yet have the necessary infrastructure in place to make suspend to disk work on amd64 or i386. …






The FreeBSD Laptop Compatibility List



Linked from the Suspend/Resume page in the FreeBSD wiki, but no longer served from https://laptop.bsdgroup.de/freebsd/index.html



At http://web.archive.org/web/20130705054229/http://laptop.bsdgroup.de/freebsd/index.html some of the compatibility list content is archived. Not all – for example, of the three listings for Apple products, two of the linked pages are not archived.






share|improve this answer
























  • KDE Plasma 4 on PC-BSD 11.0-CURRENTMAR2016: following acpiconf -s 3 in vty 2, sleep then resume produces a KDE screen that is illegible.

    – Graham Perrin
    Mar 13 '16 at 16:06
















0















SuspendResume - FreeBSD Wiki (Suspend/Resume – 2014-10-06)



Thanks to @schaiba for the hint.



acpiconf(8)



Option -h does not work as described in the manual page –



$ date ; freebsd-version ; uname -a
13 March 2016 at 15:29:23 GMT
11.0-CURRENTMAR2016
FreeBSD macbookpro82 11.0-CURRENTMAR2016 FreeBSD 11.0-CURRENTMAR2016 #0 e0cb0b6(freebsd-base-graphics): Sat Feb 27 01:01:50 UTC 2016 root@devastator:/usr/obj/tmp/build/80Wd/pcbsd/git/freebsd/sys/GENERIC amd64
$ acpiconf -h
usage: acpiconf [-h] [-i batt] [-k ack] [-s 1-4]
$


– but sleep mode 3 can be tested:




… the CPU context is lost and memory context is preserved …




The wiki directs users to test without X.



It's also possible to test whilst the X Window System runs so, for example, in a terminal window:



sudo acpiconf -s 3



If, following sleep, the resumed screen is illegible, a press of the power button may perform an ACPI shut down.



Hibernation



My test of sleep mode 4 with a MacBookPro8,2 effectively stopped the computer, with no resume, but according to the wiki that's expected with FreeBSD:




… We don't yet have the necessary infrastructure in place to make suspend to disk work on amd64 or i386. …






The FreeBSD Laptop Compatibility List



Linked from the Suspend/Resume page in the FreeBSD wiki, but no longer served from https://laptop.bsdgroup.de/freebsd/index.html



At http://web.archive.org/web/20130705054229/http://laptop.bsdgroup.de/freebsd/index.html some of the compatibility list content is archived. Not all – for example, of the three listings for Apple products, two of the linked pages are not archived.






share|improve this answer
























  • KDE Plasma 4 on PC-BSD 11.0-CURRENTMAR2016: following acpiconf -s 3 in vty 2, sleep then resume produces a KDE screen that is illegible.

    – Graham Perrin
    Mar 13 '16 at 16:06














0












0








0








SuspendResume - FreeBSD Wiki (Suspend/Resume – 2014-10-06)



Thanks to @schaiba for the hint.



acpiconf(8)



Option -h does not work as described in the manual page –



$ date ; freebsd-version ; uname -a
13 March 2016 at 15:29:23 GMT
11.0-CURRENTMAR2016
FreeBSD macbookpro82 11.0-CURRENTMAR2016 FreeBSD 11.0-CURRENTMAR2016 #0 e0cb0b6(freebsd-base-graphics): Sat Feb 27 01:01:50 UTC 2016 root@devastator:/usr/obj/tmp/build/80Wd/pcbsd/git/freebsd/sys/GENERIC amd64
$ acpiconf -h
usage: acpiconf [-h] [-i batt] [-k ack] [-s 1-4]
$


– but sleep mode 3 can be tested:




… the CPU context is lost and memory context is preserved …




The wiki directs users to test without X.



It's also possible to test whilst the X Window System runs so, for example, in a terminal window:



sudo acpiconf -s 3



If, following sleep, the resumed screen is illegible, a press of the power button may perform an ACPI shut down.



Hibernation



My test of sleep mode 4 with a MacBookPro8,2 effectively stopped the computer, with no resume, but according to the wiki that's expected with FreeBSD:




… We don't yet have the necessary infrastructure in place to make suspend to disk work on amd64 or i386. …






The FreeBSD Laptop Compatibility List



Linked from the Suspend/Resume page in the FreeBSD wiki, but no longer served from https://laptop.bsdgroup.de/freebsd/index.html



At http://web.archive.org/web/20130705054229/http://laptop.bsdgroup.de/freebsd/index.html some of the compatibility list content is archived. Not all – for example, of the three listings for Apple products, two of the linked pages are not archived.






share|improve this answer














SuspendResume - FreeBSD Wiki (Suspend/Resume – 2014-10-06)



Thanks to @schaiba for the hint.



acpiconf(8)



Option -h does not work as described in the manual page –



$ date ; freebsd-version ; uname -a
13 March 2016 at 15:29:23 GMT
11.0-CURRENTMAR2016
FreeBSD macbookpro82 11.0-CURRENTMAR2016 FreeBSD 11.0-CURRENTMAR2016 #0 e0cb0b6(freebsd-base-graphics): Sat Feb 27 01:01:50 UTC 2016 root@devastator:/usr/obj/tmp/build/80Wd/pcbsd/git/freebsd/sys/GENERIC amd64
$ acpiconf -h
usage: acpiconf [-h] [-i batt] [-k ack] [-s 1-4]
$


– but sleep mode 3 can be tested:




… the CPU context is lost and memory context is preserved …




The wiki directs users to test without X.



It's also possible to test whilst the X Window System runs so, for example, in a terminal window:



sudo acpiconf -s 3



If, following sleep, the resumed screen is illegible, a press of the power button may perform an ACPI shut down.



Hibernation



My test of sleep mode 4 with a MacBookPro8,2 effectively stopped the computer, with no resume, but according to the wiki that's expected with FreeBSD:




… We don't yet have the necessary infrastructure in place to make suspend to disk work on amd64 or i386. …






The FreeBSD Laptop Compatibility List



Linked from the Suspend/Resume page in the FreeBSD wiki, but no longer served from https://laptop.bsdgroup.de/freebsd/index.html



At http://web.archive.org/web/20130705054229/http://laptop.bsdgroup.de/freebsd/index.html some of the compatibility list content is archived. Not all – for example, of the three listings for Apple products, two of the linked pages are not archived.







share|improve this answer












share|improve this answer



share|improve this answer










answered Mar 13 '16 at 16:01









Graham PerrinGraham Perrin

190123




190123













  • KDE Plasma 4 on PC-BSD 11.0-CURRENTMAR2016: following acpiconf -s 3 in vty 2, sleep then resume produces a KDE screen that is illegible.

    – Graham Perrin
    Mar 13 '16 at 16:06



















  • KDE Plasma 4 on PC-BSD 11.0-CURRENTMAR2016: following acpiconf -s 3 in vty 2, sleep then resume produces a KDE screen that is illegible.

    – Graham Perrin
    Mar 13 '16 at 16:06

















KDE Plasma 4 on PC-BSD 11.0-CURRENTMAR2016: following acpiconf -s 3 in vty 2, sleep then resume produces a KDE screen that is illegible.

– Graham Perrin
Mar 13 '16 at 16:06





KDE Plasma 4 on PC-BSD 11.0-CURRENTMAR2016: following acpiconf -s 3 in vty 2, sleep then resume produces a KDE screen that is illegible.

– Graham Perrin
Mar 13 '16 at 16:06


















draft saved

draft discarded




















































Thanks for contributing an answer to Unix & Linux Stack Exchange!


  • Please be sure to answer the question. Provide details and share your research!

But avoid



  • Asking for help, clarification, or responding to other answers.

  • Making statements based on opinion; back them up with references or personal experience.


To learn more, see our tips on writing great answers.




draft saved


draft discarded














StackExchange.ready(
function () {
StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2funix.stackexchange.com%2fquestions%2f269129%2fpc-bsd-command-line-approaches-to-sleep-suspend-to-ram-and-hibernate-suspend%23new-answer', 'question_page');
}
);

Post as a guest















Required, but never shown





















































Required, but never shown














Required, but never shown












Required, but never shown







Required, but never shown

































Required, but never shown














Required, but never shown












Required, but never shown







Required, but never shown







Popular posts from this blog

Taj Mahal Inhaltsverzeichnis Aufbau | Geschichte | 350-Jahr-Feier | Heutige Bedeutung | Siehe auch |...

Baia Sprie Cuprins Etimologie | Istorie | Demografie | Politică și administrație | Arii naturale...

Nicolae Petrescu-Găină Cuprins Biografie | Opera | In memoriam | Varia | Controverse, incertitudini...