LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Slackware (https://www.linuxquestions.org/questions/slackware-14/)
-   -   How to install APM on slack 10 (https://www.linuxquestions.org/questions/slackware-14/how-to-install-apm-on-slack-10-a-224120/)

zwyrbla 08-29-2004 09:28 PM

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?

Tinkster 08-29-2004 09:37 PM

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

zwyrbla 08-29-2004 10:38 PM

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.

Tuttle 08-30-2004 12:40 PM

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.

WMD 08-30-2004 02:50 PM

Quote:

How to install APM on slack 10
modprobe apm :p

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.

zwyrbla 08-30-2004 09:41 PM

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?

WMD 08-30-2004 11:05 PM

Not sure if the 2.4 kernel supports that. I know that 2.6 does.

Tuttle 08-31-2004 06:38 AM

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..

Franklin 08-31-2004 08:18 PM

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


All times are GMT -5. The time now is 07:32 PM.