LinuxQuestions.org
Review your favorite Linux distribution.
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 09-07-2004, 02:28 PM   #1
stonecrest
Member
 
Registered: Sep 2004
Distribution: Arch :D
Posts: 66

Rep: Reputation: 15
power management on a laptop


How does one go about making a laptop's monitor turn off after X minutes? I'm running Fedora Core 2. I've browsed all over the net and am just as confused as ever. I've read that there's APM and APCI.. I seem to have both installed but don't know how to invoke either of them.

/usr/sbin/acpid
acpid: can't open /proc/acpi/event: Device or resource busy

apm
No APM support in kernel

What's wrong? Thanks in advance..

Scott
 
Old 09-08-2004, 05:41 AM   #2
mudra
LQ Newbie
 
Registered: Aug 2004
Distribution: Slackware 10.0
Posts: 6

Rep: Reputation: 0
Are you running gnome or KDE. If you are in KDE go to control centre and then to power. You should have an option LAPTOP Battery and from there you can configure what happens at low battery, and what your screen does.

Hope this helps.
 
Old 09-08-2004, 09:05 AM   #3
stevie_velvet
Member
 
Registered: Aug 2004
Location: Italia + UK
Distribution: RHEL 4 + Fedora FC5
Posts: 118

Rep: Reputation: 15
confirm you have both installed e.g
#rpm -qa | grep -i acpi
 
Old 09-08-2004, 09:38 AM   #4
m00t00
Member
 
Registered: Sep 2004
Distribution: Slackware 10, Gentoo
Posts: 292

Rep: Reputation: 30
You seem to have both installed, but neither enabled in the kernel. Go compile a new kernel with them enabled..
 
Old 09-08-2004, 03:39 PM   #5
stonecrest
Member
 
Registered: Sep 2004
Distribution: Arch :D
Posts: 66

Original Poster
Rep: Reputation: 15
Thanks for the replies. I am running gnome (although I'm running Enlightenment on top of that). I did those commands and came back with:
Code:
#rpm -qa | grep -i acpi
acpid-1.0.2-6
#rpm -qa | grep -i apm
apmd-3.0.2-22
So they are both installed, I just want to run one of them. How do I compile a new kernel with them enabled? I don't think I ever compiled a kernel in the first place, I usually just update through yum.

Thanks.
 
Old 09-08-2004, 06:58 PM   #6
m00t00
Member
 
Registered: Sep 2004
Distribution: Slackware 10, Gentoo
Posts: 292

Rep: Reputation: 30
First, before we start this, try "modprobe apm" (as root). Then try "apm". It may be that these are unloaded modules, in which case were done. Otherwise,


Install the kernel source. Now:

cd /usr/src/linux
make menuconfig

at this point, you have to find and enable acpi (or apm). If you enable both, acpi will run, apm will be disabled. It will be under power management.

make all modules
make install modules_install

now youre done. (hopefully). reboot and try again. You may need to reinstall your bootloader, am not sure if fedora kernel does that for you or not.
 
  


Reply



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
Laptop power management killerbob Slackware 1 07-12-2005 02:34 AM
Laptop power saving/management Oholiab Slackware 5 06-14-2005 06:51 AM
Enabling power save/power management/cpu freq scaling features for a Debian system zero79 Debian 0 12-19-2004 01:17 PM
"Laptop Power Management not available" spyderusa11 Linux - General 6 05-06-2004 05:51 PM
laptop power management HOWTO SamothB Linux - Laptop and Netbook 3 01-06-2004 01:20 PM

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

All times are GMT -5. The time now is 03:27 PM.

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