how to not go into power magement when closing lid?
Linux - Laptop and NetbookHaving a problem installing or configuring Linux on your laptop? Need help running Linux on your netbook? This forum is for you. This forum is for any topics relating to Linux and either traditional laptops or netbooks (such as the Asus EEE PC, Everex CloudBook or MSI Wind).
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.
how to not go into power magement when closing lid?
I'm running gentoo on an old winbook xl2 laptop (400mhz celeron). Gentoo forums are down, so I'll try here for now. Anyways, there seems to be some sort of power management set up on the laptop, as the screen shuts itself off after about 5-10 minutes. Additionally, if I close the lid, the computer goes into standby, shuting everything down, including pcmcia. My goal is to use this laptop as a server in my dorm room for small tasks and perhaps as a router. However, I don't want it to take up much room, and have no intention of ever seeing it (I use ssh to run it). So it comes down to this: how can I stop the laptop from going into standby when I close the lid. I know next to nothing about power management, although I checked the bios and found nothing in there, so either I missed something or its being run by software. I looked up information onapm and acpi but didn't find anything useful, and I don't even know what I have running. Ask away for any information you think will help and I'll find a way to provide it.
It can be done by both, hmm, can't you put some rules in /etc/acpi/events/ (if your laptop has ACPI, though it can be APM as well, and that isn't as easy) that just ignore the lid going down?
smth like:
event=<proper event>
action=/usr/bin/echo lid went down
I dont mind if the screen blanks out, I just want to make sure the computer remains functional. As for APM and ACPI, how would I first go about determining which I have installed. Lastly, I just rechecked the bios, and theres nothing regarding power management other than battery options. The bios as a whole is rather small and restrictive compared to most other computers.
On the old laptops that I've seen around the office, when the lid is closed, it depresses a small plastic switch - if yours is like this and you don't mind physically damaging the laptop, could you not cut this off, or even open up the laptop and disconnect that switch?
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.