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 |
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
Are you new to LinuxQuestions.org? Visit the following links:
Site Howto |
Site FAQ |
Sitemap |
Register Now
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
|
|
01-28-2003, 10:12 AM
|
#1
|
Member
Registered: Dec 2002
Location: USA
Distribution: SuSE, CentOS, Gentoo
Posts: 166
Rep:
|
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?
|
|
|
01-28-2003, 10:49 AM
|
#2
|
LQ Guru
Registered: Mar 2002
Location: Salt Lake City, UT - USA
Distribution: Gentoo ; LFS ; Kubuntu ; CentOS ; Raspbian
Posts: 12,613
Rep:
|
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
|
|
|
01-28-2003, 11:20 AM
|
#3
|
Member
Registered: Dec 2002
Location: USA
Distribution: SuSE, CentOS, Gentoo
Posts: 166
Original Poster
Rep:
|
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...
|
|
|
01-28-2003, 08:54 PM
|
#4
|
LQ Guru
Registered: Mar 2002
Location: Salt Lake City, UT - USA
Distribution: Gentoo ; LFS ; Kubuntu ; CentOS ; Raspbian
Posts: 12,613
Rep:
|
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
|
|
|
01-28-2003, 11:24 PM
|
#5
|
LQ Guru
Registered: Sep 2001
Location: Montreal, Canada
Distribution: Slackware; Debian; Gentoo...
Posts: 2,163
Rep:
|
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.
|
|
|
All times are GMT -5. The time now is 06:05 PM.
|
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.
|
Latest Threads
LQ News
|
|