LinuxQuestions.org
Share your knowledge at the LQ Wiki.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - General
User Name
Password
Linux - General This Linux forum is for general Linux questions and discussion.
If it is Linux Related and doesn't seem to fit in any other forum then this is the place.

Notices


Reply
  Search this Thread
Old 01-28-2003, 10:12 AM   #1
ixion
Member
 
Registered: Dec 2002
Location: USA
Distribution: SuSE, CentOS, Gentoo
Posts: 166

Rep: Reputation: 30
kernel compile - Power Management


With my old stock 2.4.18 kernel (Slackware 8.1), I would load the apm module, and my computer would shut off automatically on shutdown. Since I've upgraded and compiled a 2.4.20 kernel, I can't seem to get this support back (ie, 'Power Down' shows up and I have to physically shut off the pc). I have APM and ACPI compiled into the kernel. Should the APM be loaded as module (like the stock kernel), and I'll just add 'modprobe apm' to the rc.modules startup script?
 
Old 01-28-2003, 10:49 AM   #2
MasterC
LQ Guru
 
Registered: Mar 2002
Location: Salt Lake City, UT - USA
Distribution: Gentoo ; LFS ; Kubuntu ; CentOS ; Raspbian
Posts: 12,613

Rep: Reputation: 69
If that is how you compiled the new kernel. If you compiled it into the kernel though, you shouldn't need (or have) a module. Best way to find out is to modprobe apm. If it returns without errors, then yes. If it returns saying you don't have that module, well then you probably compiled it into the kernel, or not at all.

Cool
 
Old 01-28-2003, 11:20 AM   #3
ixion
Member
 
Registered: Dec 2002
Location: USA
Distribution: SuSE, CentOS, Gentoo
Posts: 166

Original Poster
Rep: Reputation: 30
I know I compiled it into the kernel (modprobe apm returns 'not found'), but what's bugging me is I don't know what to enable in the kernel compile to make my pc shutoff on its own on shutdown. Any ideas? I enabled APM and ACPI, but it still doesn't work...
 
Old 01-28-2003, 08:54 PM   #4
MasterC
LQ Guru
 
Registered: Mar 2002
Location: Salt Lake City, UT - USA
Distribution: Gentoo ; LFS ; Kubuntu ; CentOS ; Raspbian
Posts: 12,613

Rep: Reputation: 69
I've only got 1 idea... Recompile it as module. I believe I had a similar problem once, and ever since then I've always compiled apm as a module. Works great now.



Cool
 
Old 01-28-2003, 11:24 PM   #5
Half_Elf
LQ Guru
 
Registered: Sep 2001
Location: Montreal, Canada
Distribution: Slackware; Debian; Gentoo...
Posts: 2,163

Rep: Reputation: 46
If your computer is a recent one, you probably need to use ACPI and not APM. Also, you can include APM AND ACPI, it will always take APM by default. You can compile them both only as module.
Try to include only ACPI, I guess it is what you need.
 
  


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 On
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
Power Management UmneyDurak Fedora 0 09-22-2005 03:27 PM
Enabling power save/power management/cpu freq scaling features for a Debian system zero79 Debian 0 12-19-2004 02:17 PM
power management after kernel upgrade septanla Linux - General 3 12-17-2004 11:55 PM
Power Management(sysfs) /sys/power/state mavrick613 Linux - General 0 05-24-2004 04:04 PM
Issues in sound and power management in kernel 2.6.6. deez Linux - Software 5 04-27-2004 02:18 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - General

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