Linux - HardwareThis forum is for Hardware issues.
Having trouble installing a piece of hardware? Want to know if that peripheral is compatible with 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.
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.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
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:
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"
It should go after the line which tells LiLO where your boot record is stored, like this:
Code:
# LILO configuration file
# generated by 'liloconfig'
#
# Start LILO global section
boot = /dev/hda
append="apm=power-off"
If you already have an append line, such as append="elevator=cfq", then you would add another append statement like this append="elevator=cfq apm=power-off" keeping both (or more than two) append statements inside one set of quotes, separated by a space.
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
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.
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
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.
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.
No, this is a feature in modern PCs - I believe it's called "soft-off" - it's where the motherboard controls if and when the power button actually does something, and what it does. The reason for it is that turning your PC on and off real fast is bad for it. Most motherboards even take it a step further and allow you to make the power button make your computer go into sleep mode.
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.
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.