Linux Forums - Linux Help,Advice & support community:LinuxSolved.com

Hardware Troubleshooting in Linux => Other Devices => Topic started by: kenchix1 on March 18, 2004, 11:07:14 AM

Title: Automatic shutdown
Post by: kenchix1 on March 18, 2004, 11:07:14 AM
I'm confused why my IBM xseries 220 doesn't automatically shutdown whenever I typed "Poweroff" or "Shutdown -h now". It just says at the end "Power Down." and I have to press the power button manually to turn of the computer. Is there any file that i can alter to make the automatic shutdown work ?

BTW, I installed linux on another computer and it automatically power off itself just by typing "poweroff".

Please help.
Thanks in advance.
Title: Automatic shutdown
Post by: neo on March 18, 2004, 01:32:07 PM
ya man i also faced the same thing so i started shutting down from the GUI or started using telinit 0
Title: Automatic shutdown
Post by: Ricky on March 18, 2004, 02:24:42 PM
Well i have never faced such thing but seems to be that your Linux is treating your box as AT not atx..
btw.. init 0 will shutdwn ur computer but it runs only as root..
Did u tired
Code: [Select]
halt -p
Title: Automatic shutdown
Post by: aaa on March 18, 2004, 04:31:50 PM
Which Linux is this? The auto-poweroff is enabled by enabling the APM or ACPI power management.
Title: Automatic shutdown
Post by: kenchix1 on March 19, 2004, 08:01:52 AM
halt -p didn't power off the machine. just like "poweroff"

what's APM and ACPI ?
Title: Automatic shutdown
Post by: aaa on March 19, 2004, 01:37:32 PM
They are power management systems.
What happens when you run (as root)
apmd
ls /proc/acpi
Title: Automatic shutdown
Post by: kenchix1 on March 20, 2004, 01:39:42 AM
when i run apmd it says
No APM support in kernel

ls /proc/acpi
No such directory
Title: Automatic shutdown
Post by: aaa on March 22, 2004, 09:03:34 PM
What distro are you using? Sometimes the power management can be enabled easily. Otherwise, you will need to recompile your kernel. When recompiling, first leave out acpi support and see if apm works. Then try acpi.