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? |
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 |
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.
|
Quote:
Code:
su Code:
apmd Code:
acpid |
Quote:
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. |
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?
|
Not sure if the 2.4 kernel supports that. I know that 2.6 does.
|
Quote:
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.. |
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. |