LinuxQuestions.org
Visit Jeremy's Blog.
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 12-03-2003, 04:03 PM   #1
jeempc
Member
 
Registered: Mar 2003
Location: Ann Arbor, MI
Distribution: Slackware 10.1
Posts: 119

Rep: Reputation: 15
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
 
Old 12-03-2003, 04:08 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
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
 
Old 12-03-2003, 05:10 PM   #3
jeempc
Member
 
Registered: Mar 2003
Location: Ann Arbor, MI
Distribution: Slackware 10.1
Posts: 119

Original Poster
Rep: Reputation: 15
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.
 
Old 12-03-2003, 05:15 PM   #4
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
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
 
Old 12-03-2003, 05:23 PM   #5
jeempc
Member
 
Registered: Mar 2003
Location: Ann Arbor, MI
Distribution: Slackware 10.1
Posts: 119

Original Poster
Rep: Reputation: 15
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)
 
Old 12-03-2003, 05:53 PM   #6
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
What if you try (again, as root) to start
apmd
manually?


Cheers,
Tink
 
Old 12-03-2003, 06:19 PM   #7
apathas
LQ Newbie
 
Registered: Nov 2003
Posts: 20

Rep: Reputation: 0
edit or you /etc/rc.d/rc.modules
APM module is commited out by default.
 
Old 12-03-2003, 06:21 PM   #8
Azmeen
Senior Member
 
Registered: May 2003
Location: Malaysia
Distribution: Slackware, LFS, CentOS
Posts: 1,307

Rep: Reputation: 47
jeempc,

Uncomment this line in your /etc/rc.d/rc.modules:
Code:
#/sbin/modprobe apm
 
Old 12-03-2003, 06:21 PM   #9
Azmeen
Senior Member
 
Registered: May 2003
Location: Malaysia
Distribution: Slackware, LFS, CentOS
Posts: 1,307

Rep: Reputation: 47
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
 
Old 12-03-2003, 06:30 PM   #10
apathas
LQ Newbie
 
Registered: Nov 2003
Posts: 20

Rep: Reputation: 0
my typos are from typing too fast and not paying too much attention =)
 
Old 12-03-2003, 06:39 PM   #11
jeempc
Member
 
Registered: Mar 2003
Location: Ann Arbor, MI
Distribution: Slackware 10.1
Posts: 119

Original Poster
Rep: Reputation: 15
Thanks

That did the trick. I just uncommented the line.
 
  


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
apm -s...almost buldir Linux - Laptop and Netbook 0 11-28-2004 03:46 AM
apm vs. acpi ? (modprobe: FATAL: Error inserting apm) OneManArmy Linux - Laptop and Netbook 0 05-12-2004 04:39 PM
Need Some help with APM oswinsutrisno Mandriva 2 03-13-2004 06:14 AM
2.6.0, X, and APM shellcode Linux - General 3 01-05-2004 09:00 PM
Apm kcbnac Linux - Newbie 1 04-11-2003 11:06 PM

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

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