LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Slackware (https://www.linuxquestions.org/questions/slackware-14/)
-   -   apm + slackware 9.1 (https://www.linuxquestions.org/questions/slackware-14/apm-slackware-9-1-a-122401/)

jeempc 12-03-2003 04:03 PM

apm + slackware 9.1
 
How do I install APM in slackware 9.1. When I installed RedHat 9.0 it did it automatically.
I chose a full installation, so I should have everything.
Jeempc

Tinkster 12-03-2003 04:08 PM

What exactly do you mean when you say
"Install APM"?

A kernel with APM enabled?
The apmd daemon up & running?
X set up for power saving?


Cheers,
Tink

jeempc 12-03-2003 05:10 PM

A kernel with APM enabled?
The apmd daemon up & running?
X set up for power saving?

I guess all three. I have a laptop and I want to be able to monitor the battery levels and set up a power scheme.

Here is the error message:

Your computer doesn't have the Linux APM (Advanced Power Management) or ACPI software installed, or doesn't have the APM kernel drivers installed - check out the Linux Laptop-HOWTO document for information on how to install APM.

Tinkster 12-03-2003 05:15 PM

Try (as root)
dmesg | grep -i acpi
dmesg | grep -i apm

If there's no output that program is
right.... if there is output, look at

lsmod

and

ps -A | grep apm
ps -A | grep acpi


Let's tackle it from there ...


Cheers,
Tink

jeempc 12-03-2003 05:23 PM

I get no out put from the dmesg command.

Here is lsmod:

snd-pcm-oss 37252 0
snd-mixer-oss 11992 2 [snd-pcm-oss]
uhci 24496 0 (unused)
usbcore 58400 1 [uhci]
snd-intel8x0 17156 2
snd-pcm 55904 0 [snd-pcm-oss snd-intel8x0]
snd-timer 13252 0 [snd-pcm]
snd-ac97-codec 37240 0 [snd-intel8x0]
snd-page-alloc 6004 0 [snd-intel8x0 snd-pcm]
snd-mpu401-uart 3136 0 [snd-intel8x0]
snd-rawmidi 12512 0 [snd-mpu401-uart]
snd-seq-device 3920 0 [snd-rawmidi]
snd 27460 0 [snd-pcm-oss snd-mixer-oss snd-intel8x0 snd-pcm snd-timer snd-ac97-codec snd-mpu401-uart snd-rawmidi snd-seq-device]
soundcore 3332 4 [snd]
3c59x 26832 1
ohci1394 24200 0 (unused)
ieee1394 42436 0 [ohci1394]
ds 6568 2
yenta_socket 10368 2
pcmcia_core 40032 0 [ds yenta_socket]
ide-scsi 9424 0
agpgart 39576 0 (unused)

Tinkster 12-03-2003 05:53 PM

What if you try (again, as root) to start
apmd
manually?


Cheers,
Tink

apathas 12-03-2003 06:19 PM

edit or you /etc/rc.d/rc.modules
APM module is commited out by default.

Azmeen 12-03-2003 06:21 PM

jeempc,

Uncomment this line in your /etc/rc.d/rc.modules:
Code:

#/sbin/modprobe apm

Azmeen 12-03-2003 06:21 PM

Quote:

Originally posted by apathas
edit or you /etc/rc.d/rc.modules
APM module is commited out by default.

Sometimes I wish I could type faster :p

apathas 12-03-2003 06:30 PM

my typos are from typing too fast and not paying too much attention =)

jeempc 12-03-2003 06:39 PM

Thanks
 
That did the trick. I just uncommented the line.


All times are GMT -5. The time now is 08:54 AM.