Power off no longer works
I have Knoppix 3.9 installed on a Medion 1.8 GHz PC with 256 MB RAM.
There is just one problem, when I shut down the PC, it does not turn the power off, however this used to work. Has anyone come across this before ? I have searched the net but without success. |
Some things may be different in Knoppix, but basically you either use ACPI or APM to shutdown the box. You didn't give a lot of information, but I'm assuming it's stopping all the services but leaving you with a message which says, "Power down." Try this:
http://www.linuxtux.org/~juhl/slackwarefaq/#34 The principle, and use of APM or ACPI is the same. |
Thanks for the help.
I checked and the apmd deamon is running (if I run ./apmd start as root, it tells that apmd is already running). So it should shut down, however it does not. I am trying to turn it off as KDE turn off. The message is that it just says no more services running. Sorry for the lack of info in the original post. |
use the halt command
|
No that does not work, it just shuts down KDE and gives a message no more processes in this run level.
|
first log out of KDE
than run HALT as root |
Thanks for that suggestion but that does not work either !!!
The worst thing of all, is that when I turn it off at the back it is often temperemental about turning back on. |
For power off to turn your power off in Linux, you must either use APM or ACPI.
You state you're running APM, so then you need to be sure you have the APM module by issuing "lsmod" and if it's there, add this line to your /etc/lilo.conf file: Code:
append="apm=power-off" Code:
# LILO configuration file If this doesn't work for you, read the instructions that came with Knoppix-3.9 and/or try to find a Knoppix forum or IRC help channel. I can give you another Enable power-off HOW-TO; but since Knoppix is based on Debian, which doesn't follow published Linux standards, such as the Linux File System Standard, it might not work the same. What have you changed since as you stated in your first post Quote:
|
Hi Chinaman,
Thanks for all this. I will give it a go and see. I don't think that I have changed anything to stop it from working. I added my java installation to my path, but apart from that I have not changed anything, certainly not the kernel. Of course, one possibility is that there is a hardware problem although I certainly hope that this is not the problem. |
That turning it off at the back...do you not have a power switch on the front? I assume you're turning the power supply itself off. At any rate, having a problem turning it back on sounds like your power supply is going out. I don't know how to have them checked, but I guess some computer guys with a volt/ohm meter or whatever could do it. For me it's just trial and (mostly) error.
|
More details
APM is enabled
Code:
lsmod | grep apm In lilo.conf Code:
image=/vmlinuz This has not been changed since I installed knoppix. I do have a power on button on the front but it does not turn the PC off (either in Win XP or any type of Linux) just on. Thanks for the tips on power supply, that could be the problem. I will try the command poweroff but I don't think it will work |
Also sounds like your BIOS is not set to let you turn it off, or your power switch is defective.
|
The turn power off still works in Win XP, so presumably the BIOS is correct.
The power switch has always been like that, actually at work some PCs are designed in the same way the front button only turns on not off. I suppose it is a safety design to stop people annoying you by turning off the PC. I used to have Mandrake 8.2 on my PC and that did not have APM enabled. However at that time my PC did not mind being turned off at the back. I will have to get someone to look at it. |
Quote:
I believe there's a kernel option for this - maybe you don't have it enabled in the kernel, even though you've got the daemons and everything? Anyways, if you want a work-around until you figure it out, hold the power button down. It should turn off in about 4 seconds, but DON'T count - I've told people to do this before, and, trust me, EVERYONE counts faster than they think they're counting. Watch the clock, but don't follow it too closely - 4 seconds is just a general guideline; don't worry until it's been 10 seconds or so and it doesn't turn off. |
All times are GMT -5. The time now is 04:31 PM. |