Slackware This Forum is for the discussion of Slackware Linux.
|
| 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. |
 |
07-21-2003, 08:22 AM
|
#1
|
|
LQ Newbie
Registered: Jul 2003
Posts: 3
|
Power off after shutdown
[ Log in to get rid of this advertisement]
I run: "shutdown -h now"; I get the message "power down" (or power off) but my computer doesn't turn off - I have to shut down it manually. Can someone tell me, how to get my slackware9-box to turn off?
dukeem
|
|
|
|
07-21-2003, 08:29 AM
|
#2
|
|
Member
Registered: May 2003
Location: Halifax, WY, UK
Distribution: Slackware 9
Posts: 167
|
Re: Power off after shutdown
Quote:
Originally posted by dukeem
I run: "shutdown -h now"; I get the message "power down" (or power off) but my computer doesn't turn off - I have to shut down it manually. Can someone tell me, how to get my slackware9-box to turn off?
dukeem
|
You need to enable the APM module. Do a 'modprobe apm' and then it should work. To enable the apm permanently, look for the line in /etc/rc.d/rc.modules which refers to apm (its something like #/sbin/modprobe apm and remove the #. 'lsmod' should show the apm module running if all is well. Good luck and happy slacking.
munkeh
|
|
|
|
07-21-2003, 08:56 AM
|
#3
|
|
LQ Newbie
Registered: Jul 2003
Location: Cologne, Germany
Distribution: slack 9
Posts: 11
|
on my system i'd got the same error. it seems that apm doesn't function, so i decided to compile a new kernel using acpi which works pretty good for me.
|
|
|
|
07-23-2003, 06:33 AM
|
#4
|
|
LQ Newbie
Registered: Jul 2003
Posts: 3
|
Re: Re: Power off after shutdown
Quote:
Originally posted by reclusivemonkey
You need to enable the APM module. Do a 'modprobe apm' and then it should work. To enable the apm permanently, look for the line in /etc/rc.d/rc.modules which refers to apm (its something like #/sbin/modprobe apm and remove the #. 'lsmod' should show the apm module running if all is well. Good luck and happy slacking.
|
I tried it and it works! Thx!
|
|
|
|
07-23-2003, 09:44 AM
|
#5
|
|
Member
Registered: Dec 2002
Location: St. Louis, MO
Distribution: Slackware 9.1
Posts: 480
|
Same here. APM wouldn't work, but ACPI with a new kernel works.
|
|
|
|
07-24-2003, 10:07 AM
|
#6
|
|
Member
Registered: Jun 2003
Location: Illinois
Distribution: Slackware 9.1
Posts: 305
|
root@linux:~# modprobe apm
/lib/modules/2.4.20/kernel/arch/i386/kernel/apm.o.gz: init_module: No such device
/lib/modules/2.4.20/kernel/arch/i386/kernel/apm.o.gz: Hint: insmod errors can be caused by incorrect module parameters, including invalid IO or IRQ parameters.
You may find more information in syslog or the output from dmesg
/lib/modules/2.4.20/kernel/arch/i386/kernel/apm.o.gz: insmod /lib/modules/2.4.20/kernel/arch/i386/kernel/apm.o.gz failed
/lib/modules/2.4.20/kernel/arch/i386/kernel/apm.o.gz: insmod apm failed
What should I do?
|
|
|
|
07-25-2003, 12:53 AM
|
#7
|
|
Member
Registered: May 2003
Location: Dallas, TX
Distribution: Slackware. (There are others?)
Posts: 46
|
rc.modules
vi /etc/rc.d/rc.modules
uncomment the line for the APM (save and close rc.modules)
insmod apm
lsmod (it should be listed apm)
shutdown -h now
It will power off on its' own now.
Regards,
|
|
|
|
07-25-2003, 02:54 AM
|
#8
|
|
Member
Registered: Apr 2002
Location: NB, Canada
Distribution: Gentoo
Posts: 180
|
I am curious, what does apmd do, and is it in the init scripts by default, and do I need it to have my machine power down?
Thanks 
|
|
|
|
07-25-2003, 04:24 AM
|
#9
|
|
Member
Registered: May 2003
Location: Halifax, WY, UK
Distribution: Slackware 9
Posts: 167
|
Quote:
Originally posted by C++freak
I am curious, what does apmd do, and is it in the init scripts by default, and do I need it to have my machine power down?
Thanks
|
As far as I recall, APM stands for Advanced Power Management??? apmd is the daemon, i.e. the program that monitors the apm from your computer's BIOS. All that means is that if you want your PC to power itself off when you shutdown, it needs to be running! Its more vital on laptops where it also helps with battery management.
I think I've got that right...
|
|
|
|
Posting Rules
|
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts
HTML code is Off
|
|
|
All times are GMT -5. The time now is 03:22 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
LQ Podcast
LQ Radio
|
|