LinuxQuestions.org
Help answer threads with 0 replies.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Slackware
User Name
Password
Slackware This Forum is for the discussion of Slackware Linux.

Notices



Reply
 
Search this Thread
Old 04-09-2003, 10:23 AM   #1
rdanda
Member
 
Registered: Feb 2003
Location: Newnan, Georgia
Distribution: Slackware -current
Posts: 40

Rep: Reputation: 15
Question Advanced Power Management


Greetings to all, I have a quick question about power management. I recently have dumped RH and have installed Slackware 9 with Dropline on all my workstations. Since I dont turn off my desktops this was never an issue until I installed on my laptop. When I select shutdown, the system does shutdown properly, but, does not completly shutdown. I learned this the hard way by selecting shutdown, closing the lid and packing up, only to find out later that I had run my battery down. How can I check to see if APM is installed and or working properly? RH and Mandrake seemed to handle this, but I don't want to go back. Any ideas. Thanks for the support
 
Old 04-09-2003, 10:34 AM   #2
laurentbon
Member
 
Registered: Mar 2003
Distribution: Slack 9.1 + Dropline Gnome
Posts: 160

Rep: Reputation: 30
I have installed slackware on my toshiba not long ago and faced the same problem. I don't know about APM but if you have a bit of time and patience, it is probably better to go for ACPI.

Here is how I did it:
- Get the latest kernel from www.kernel.org
- Take your existing .config file to compile the new kernel. That will prevent you from loosing all your settings if they already work fine. You need to do those 2 steps as by default, slackware doesn't install the kernel with a proper kernel path.
If you don't know how to compile your kernel. see the top thread here.
- download the acpi patch from http://sourceforge.net/projects/acpi and install it. It will basically patch your existing kernel.
- Re-compile your kernel with your previous .config file and enable all the new options for ACPI.

That should be it.
May be there is a shorter route to use ACPI, but this one is the only one I know.

ACPI will allow you to do everything power related, shutwown, battery level, etc.. but also fan speed, cpu temperature, etc...

Hope it helps.

Last edited by laurentbon; 04-09-2003 at 10:36 AM.
 
Old 04-09-2003, 10:51 AM   #3
rdanda
Member
 
Registered: Feb 2003
Location: Newnan, Georgia
Distribution: Slackware -current
Posts: 40

Original Poster
Rep: Reputation: 15
Roger that, I am leary of kernel recompiling. Have to admit I have never tried it, but, I suppose its time to take the plunge. Is it possible to apply the patch with out a recompile. I will research it and give it a shot. Thanks for the reply
 
Old 04-09-2003, 10:53 AM   #4
laurentbon
Member
 
Registered: Mar 2003
Distribution: Slack 9.1 + Dropline Gnome
Posts: 160

Rep: Reputation: 30
I don't know if you can apply the patch on a fresh kernel without compiling it first. I would assume it is possible but haven't tried it.
Let me know if you find out...
 
Old 04-09-2003, 11:25 AM   #5
bilbod
Member
 
Registered: Mar 2003
Posts: 42

Rep: Reputation: 16
Look in /etc/rc.d/rc.modules for a line like this

#/sbin/modprobe apm

remove the # symbol from the front of the line so it looks like this:

/sbin/modprobe apm

Next time you boot up the apm module will be loaded.

If you want to load it by hand type

insmod apm

as root.

Bill
 
Old 04-09-2003, 11:59 AM   #6
rdanda
Member
 
Registered: Feb 2003
Location: Newnan, Georgia
Distribution: Slackware -current
Posts: 40

Original Poster
Rep: Reputation: 15
I read about the modprobe bit on another post. I will try it as soon as I get this pesky W2K Advanced Server fixed at work. Thanks Bill.

Richard
 
Old 04-09-2003, 09:59 PM   #7
rdanda
Member
 
Registered: Feb 2003
Location: Newnan, Georgia
Distribution: Slackware -current
Posts: 40

Original Poster
Rep: Reputation: 15
Talking

Bill, your hint worked out great, uncommented the APM line and the laptop shutsdown perfectly. Thanks
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

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
Enabling power save/power management/cpu freq scaling features for a Debian system zero79 Debian 0 12-19-2004 02:17 PM
Power Management(sysfs) /sys/power/state mavrick613 Linux - General 0 05-24-2004 04:04 PM
advanced users management tux2002 Linux - Security 1 05-04-2004 11:00 AM
Advanced power management settings....where? BarkingBonefish Linux - Software 5 02-15-2004 01:07 AM
power management spyderusa11 Linux - Newbie 1 06-20-2003 11:39 PM


All times are GMT -5. The time now is 11:35 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
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration