LinuxQuestions.org
Download your favorite Linux distribution at LQ ISO.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Laptop and Netbook
User Name
Password
Linux - Laptop and Netbook Having 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


Reply
  Search this Thread
Old 02-06-2012, 06:39 AM   #1
d420
LQ Newbie
 
Registered: Feb 2012
Posts: 17

Rep: Reputation: Disabled
Question CentOS 6.2 sleeps when closing lid - DESPITE settings


I have freshly installed CentOS 6.2 on a DELL Latitude D420 and all seems going to be well - except for one critical problem: When I close the lid, the laptop goes to sleep, despite the settings in Power Management Preferences:

Code:
[On AC Power]
 Actions
  Put computer to sleep when inactive for: Never
  When laptop lid is closed:               Blank screen
  [] Spin down hard disks when possible    (unchecked)

 Display
  Put display to sleep when inactive for:   30 minuts
  Set display brightness to:                100%
  [v] Dim display when idle                 (checked)
Yes, the power cable is connected!

Any idea how to solve this problem?
 
Old 02-06-2012, 04:48 PM   #2
jefro
Moderator
 
Registered: Mar 2008
Posts: 22,001

Rep: Reputation: 3629Reputation: 3629Reputation: 3629Reputation: 3629Reputation: 3629Reputation: 3629Reputation: 3629Reputation: 3629Reputation: 3629Reputation: 3629Reputation: 3629
Any bios settings for this?
 
Old 02-06-2012, 07:02 PM   #3
d420
LQ Newbie
 
Registered: Feb 2012
Posts: 17

Original Poster
Rep: Reputation: Disabled
Quote:
Originally Posted by jefro View Post
Any bios settings for this?
No. The only power-management related BIOS settings are for WOL and USB powering.

However... I just set:

Code:
When laptop lid is closed:               Blank screen
For the On Battery Power tab as well, and now the laptop stays on when I close the lid.

I consider this a CentOS 6.2 bug.
 
Old 02-06-2012, 09:09 PM   #4
jefro
Moderator
 
Registered: Mar 2008
Posts: 22,001

Rep: Reputation: 3629Reputation: 3629Reputation: 3629Reputation: 3629Reputation: 3629Reputation: 3629Reputation: 3629Reputation: 3629Reputation: 3629Reputation: 3629Reputation: 3629
I guess it could be that it was assumed that on closed lid a person might take it portable so the default is on lid closed use battery?

You never know about some of these things but glad you fixed it and posted back.
 
Old 02-07-2012, 09:19 AM   #5
d420
LQ Newbie
 
Registered: Feb 2012
Posts: 17

Original Poster
Rep: Reputation: Disabled
Quote:
Originally Posted by jefro View Post
I guess it could be that it was assumed that on closed lid a person might take it portable so the default is on lid closed use battery?
Well, I happen to use the laptop remotely (via LAN, AC powered) and I prefer the lid to be closed so that the keyboard doesn't collect dust. This is why there are 2 tabs: [On AC Power] and [On Battery Power]. It's a bug (unless unambiguously documented as a feature).

Last edited by d420; 02-07-2012 at 09:20 AM.
 
Old 09-19-2014, 10:29 PM   #6
lowriepa
LQ Newbie
 
Registered: Sep 2014
Posts: 2

Rep: Reputation: Disabled
Put the laptop into Run-Level 3 (multi-user no graphics) works for me.

sudo init 3

and make it permanent change 5 to 3 in this line of /etc/inittab

id:3:initdefault:

Hope this helps.
 
  


Reply

Tags
centos, dell, powermanagement



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
closing lid freezes pc vorian Linux - Laptop and Netbook 4 07-20-2010 09:57 AM
Closing lid restarts computer ferrari353 Linux - Laptop and Netbook 14 07-14-2010 08:46 PM
Wireless after closing the lid watcher69b Fedora 2 01-14-2009 10:24 PM
How to suspend on lid closing? jerrybasham Linux - Laptop and Netbook 4 06-29-2007 12:03 PM
how to not go into power magement when closing lid? shinsplints Linux - Laptop and Netbook 5 08-19-2004 12:52 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Laptop and Netbook

All times are GMT -5. The time now is 12:09 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration