![]() |
ubuntu.com - launchpad.net - ubuntu help
|
|
|||||||
|
General Help All your general support questions for Ubuntu, Kubuntu, Edubuntu and Xubuntu. |
|
|
Thread Tools | Display Modes |
|
|
#1 |
|
A Carafe of Ubuntu
![]() Join Date: May 2005
Location: Birmingham UK
My beans are hidden!
Ubuntu 9.04 Jaunty Jackalope
|
Minimum needed for hibernate and suspend
Hello all
I've installed stock Ubuntu 9.04 onto an old laptop. Hibernate and suspend are working fine when I set the appropriate settings in the gnome power manager. I'd like to use much lighter software on this 256Mb ram laptop (standing memory use is 90 to 100 Mb and I'm going into swap when running any applications). What is the minimum I need to get hibernate on close lid and suspend working? How do I find out what packages are needed over a cli install? Do I need gdm and the gnome power management stuff? Thanks
__________________
Aleutia E2 (500MHz VIA Eden processor with 1 Gb Ram) Debian Squeeze, SLIM, fluxbox Asus 1000 EeePC Ubuntu 9.04 IBM T42, 1Gb Ram, Ubuntu 9.10 stock install |
|
|
|
|
|
#2 |
|
Chai anyone?
![]() |
Re: Minimum needed for hibernate and suspend
For suspend to RAM, 1.5x RAM is recommended for swap. Hibernation should work with anything, since it hibernates to your HD (not RAM / swap).
No packages are needed over a cli install; it will work just fine (as a cli linux distro). If you want a stripped-down Gnome, then see http://distrowatch.com/weekly.php?is...081215#feature It is designed for Intrepid, but should apply to Jaunty too. If you actually want something lighter, try LXDE: http://ubuntu-lxde.wikidot.com/ Or XFCE (sudo apt-get install xfce4)
__________________
Beginners: Enter Code entries in Terminal | Wifi help? | Multimedia | How to get help here | Enable Repos My sites: Lightweight LXDE-Ubuntu | FreeNAS Home Server| DropBox If you are a beginner - look at the Start here sticky in the Absolute Beginners Forum Get Ubuntu |
|
|
|
|
|
#3 | |
|
A Carafe of Ubuntu
![]() Join Date: May 2005
Location: Birmingham UK
My beans are hidden!
Ubuntu 9.04 Jaunty Jackalope
|
Re: Minimum needed for hibernate and suspend
Quote:
The stock Ubuntu with the full Gnome desktop has hibernate switched off in the power settings. I'm therefore assuming that I have to tell a CLI installation to catch the lid closing event and to hibernate. LXDE is great, and I'm quite into dwm as well.
__________________
Aleutia E2 (500MHz VIA Eden processor with 1 Gb Ram) Debian Squeeze, SLIM, fluxbox Asus 1000 EeePC Ubuntu 9.04 IBM T42, 1Gb Ram, Ubuntu 9.10 stock install |
|
|
|
|
|
|
#4 |
|
WTF?
![]() Join Date: Jul 2006
Location: Lost!
Beans: 7,155
|
Re: Minimum needed for hibernate and suspend
Code:
sudo apt-get install pm-utils uswsusp acpi-support |
|
|
|
|
|
#5 |
|
A Carafe of Ubuntu
![]() Join Date: May 2005
Location: Birmingham UK
My beans are hidden!
Ubuntu 9.04 Jaunty Jackalope
|
Re: Minimum needed for hibernate and suspend
Thanks once again kerry_s. I'll read the man pages once I do a clean CLI install so I know how to enable hibernation.
__________________
Aleutia E2 (500MHz VIA Eden processor with 1 Gb Ram) Debian Squeeze, SLIM, fluxbox Asus 1000 EeePC Ubuntu 9.04 IBM T42, 1Gb Ram, Ubuntu 9.10 stock install |
|
|
|
|
|
#6 |
|
A Carafe of Ubuntu
![]() Join Date: May 2005
Location: Birmingham UK
My beans are hidden!
Ubuntu 9.04 Jaunty Jackalope
|
Re: Minimum needed for hibernate and suspend
Hello All
CLI install from the netinstall cd image for 9.04 Jaunty, then, as suggested by kerri_s Code:
sudo aptitude install pm-utils uswsusp acpi-support Code:
sudo /etc/acpi/hibernate.sh The thread at http://ubuntuforums.org/showthread.php?t=813387 made me aware of a package called powermanagement-interface. Installing that means I can issue a command in a terminal (not sudo) under dwm thus 'pmi action hibernate' and the laptop does and then resumes without any errors. Same command at the CLI prompt before startx results in errors like Code:
Error org.freedesktop.Hal.Device.PermissionDeniedByPolicy...
__________________
Aleutia E2 (500MHz VIA Eden processor with 1 Gb Ram) Debian Squeeze, SLIM, fluxbox Asus 1000 EeePC Ubuntu 9.04 IBM T42, 1Gb Ram, Ubuntu 9.10 stock install |
|
|
|
|
|
#7 |
|
Dipped in Ubuntu
![]() Join Date: Feb 2007
Location: /dev/random
Beans: 647
Ubuntu 8.04 Hardy Heron
|
Re: Minimum needed for hibernate and suspend
Eh what? I believe that you have that backwards: Suspend (CPU to idle, RAM remains powered up so that contents are preserved, ACPI state S3) requires nothing from the HD. Hibernate needs someplace to write RAM to, either a dedicated swap partition or a swap file as the machine is fully powered down in this state (ACPI state S4).
__________________
Main system: Dell 1420n - C2D T5250, 4GB RAM, 120GB SATA. Ubuntu 8.04.3. Assorted VMs (via VBox). Favorites: Fedora, FreeBSD, Solaris. |
|
|
|
|
|
#8 | |
|
WTF?
![]() Join Date: Jul 2006
Location: Lost!
Beans: 7,155
|
Re: Minimum needed for hibernate and suspend
Quote:
MODULES="all" the hal thing, stupid policykit requires a login manager or it can't tell you logged in. the work around i use is to add a line in /etc/PolicyKit/PolicyKit.conf the line is "<return result="yes"/>" what it does it tell it yes to everything,after that you should have no more hal/policykit problems. here's what mine looks like, i still do it even though i don't have problems, it's a "just in case". Code:
<?xml version="1.0" encoding="UTF-8"?> <!-- -*- XML -*- --> <!DOCTYPE pkconfig PUBLIC "-//freedesktop//DTD PolicyKit Configuration 1.0//EN" "http://hal.freedesktop.org/releases/PolicyKit/1.0/config.dtd"> <!-- See the manual page PolicyKit.conf(5) for file format --> <config version="0.1"> <return result="yes"/> </config> |
|
|
|
|
| Bookmarks |
| Tags |
| hibernation, low memory, ubuntu |
| Thread Tools | |
| Display Modes | |
|
|