View previous topic :: View next topic |
Author |
Message |
slackline Veteran
Joined: 01 Apr 2005 Posts: 1471 Location: /uk/sheffield
|
Posted: Mon Dec 31, 2012 9:06 pm Post subject: [SOLVED] Xfce4 Power Manager Hibernate |
|
|
Hi,
I've followed the Unofficial Gentoo Wiki Userspace Suspend to implement hibernation on an Asus UX21e because xfce-extra/xfce4-power-manager always had the "Hibernate" option greyed out/unavailable. Suspend to RAM worked fine using this and it could control the same on lid closure. This was ok, but it only lasted in suspend for a day or so and given its got an SSD I wanted to hibernate to disk as start up shouldn't be too much slower and power efficiency a lot longer given its turned off.
Hibernates and suspends fine from the command line after following the HowTo (including custom initramfs), but still no Hibernate option in the Xfce4 Power Manager utility.
I found this thread but nothing really that was of any use.
I get the following suggesting that I'm authorised to hibernate but can't for some reason, although based on the above linked thread consolekit is both active and local as required.
Code: |
$ cat tmp/xfce4-power-manager-dump
---------------------------------------------------
Xfce power manager version 1.2.0
With policykit support
With network manager support
With DPMS support
---------------------------------------------------
Can suspend: True
Can hibernate: False
Can spin down hard disks: True
Authorized to suspend: True
Authorized to hibernate: True
Authorized to shutdown: True
Authorized to spin down hard disks: True
Has battery: True
Has brightness panel: True
Has power button: True
Has hibernate button: True
Has sleep button: True
Has LID: True
|
Code: | $ ck-list-sessions
Session2:
unix-user = '1000'
realname = '(null)'
seat = 'Seat1'
session-type = ''
active = TRUE
x11-display = ':0'
x11-display-device = '/dev/tty7'
display-device = '/dev/tty7'
remote-host-name = ''
is-local = TRUE
on-since = '2012-12-31T11:04:40.986429Z'
login-session-id = ''
|
Any ideas much appreciated.
Cheers,
slack _________________ "Science is what we understand well enough to explain to a computer. Art is everything else we do." - Donald Knuth
Last edited by slackline on Tue Jan 08, 2013 8:37 am; edited 1 time in total |
|
Back to top |
|
|
slackline Veteran
Joined: 01 Apr 2005 Posts: 1471 Location: /uk/sheffield
|
Posted: Tue Jan 08, 2013 7:43 am Post subject: Re: Xfce4 Power Manager Hibernate |
|
|
slack---line wrote: |
Hibernates and suspends fine from the command line after following the HowTo (including custom initramfs), but still no Hibernate option in the Xfce4 Power Manager utility.
|
Did some digging, and it appears "Hibernate" (to disk) isn't working as the following output from hibernate shows...
Code: |
# hibernate -v3
hibernate: Trying method in tuxonice.conf...
hibernate: Trying method in disk.conf...
hibernate: Trying method in ususpend-disk.conf...
hibernate: Including configuration from common.conf
hibernate: Trying method in sysfs-disk.conf...
hibernate: Including configuration from common.conf
hibernate: Skipping already included config file /etc/hibernate/common.conf
hibernate: Trying method in ram.conf...
hibernate: Trying method in ususpend-ram.conf...
hibernate: Including configuration from common.conf
hibernate: Skipping already included config file /etc/hibernate/common.conf
hibernate: Trying method in sysfs-ram.conf...
hibernate: Including configuration from common.conf
hibernate: Skipping already included config file /etc/hibernate/common.conf
hibernate: [01] Executing CheckLastResume ...
hibernate: [01] Executing CheckRunlevel ...
hibernate: [01] Executing LockFileGet ...
hibernate: [01] Executing NewKernelFileCheck ...
hibernate: [10] Executing EnsureSysfsPowerStateCapable ...
hibernate: [55] Executing MiscLaunchAuxFunc1 ...
Executing sync...
hibernate: [59] Executing RemountXFSBootRO ...
hibernate: [70] Executing ClockSave ...
hibernate: [89] Executing SaveKernelModprobe ...
Saved /proc/sys/kernel/modprobe is /sbin/modprobe
hibernate: [91] Executing ModulesUnloadBlacklist ...
Unloading blacklisted modules listed /etc/hibernate/blacklisted-modules
Module version for ipw2100 is
Module version for ipw2200 is
Module version for snd_bt_sco is
Module version for ndiswrapper is
hibernate: [98] Executing CheckRunlevel ...
hibernate: [98] Executing FullSpeedCPUSuspend ...
Switched to performance, with min freq at 1601000
Switched to performance, with min freq at 1601000
Switched to performance, with min freq at 1601000
Switched to performance, with min freq at 1601000
hibernate: [99] Executing DoSysfsPowerStateSuspend ...
hibernate: Activating sysfs power state mem ...
hibernate: [98] Executing FullSpeedCPUResume ...
hibernate: [91] Executing GentooModulesAutoload ...
hibernate: [90] Executing ModulesLoad ...
hibernate: [89] Executing RestoreKernelModprobe ...
hibernate: [70] Executing ClockRestore ...
hibernate: [59] Executing RemountXFSBootRW ...
hibernate: [01] Executing NoteLastResume ...
hibernate: [01] Executing LockFilePut ...
|
Appears I made a fundamental oversight and didn't enable 'hibernate' support in the kernel, Ooops!
Think I might try out tuxonice though as it supports using a swap file rather than having to have a swap partition (which I'm not using anywhere else and as the laptop only has 128Gb SSD I could do with every bit of space possible).
slack _________________ "Science is what we understand well enough to explain to a computer. Art is everything else we do." - Donald Knuth |
|
Back to top |
|
|
|
|
You cannot post new topics in this forum You cannot reply to topics in this forum You cannot edit your posts in this forum You cannot delete your posts in this forum You cannot vote in polls in this forum
|
|