LinuxQuestions.org
Visit the LQ Articles and Editorials section
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Slackware > Slackware - Installation
User Name
Password
Slackware - Installation This forum is for the discussion of installation issues with Slackware.

Notices

Reply
 
Search this Thread
Old 12-16-2003, 06:56 AM   #1
rsamurti
Member
 
Registered: Dec 2003
Location: Mysore
Distribution: Mandrake, Libranet, Slackware
Posts: 101

Rep: Reputation: 15
Auto Power Down not working in Slackware 9.1


Hello:

I have installed Slackware 9.1. When I shutdown, auto power down is not working. What should I do to make this work? Earlier this was working properly on the same computer with Mandrake and Libranet.

Thanks for your help.

Anand
 
Old 12-16-2003, 07:08 AM   #2
miaviator278
Member
 
Registered: Dec 2003
Location: Al-Diwania, Iraq (deployed)
Distribution: Slackware ONLY
Posts: 237

Rep: Reputation: 30
The auto power down, assuming your problem is this;

you use halt or shutdown and after all scripts run your left with a screen that says power down, as apposed to the computer turning off.

this is a simple apm or acpi problem "man apm" or man apmd might help, it mainly depends whether real mode power down support is in your kernel, it may have been in drake and libranet, and not in slack..

hope this helps, if not ask again..

_______________

if only linus was made president...........
 
Old 12-16-2003, 09:16 AM   #3
slackie1000
Senior Member
 
Registered: Dec 2003
Location: Brasil
Distribution: Arch
Posts: 1,037

Rep: Reputation: 45
i have the same problem..
the point is the kernel 2.4.22 of sl 9.1 not support apm..
/sbin/modprobe apm - does not work..
see no other chance...
recompile the kernel.. : - o
Cheers
 
Old 12-16-2003, 04:19 PM   #4
Minderbinder
Member
 
Registered: Aug 2003
Location: Boston, MA
Distribution: Slackware-current
Posts: 142

Rep: Reputation: 15
Uncomment the line
#/sbin/modprobe apm
from /etc/rc.d/rc.modules.

edit
After you reboot you will be able to shut your computer down by selecting shut down, you won't have to manually press the power button on your case.

Why is everyone talking about recompiling the kernel for this problem? Am I missing something?

Last edited by Minderbinder; 12-16-2003 at 05:29 PM.
 
Old 12-16-2003, 05:24 PM   #5
JTM
LQ Newbie
 
Registered: Dec 2003
Location: France
Distribution: Slackware
Posts: 4

Rep: Reputation: 0
use acpi

Recompile your kernel with acpi support and make /etc/rc.d/rc.acpi executable using chmod and that should work.
 
Old 12-17-2003, 12:37 AM   #6
Skyline
Senior Member
 
Registered: Jun 2003
Distribution: Debian/other
Posts: 2,104

Rep: Reputation: 45
Quote:
I have installed Slackware 9.1. When I shutdown, auto power down is not working. What should I do to make this work?
....... add

apm=power-off

to your append line in lilo.conf

and run

/sbin/lilo

to make the changes take effect.

then use halt to shut the machine down.

Last edited by Skyline; 12-17-2003 at 12:39 AM.
 
Old 12-17-2003, 03:02 AM   #7
rsamurti
Member
 
Registered: Dec 2003
Location: Mysore
Distribution: Mandrake, Libranet, Slackware
Posts: 101

Original Poster
Rep: Reputation: 15
apmd worked!

Quote:
Originally posted by Minderbinder
Uncomment the line
#/sbin/modprobe apm
from /etc/rc.d/rc.modules.

edit
After you reboot you will be able to shut your computer down by selecting shut down, you won't have to manually press the power button on your case.

Why is everyone talking about recompiling the kernel for this problem? Am I missing something?
The above mentioned procedure worked !

Thank you Minderbinder.

Anand
 
Old 12-17-2003, 04:51 AM   #8
miaviator278
Member
 
Registered: Dec 2003
Location: Al-Diwania, Iraq (deployed)
Distribution: Slackware ONLY
Posts: 237

Rep: Reputation: 30
thank you mindbender.. i can't believe we found that many solutions to one problem, pretty much all would work ...

(mindbenders was about the esiest.)
good support
 
Old 12-17-2003, 04:54 AM   #9
slackie1000
Senior Member
 
Registered: Dec 2003
Location: Brasil
Distribution: Arch
Posts: 1,037

Rep: Reputation: 45
as i wrote up there, i had no success with that kernel to make apm work..
i tried uncommenting the line at rc.modules file and nothing..
i receive a message during the boot process that apm module is not available...
i think i am missing something..
Cheers
 
Old 12-18-2003, 03:16 AM   #10
miaviator278
Member
 
Registered: Dec 2003
Location: Al-Diwania, Iraq (deployed)
Distribution: Slackware ONLY
Posts: 237

Rep: Reputation: 30
slackie,
run "ps -ef" and verify that kernel apmd or apmd are not running,
send which kernel your using, a custom built kernel or the slackware default
if it is a slackware default, which one?
if it is a custom kernel send your kernel config file, (by email since it's huge.)

send output of the commands "apm" and "apmd"

we'll find out what's missing
 
Old 12-18-2003, 03:55 PM   #11
slackie1000
Senior Member
 
Registered: Dec 2003
Location: Brasil
Distribution: Arch
Posts: 1,037

Rep: Reputation: 45
hi there,

thanks for the reply...
i have a default kernel 2.4.22 ...
i receive from apm and from apmd
no APM support in kernel...
how is it possible to solve without recompiling the kernel..
cheers,
slackie
 
Old 12-18-2003, 04:17 PM   #12
Minderbinder
Member
 
Registered: Aug 2003
Location: Boston, MA
Distribution: Slackware-current
Posts: 142

Rep: Reputation: 15
Slackie, what is your hardware setup?

Last edited by Minderbinder; 12-18-2003 at 04:19 PM.
 
Old 12-18-2003, 05:37 PM   #13
miaviator278
Member
 
Registered: Dec 2003
Location: Al-Diwania, Iraq (deployed)
Distribution: Slackware ONLY
Posts: 237

Rep: Reputation: 30
you realize that recompiling a kernel is about as difficult as tying someones shoes.. it's easier than removing spyware in windoze...

don't fear the console..
i thought the slack kernels came with apm installed? hmmm...
include with your hardware motherboard type.
 
Old 12-19-2003, 12:49 PM   #14
slackie1000
Senior Member
 
Registered: Dec 2003
Location: Brasil
Distribution: Arch
Posts: 1,037

Rep: Reputation: 45
as requested

motherboard ASROCK K7S8X with AMD Athlon XP 2400 - 512 MB RAM...
Slack 9.1 - kernel 2.4.22

any other information?
thanks for your help!!
 
Old 12-19-2003, 05:15 PM   #15
miaviator278
Member
 
Registered: Dec 2003
Location: Al-Diwania, Iraq (deployed)
Distribution: Slackware ONLY
Posts: 237

Rep: Reputation: 30
i would personally, gather up your hardware, and the output of lsmod, lspci, and pnpdump, go to /usr/src/linux and make a new kernel made for the system, takes about 4 minutes of work really, but you may be able to just get a module.. or just make menuconfig, and compile modules, for an apm module.... up to you, and someone may have an easier way, search LQ posts for apm, and try modprobe apm, and modprobe apmd...
 
  


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
auto power off in kernel 2.6 nobu Slackware 3 04-07-2004 05:45 PM
Computer will not auto power-off. aweir14150 Mandriva 6 02-04-2004 12:19 AM
Power Down...but I want it done auto coopns Linux - Newbie 2 01-31-2004 10:56 PM
auto power on not off slack66 Linux - Software 6 09-12-2003 07:43 PM
Auto Power Off BxBoy Linux - Newbie 1 07-13-2003 08:46 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.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration