SlackwareThis Forum is for the discussion of Slackware Linux.
Notices
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
I have a HP pavilion ze5400 that look do not have acpi support (realy strange for a notebook ) and I did like to make my computer sleep, or hibernate, I know about some thing that I compiled in kernel, about saving the current linux stats in a swap partition and using a special option with shutdown command...
And what about my battery status thats have a very big delay to showing the current energy status?? Like, I unplug now my notebook, the monitor shows that Im running on AC power, but it take a very long time to change from 100%... like 20, 30 minutes sometimes, them goes to the right state... but its not to helpfull the battery monitor doing this, can anyone give me some clue?
before using gnome 2.10 i was using kde and i used to hibernate with the klaptop applet under kde. i had to setup helper applications to allow me to hibernate or standby. you also have to edit your lilo.conf file.
add this to your lilo.conf:
after you hibernate and restart your computer just select that kernel entry instead of the normal one you usually use. and that should get you back on your desktop.
as i said earlier on i used the kde klaptop applet to set this up. but once you've succefully hibernated using kde, you can switch back to gnome and i've setup a script that calls the klaptop acpi function from the gnome battery applet.
this is the script
Code:
/opt/kde/bin/klaptop_acpi_helper --hibernate
hope this helps!
Last edited by brokenflea; 07-27-2005 at 07:07 PM.
rkrishna, if you are looking to suspend to ram (i.e., shut the lid and open it and it comes back instantly) then you can do this with acpi if your laptop supports it or, I believe, apm (the older power management). I would look at linux-laptop.net or tuxmobil.org to see if you can find info on your specific laptop and you might find some scripts that you can use.
if you are looking to suspend to disk so you can shut down and hibernate and then boot back up to your restored desktop, then you'll need to patch your kernel per this:
i only just want to know,as usully done in windowsXp,
hibernating the machine for a long time so tht i dont need to switch off the machine as discussed by maginotjr
these are the options what we seewhen we go for shutdown a xp machine....
this is a good option
when i run i am getting
bash-3.00$ echo 1 > /proc/acpi/sleep
bash: /proc/acpi/sleep: No such file or directory
bash-3.00$ su
Password:
bash-3.00# echo 1 > /proc/acpi/sleep
bash: /proc/acpi/sleep: No such file or directory
bash-3.00#
I think this is a general question, so tht we can include this option
that saves a lot power ie why
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.