LinuxQuestions.org
Download your favorite Linux distribution at LQ ISO.
Home Forums Tutorials Articles Register
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 08-29-2004, 09:28 PM   #1
zwyrbla
Member
 
Registered: Aug 2004
Location: MA
Distribution: Slack 10.1
Posts: 107

Rep: Reputation: 15
How to install APM on slack 10


I have slack 10 on a HP laptop wiht a amd processor and a realy weak battery. On average I get about an hour and a half before the battery dies.
I went into the control center and it says I need to have APM or ACPI software installed to get into the advanced power control. Basicaly my question is what is this and how do I install it?
 
Old 08-29-2004, 09:37 PM   #2
Tinkster
Moderator
 
Registered: Apr 2002
Location: earth
Distribution: slackware by choice, others too :} ... android.
Posts: 23,067
Blog Entries: 11

Rep: Reputation: 928Reputation: 928Reputation: 928Reputation: 928Reputation: 928Reputation: 928Reputation: 928Reputation: 928
Moved: This thread is more suitable in the Slackware-Forum and has been moved accordingly to help your thread/question get the exposure it deserves.


That said:

Have a look on Slack CD #1, the /slackware/a directory.
There's both apmd and acpid there. If the machine supports
apm slack will by default run ampd (if you installed it),
next probe for acpid ...


Cheers,
Tink
 
Old 08-29-2004, 10:38 PM   #3
zwyrbla
Member
 
Registered: Aug 2004
Location: MA
Distribution: Slack 10.1
Posts: 107

Original Poster
Rep: Reputation: 15
How do I install either APMD or ACPID or probe for ACPID im a compelte newb to linux and have never done anything like this.
 
Old 08-30-2004, 12:40 PM   #4
Tuttle
Senior Member
 
Registered: Jul 2003
Location: Wellington, NZ
Distribution: mainly slackware
Posts: 1,291

Rep: Reputation: 52
Quote:
Originally posted by zwyrbla
How do I install either APMD or ACPID or probe for ACPID im a compelte newb to linux and have never done anything like this.
to install apmd and acpid, mount slackware10 cd#1 then open a terminal and type
Code:
su
[password]
installpkg /mnt/cdrom/slackware/a/apmd*.tgz

installpkg /mnt/cdrom/slackware/a/acpid*.tgz
to start your prefered daemon type:
Code:
apmd
or
Code:
acpid
as tink says, one of these will start automatically at boot time.
 
Old 08-30-2004, 02:50 PM   #5
WMD
Member
 
Registered: Jul 2004
Location: Florida
Distribution: Slackware, Debian
Posts: 484

Rep: Reputation: 30
Quote:
How to install APM on slack 10
modprobe apm

For ACPI, you need the bareacpi.i kernel from the Slack CD. You could've chosen that at boot, actually...did you?

If you didn't, then you should go into the /kernels directory on CD #1, find that kernel, and copy bzImage to the /boot directory on your hard drive. Then, you'll have change your LILO config...open /etc/lilo.conf. Make acopy the entry you have now, and just edit the name of the kernel image itself (and the name of the listing) in the new one. Save and exit, then run /sbin/lilo as root. Reboot the machine and boot the newly installed kernel. That should support ACPI all in itself.

The ACPI utilities are in the /a section, but should be installed by default.
 
Old 08-30-2004, 09:41 PM   #6
zwyrbla
Member
 
Registered: Aug 2004
Location: MA
Distribution: Slack 10.1
Posts: 107

Original Poster
Rep: Reputation: 15
Thanks everyone I reisntalled the kernel and I can get into a lot more power managment options one more thing though when I go to the power control tab it tells me i need to enable ACPI suspend/resume in the ACPI panel where is that?
 
Old 08-30-2004, 11:05 PM   #7
WMD
Member
 
Registered: Jul 2004
Location: Florida
Distribution: Slackware, Debian
Posts: 484

Rep: Reputation: 30
Not sure if the 2.4 kernel supports that. I know that 2.6 does.
 
Old 08-31-2004, 06:38 AM   #8
Tuttle
Senior Member
 
Registered: Jul 2003
Location: Wellington, NZ
Distribution: mainly slackware
Posts: 1,291

Rep: Reputation: 52
Quote:
Originally posted by zwyrbla
Thanks everyone I reisntalled the kernel and I can get into a lot more power managment options one more thing though when I go to the power control tab it tells me i need to enable ACPI suspend/resume in the ACPI panel where is that?
ah yes, of course! It did seem a bit odd not having the daemons (acpid & apmd) installed to start with.
re. suspend/resume: I think those are part of the kernel (experimental) which means you may need to recompile your kernel to get it going properly. I would suggest reading the sticky thread about kernel compiling before attempting it - or just sticking with what you have until suspend/resume are no longer experimental..

Last edited by Tuttle; 08-31-2004 at 06:53 AM.
 
Old 08-31-2004, 08:18 PM   #9
Franklin
Senior Member
 
Registered: Oct 2002
Distribution: Slackware
Posts: 1,348

Rep: Reputation: 217Reputation: 217Reputation: 217
A kernel recompile may not have been needed. Selecting bareacpi.i from the kernels provided would have been easier perhaps.

Also, APM is enabled by uncommenting the appropriate section in rc.modules:

#### APM support ###
# APM is a BIOS specification for saving power using several different
# techniques. This is mostly useful for battery powered laptops.
/sbin/modprobe apm

HTH
 
  


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
how to install APM on toshiba portege a100 laptop (running debain/kde) gry-HuhuY5 Linux - Laptop and Netbook 5 08-11-2005 05:43 PM
How to install APM on Debian/KDE system gry-HuhuY5 Linux - Newbie 1 08-09-2005 11:47 PM
slack: apm to shut down hard disks mrchaos Slackware 2 06-08-2005 08:40 PM
apm vs. acpi ? (modprobe: FATAL: Error inserting apm) OneManArmy Linux - Laptop and Netbook 0 05-12-2004 04:39 PM
APM stopped working after install larryl719 Linux - Hardware 14 02-08-2003 09:00 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Slackware

All times are GMT -5. The time now is 09:42 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