LinuxQuestions.org
Download your favorite Linux distribution at LQ ISO.
Go Back   LinuxQuestions.org > Forums > Linux > Linux - Distributions > Slackware
User Name
Password
Slackware This Forum is for the discussion of Slackware Linux.

Notices

Reply
 
Thread Tools Search this Thread
Old 07-21-2003, 08:22 AM   #1
dukeem
LQ Newbie
 
Registered: Jul 2003
Posts: 3
Thanked: 0
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
dukeem is offline     Reply With Quote
Old 07-21-2003, 08:29 AM   #2
reclusivemonkey
Member
 
Registered: May 2003
Location: Halifax, WY, UK
Distribution: Slackware 9
Posts: 167
Thanked: 0
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
reclusivemonkey is offline     Reply With Quote
Old 07-21-2003, 08:56 AM   #3
mason75
LQ Newbie
 
Registered: Jul 2003
Location: Cologne, Germany
Distribution: slack 9
Posts: 11
Thanked: 0
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.
mason75 is offline     Reply With Quote
Old 07-23-2003, 06:33 AM   #4
dukeem
LQ Newbie
 
Registered: Jul 2003
Posts: 3
Thanked: 0

Original Poster
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!
dukeem is offline     Reply With Quote
Old 07-23-2003, 09:44 AM   #5
snocked
Member
 
Registered: Dec 2002
Location: St. Louis, MO
Distribution: Slackware 9.1
Posts: 480
Thanked: 0
Same here. APM wouldn't work, but ACPI with a new kernel works.
snocked is offline     Reply With Quote
Old 07-24-2003, 10:07 AM   #6
XPediTioN
Member
 
Registered: Jun 2003
Location: Illinois
Distribution: Slackware 9.1
Posts: 305
Thanked: 0
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?
XPediTioN is offline     Reply With Quote
Old 07-25-2003, 12:53 AM   #7
labr@
Member
 
Registered: May 2003
Location: Dallas, TX
Distribution: Slackware. (There are others?)
Posts: 46
Thanked: 0
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,
labr@ is offline     Reply With Quote
Old 07-25-2003, 02:54 AM   #8
C++freak
Member
 
Registered: Apr 2002
Location: NB, Canada
Distribution: Gentoo
Posts: 180
Thanked: 0
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
C++freak is offline     Reply With Quote
Old 07-25-2003, 04:24 AM   #9
reclusivemonkey
Member
 
Registered: May 2003
Location: Halifax, WY, UK
Distribution: Slackware 9
Posts: 167
Thanked: 0
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...
reclusivemonkey is offline     Reply With Quote

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
Shutdown and power off bwtoh Linux - Newbie 4 11-02-2006 03:48 PM
No power down after shutdown (Mandrake) JohnA Linux - Hardware 14 02-24-2005 02:47 AM
Shutdown could not power off satimis Debian 13 02-14-2004 12:05 PM
Power Button for Shutdown gokul Linux - Hardware 4 01-24-2004 01:40 PM
Shutdown with power button hriosm Linux - Hardware 4 06-06-2003 03:43 PM


All times are GMT -5. The time now is 06:22 PM.

Main Menu
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.
Advertisement
Oracle Magazine contains technology strategy articles, sample code, tips, Oracle and partner news, how to articles for developers and DBAs, and more. Click Here to receive a complimentary subscription courtesy of LQ.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
RSS2  LQ Podcast
RSS2  LQ Radio
Twitter: @linuxquestions
identi.ca: @linuxquestions
Facebook: @linuxquestions
Open Source Consulting | Domain Registration