Linux - GeneralThis Linux forum is for general Linux questions and discussion.
If it is Linux Related and doesn't seem to fit in any other forum then this is the place.
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.
When I do an init 0, the system does not actually power off when it has shut down. If I drop my "overclocking" hard drive in (Windows lol), it is capable of doing a power off.
I have the following settings for ACPI and APM, do these have any bearing on hardware power down?
CONFIG_PM=y
# CONFIG_ACPI is not set
# CONFIG_APM is not set
Ok, so built as a module, how does this module get loaded? Do I need to add anything to /etc/modules.conf or does Kudzu detect this as new hardware at boot time and handle it for me?
Ok, Coopers it is, I guess you'll need a bed if your heading over for a beer?
Weird, when I compiled apm as a module, I received "unresolved symbol" errors when doing a depmod -a. I have re-compiled with apm in the kernel (non-modular) and no pro'bs. About to do an init 0 with the new kernel and see what happens.
No joy. When shutting down, I see the apm daemon being stopped, but the system shuts down to the "Power Off" message and that's it... I want the system to actually power off, so that my over-temperature shutdown mechanism will really save the CPU/mobo in the event of a CPU failure.
I did not try that. I simply performed a /sbin/telinit 0. I was under the impression that shutdown performed an init 0 anyway, and from the man pages:-
man shutdown:-
Quote:
...shutdown does its job by signalling the init process, asking it to change the runlevel. Runlevel 0 is used to halt the system...
But I will try that later, I just re-connected so I'll stay online for a while and try shutting down again later tonight.
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.