LinuxQuestions.org
Help answer threads with 0 replies.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Laptop and Netbook
User Name
Password
Linux - Laptop and Netbook Having a problem installing or configuring Linux on your laptop? Need help running Linux on your netbook? This forum is for you. This forum is for any topics relating to Linux and either traditional laptops or netbooks (such as the Asus EEE PC, Everex CloudBook or MSI Wind).

Notices


Reply
  Search this Thread
Old 06-18-2003, 02:29 AM   #1
Moebius
Member
 
Registered: Dec 2002
Location: Milwaukee, WI
Distribution: Ubuntu, Kubuntu, Debian, CentOS
Posts: 216

Rep: Reputation: 30
Power Management not availible


I'm on a Compaq Armada E500 laptop with SuSE 8.2 (just upgraded from 8.1) and there has always been a red X through the battery monitor. It says that "your computer seems to have a partial ACPI installation." I click help and it goes into a somewhat more detailed explaination. I says that apm is required. Well I go to the YaST2 add/remove software and search for apm the APM daemon is already selected. Installed version: 3.0.2-286. How can I get my battery to read properly?
 
Old 06-18-2003, 12:39 PM   #2
Brain Drop
Member
 
Registered: Feb 2003
Location: just outside reality
Distribution: balanced
Posts: 752

Rep: Reputation: 35
if you check running processes is apm daemon running? how about acpid?
 
Old 06-18-2003, 05:00 PM   #3
Moebius
Member
 
Registered: Dec 2002
Location: Milwaukee, WI
Distribution: Ubuntu, Kubuntu, Debian, CentOS
Posts: 216

Original Poster
Rep: Reputation: 30
hmmmm, it doesn't look like they are running. how do I get them to run and how do I tell them to run automatically so I don't have to start them every time from now on?

Thanks.
 
Old 06-18-2003, 06:05 PM   #4
Brain Drop
Member
 
Registered: Feb 2003
Location: just outside reality
Distribution: balanced
Posts: 752

Rep: Reputation: 35
i think you are going to want to add a line to your boot parameter, with lilo it would be like append = " apm=off acpi=off" with wichever one you want on. and the other one off cause if you dont do that part(explicitly turn the other off) you can have problems. first though id check your bios and see what it says for apm and acpi cause you might need to enable it there.
 
Old 06-18-2003, 10:29 PM   #5
camelrider
Member
 
Registered: Apr 2003
Location: Juneau, Alaska
Posts: 251

Rep: Reputation: 32
Have you tried, as root:
modprobe apmd
or
modprobe apm
?

Just a thought in case SuSE kernel has it configured as a module, but it's not being loaded on boot.
 
Old 06-19-2003, 01:45 AM   #6
Moebius
Member
 
Registered: Dec 2002
Location: Milwaukee, WI
Distribution: Ubuntu, Kubuntu, Debian, CentOS
Posts: 216

Original Poster
Rep: Reputation: 30
OK I tried the modprobe command and it said it couldn't locate the modual. (same thing for both apm and apmd) I found a suse doc on their web page that said "To start 'apmd' manually use: 'rcapmd start'." I tried that and it said "Starting apmd not supported by kernel". How do I make my kernal support this? I also found a suse doc that said "A kernel with APM support is necessary (since SuSE Linux version 7.1 APM support is included in all kernels)." Since I'm using suse 8.2 I'm not sure why this isn't working. I'll keep trying.

Any ideas?

Thanks.
 
Old 06-19-2003, 03:11 AM   #7
zmedico
Member
 
Registered: Feb 2002
Location: Mission Viejo, California, USA
Distribution: Gentoo
Posts: 707

Rep: Reputation: 30
Have you tried "apm=on" in your boot loader kernel parameters, like Brain Drop suggested? If that doesn't make /proc/apm appear then your kernel must not support it.

Here's those howtos:
http://www.tldp.org/HOWTO/Laptop-HOWTO.html
http://www.tldp.org/HOWTO/mini/Battery-Powered.html

Last edited by zmedico; 06-19-2003 at 03:13 AM.
 
Old 06-20-2003, 04:24 AM   #8
Moebius
Member
 
Registered: Dec 2002
Location: Milwaukee, WI
Distribution: Ubuntu, Kubuntu, Debian, CentOS
Posts: 216

Original Poster
Rep: Reputation: 30
yep, I tried that, it didnt work. I tried to start it manually and it said it was not supported in the kernal. I need to find out how to add that in and recompile the kernal. My friend who uses gentoo told me this set of instructions:

su
make menuconfig
(select the correct ACPI or APM things)
cp /usr/src/linux/arch/1386/boot/bzImage /boot

how do I do that in suse? When i tried to do make menuconfig it said no rule to make target 'menuconfig'. stop.

Any ideas?

btw, Zac, my name is Zac as well, you're the first person I've know to spell it that way.

Thanks,
Moebius (Zac)
 
Old 06-20-2003, 09:12 AM   #9
Brain Drop
Member
 
Registered: Feb 2003
Location: just outside reality
Distribution: balanced
Posts: 752

Rep: Reputation: 35
for this i think you are best doing a search on google.com/linux or even right here om lno for how to compile a kernel since there is so much info on it, beig that it is one of the early things you should learn. then if you have questions about it ask, i would just tell you now but i dont have the time this morning to give a good explanation. your freimd missed a couple of steps though.
 
Old 06-20-2003, 12:01 PM   #10
zmedico
Member
 
Registered: Feb 2002
Location: Mission Viejo, California, USA
Distribution: Gentoo
Posts: 707

Rep: Reputation: 30
kernel

Hi Zac,

There are some instructions for compiling the kernel in /usr/src/linux/README. Usually it's something like this:

Code:
su
cd /usr/src/linux
make xconfig
# edit Makefile (you can add a version number, maybe"-apm")
make dep
make bzImage
make modules
make modules_install
# copy your kernel and set up boot loader
One of those howtos I mentioned has some info about kernel configuration.

Last edited by zmedico; 06-20-2003 at 05:29 PM.
 
Old 06-20-2003, 05:09 PM   #11
Moebius
Member
 
Registered: Dec 2002
Location: Milwaukee, WI
Distribution: Ubuntu, Kubuntu, Debian, CentOS
Posts: 216

Original Poster
Rep: Reputation: 30
when my friend put in make menuconfig as root, it just went right to the config program, but I get this error:

make: *** No rule to make target `menuconfig'. Stop.

I've tried to find documentation in the folder you told me and the folder it mentions in some of those how-tos, but /usr/src/linux doesn't exist. The only folder in the /usr/src/ dir is "packages". Maybe its something different in SuSE?

OK i just looked at some more stuff and realized i didn't have kernel-source installed. So I just did that, but the make xconfig is still giving me the same error. I'll keep trying.

Thanks,
Moebius
 
Old 06-20-2003, 05:32 PM   #12
zmedico
Member
 
Registered: Feb 2002
Location: Mission Viejo, California, USA
Distribution: Gentoo
Posts: 707

Rep: Reputation: 30
Maybe you're not in the right directory. You have to do "cd /usr/src/linux" (or wherever the kernel source is) first. Then make xconfig should work.
 
Old 06-20-2003, 07:49 PM   #13
Brain Drop
Member
 
Registered: Feb 2003
Location: just outside reality
Distribution: balanced
Posts: 752

Rep: Reputation: 35
Re: kernel

Quote:
Originally posted by zmedico


Code:
su
cd /usr/src/linux
make xconfig
# edit Makefile (you can add a version number, maybe"-apm")
make dep
make bzImage
make modules
make modules_install
# copy your kernel and set up boot loader
.
ok at the risk of falling into the stupid questions department, how come sometimes(usually) i see the steps like you have them here and sometimes instaed of the copy kernel part there is instead a make install step somewhere after the make bzImage step? whats the diff?
 
Old 06-20-2003, 08:01 PM   #14
zmedico
Member
 
Registered: Feb 2002
Location: Mission Viejo, California, USA
Distribution: Gentoo
Posts: 707

Rep: Reputation: 30
from /usr/src/linux/README:
Quote:
It is also possible to do
"make install" if you have lilo installed to suit the kernel makefiles,
but you may want to check your particular lilo setup first.
 
Old 06-20-2003, 08:24 PM   #15
Brain Drop
Member
 
Registered: Feb 2003
Location: just outside reality
Distribution: balanced
Posts: 752

Rep: Reputation: 35
ah i see...sort of
 
  


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
Enabling power save/power management/cpu freq scaling features for a Debian system zero79 Debian 0 12-19-2004 01:17 PM
Power Management(sysfs) /sys/power/state mavrick613 Linux - General 0 05-24-2004 03:04 PM
power management spyderusa11 Linux - Newbie 1 06-20-2003 10:39 PM
Power Management not availible Moebius Linux - Hardware 4 06-18-2003 07:02 PM
Power management justiceisblind Linux - Newbie 3 01-24-2003 10:10 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Laptop and Netbook

All times are GMT -5. The time now is 04:02 PM.

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