LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Newbie (https://www.linuxquestions.org/questions/linux-newbie-8/)
-   -   yet another poweroff question (https://www.linuxquestions.org/questions/linux-newbie-8/yet-another-poweroff-question-128121/)

corn 12-22-2003 01:11 PM

yet another poweroff question
 
ok i cant seem to get my computer power down by itself

i have tried to modprobe apm but i get a
modprobe: Can't locate module apm

i tried to uncomment #/sbin/modprobe apm in rc.modules but i cant find this file in /etc/rc.d

heres whats lsmod gives:
[root@x1-6-00-09-5b-1b-1b-f4 rc.d]# /sbin/lsmod
Module Size Used by Not tainted
ide-cd 33608 0 (autoclean)
cdrom 33696 0 (autoclean) [ide-cd]
soundcore 6500 0 (autoclean)
autofs 13348 0 (autoclean) (unused)
natsemi 19616 1
ipt_REJECT 3736 6 (autoclean)
iptable_filter 2412 1 (autoclean)
ip_tables 14840 2 [ipt_REJECT iptable_filter]
printer 8992 0 (unused)
mousedev 5524 1
keybdev 2976 0 (unused)
hid 22244 0 (unused)
input 5920 0 [mousedev keybdev hid]
usb-uhci 26188 0 (unused)
usbcore 77056 1 [printer hid usb-uhci]
ext3 70336 2
jbd 52212 2 [ext3]


and chkconfig shows apm deamon running

[root@x1-6-00-09-5b-1b-1b-f4 rc.d]# /sbin/chkconfig --list |grep -i apm
apmd 0:off 1:off 2:on 3:on 4:on 5:on 6:off


and
dmesg|grep -i apm
apm: BIOS version 1.2 Flags 0x07 (Driver version 1.16)


help would be appreciated


Regards,
Corn

aaa 12-22-2003 04:38 PM

Try to run 'apmd'.

Skyline 12-22-2003 04:43 PM

Add the kernel parameter

apm=power-off

to your "append=" line in LILO if your using it.

corn 12-22-2003 04:53 PM

when trying to run ampd it says that an ampd is already running

i tried to add the line apm=power-off to my lilo.conf file.. ill take a look at what it does and ill post a reply soon :D

corn 12-22-2003 05:29 PM

nope it doesnt work either...

Skyline 12-22-2003 05:32 PM

Did you run

/sbin/lilo

after you put the parameter in your append line? - what distro are you using?

corn 12-22-2003 07:12 PM

i did run lilo
i am using RedHat 8.0

if you feel any information is missing just ask and ill post it

corn 12-22-2003 07:23 PM

here is something... apm -s DOES make my computer stand by....


All times are GMT -5. The time now is 12:00 PM.