PDA

View Full Version : stand by mode in linux


allenlikewo
09-13-2003, 03:36 PM
I have a laptop (IBM thinkpad A20) that I put linux on a few months ago and I have found that when I (or one of my friends) shut the lid on it and then open it back up later after a few hours, days, etc... that it is completly unresponsive and I have to powerdown and restart to get anything back from it. Does anyone know any way of preventing this, I hate turning my computer off. I ended up installing KDE so that i can just start it and turn on a screen saver and if I have friends over I put a sticky note on it that says "DONT SHUT THE LID".

When I used to have Windows on it I could leave the lid shut for weeks with out this problem.

Any advise is appreciated.

schmu_20mol
09-13-2003, 10:29 PM
mmhhh...i'm not that big into linux but i'd say drop by at justlinux.com (http://www.justlinux.com) and have a look at their forums ...those guys have some nice tips in the bag ;)

UrbanFuturistic
09-14-2003, 03:46 AM
Sleep/standby mode is not yet available in the Linux kernel (it's not that long ago you still had to press the off switch when you shut down).

regards, Paul

ZrO-1
09-14-2003, 07:56 AM
I run Redhat 9 on my Dell Inspiron 8200 laptop.

On the Dell laptops, the BIOS supports many power-saving functions, like turning off the screen when the lid is closed, suspend, and hybernation, as well as low-power mode on battery (under-clocked CPU, lower screen b-light, etc...).

Now as I recall when I closed the lid on my laptop the OS did go into hybernation mode, which on the Dell (with Linux) you can only wake from by hitting the power button (but not holding it in to reboot). However, it's been a while since I closed the lid of my laptop before shutting down. I'd say try hitting the power button to see if you can wake the system without rebooting it.

If that doesn't work, go into your BIOS and see if you have an option for changing the behavior when the screen closes...say switching it from suspend to active. The backlight should still go out upon closure.

allenlikewo
09-14-2003, 10:16 AM
Thanks for the suggestion. I have not been at home the past few days so I will have to check it out tommarrow when i go home. I hope I can figure out something. After having the lid shut for a while and opening up pressing the power buttone doesn't wake it up either. Now, if I only have it shut a small amount of time and open it, it works fine. I would just leave it open all the time but I live in a small appartment and the only spot to work on it is on my kitchen table and it always ends up getting shut by someone.

Oh yea, I am running Red Hat 7.3

elvis
09-14-2003, 12:08 PM
DPMS functions are available in linux. i'm not entirely sure to what level.

if your a KDE user check out KDPMS.

allenlikewo
09-14-2003, 12:41 PM
I am more of command line only person. I only installed KDE for two reasons, to use the screen savers and so that my roommate/frieds could use my computer without having to try to teach their computer illerate a$$s how to use LINUX. But since I already have it installed I will look into KDPMS.

RormanKnockwell
09-14-2003, 01:26 PM
I have a Dell laptop running Linux, and have delibrately avioded upgrading the BIOS, because the upgrade installs a more recent APM system. The kernel in Red Hat 7.1 (which I am still running), does not recognize the newer APM BIOS. Check to make sure that your kernel version supports the newer APM.

APM can be activated from the command line with "apm -s" or "apm -S". One is sleep mode, the other is standby. Different machines will respond differently to these modes, so experiment. Hardware solutions to putting the machine to sleep, such as closing the lid, are unreliable. Instead, I type "sleep 5; apm -s", which gives me enough time to lock the desktop before the laptop goes to sleep. I keep this command on my KDE Alt-F2 "Run command" window, so it's just a few mouse clicks away.

When I re-open the lid, the laptop usually comes back to life. Occasionally it will lock, though, and I'll have to reboot.

UrbanFuturistic
09-14-2003, 04:27 PM
Originally posted by elvis
DPMS functions are available in linux. i'm not entirely sure to what level.
Ack, I was confusing DPMS with ACPI. I'm more of a desktop user, sorry >_<

regards, Paul

CGTalk Moderation
01-16-2006, 03:00 AM
This thread has been automatically closed as it remained inactive for 12 months. If you wish to continue the discussion, please create a new thread in the appropriate forum.