Bodhi - suspend and/or hibernate - what do they do?
BodhiThis forum is for the discussion of Bodhi 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.
Bodhi - suspend and/or hibernate - what do they do?
Hi,
I am very new to Bodhi. Today, I tried to hibernate my desktop box with Main Menu | System | Hibernate. All I got was a black screen plus mouse cursor and no apparent shut down of box or monitor and no way to recover short of a hard boot. Actually, that may not be true, that's just what I did because I was in a hurry and frustrated.
So, my question is, what is supposed to happen with suspend and with hibernate and how does one recover from each?
Suspend is sending the computer into the standby mode, hibernate is saving the state of the computer to the swap partition and shutting down the machine completely. For hibernate to work correctly you should have a swap partition that is at least the size of your physical RAM. Depending on the amount of actually used RAM and speed of your harddisk the write action may take some time. For example, if your harddisk has a write-speed of 50MB/s and you have actually 2000MB RAM in use the write action will take 40 seconds.
Ah, thank you. I guess "suspend" (standby) is what I had wanted my computer to do. You didn't answer my question about how to recover from either suspend or hibernate, but I assume it is by pushing the power button for both. Since my entire hard disk is one partition, I guess I wouldn't be able to hibernate, but I also don't think I would ever want to.
OK, I tested "suspend"; it shut my computer down very fast. I pressed the power button and the screen was back up very fast, but my wireless mouse wouldn't work. Tried to reset it, but nothing. Had to warm boot. Any suggestions?
Sorry, I don't use wireless input devices.
Having a swap partition is not only reasonable for hibernating, but also its actual use: If your RAM for whatever reason gets used up it gets swapped out. If you don't have a swap partition (or a swap file) the kernel begins to randomly kill processes, which is not something you want.
in /etc/hibernate/common.conf have a look at the sections "modules" and "services"
to be stopped and/or restarted while waking up your box from sleeping should make your wireless mouse working.
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.