View previous topic :: View next topic |
Author |
Message |
LaoTzuTao Tux's lil' helper
Joined: 21 Mar 2003 Posts: 96 Location: Portland, OR
|
Posted: Sat Apr 26, 2003 1:25 am Post subject: Shutdown and turn off? |
|
|
For some reason when I run shutdown in Gentoo, it shuts everything down but doesn't actually turn the computer off, it just finishes and then tells me to power off. It doesn't matter if i select shutdown from kdm, or if I type it in console. All other distro's I've used shutdown and turn off. How can I make Gentoo do this too?
Thanks!
- John _________________ Athlon 64 3200+
Abit AV8 Mobo
512 megs DDR400
NVidia GeForce 6800
Samsung Syncmaster 712n |
|
Back to top |
|
|
steveb Advocate
Joined: 18 Sep 2002 Posts: 4564
|
Posted: Sat Apr 26, 2003 1:45 am Post subject: |
|
|
did you enable apm in your kernel? i think you need apm support to turn off your computer with a shutdown.
cheers
SteveB |
|
Back to top |
|
|
LaoTzuTao Tux's lil' helper
Joined: 21 Mar 2003 Posts: 96 Location: Portland, OR
|
Posted: Sat Apr 26, 2003 1:48 am Post subject: |
|
|
Hmm, no it sure isn't, is that all I'd need to do? _________________ Athlon 64 3200+
Abit AV8 Mobo
512 megs DDR400
NVidia GeForce 6800
Samsung Syncmaster 712n |
|
Back to top |
|
|
CheshireCat Guru
Joined: 25 Aug 2002 Posts: 572
|
Posted: Sat Apr 26, 2003 7:30 am Post subject: |
|
|
That or ACPI, your system may have one or the other, I think if you enable one that your system doesn't support, it will do no harm (check kernel source docs to be sure). You should also install acpid or apmd, they let your system interact with power management events, so you can do things like have it shut down gracefully when the power button is pressed. |
|
Back to top |
|
|
barlad l33t
Joined: 22 Feb 2003 Posts: 673
|
Posted: Sat Apr 26, 2003 9:24 am Post subject: |
|
|
first you need to figure out wether you are using ACPI or APM. Most likely it's ACPI (unless it's a notebook).
Next, get into the configuration menu of your kernel.
You need to enable Power Management Support, ACPI support, Power Button Events - and all the other stuff you may want.
Install the new kernel. You need to emerge acpid now.
Reboot, and it should be all good.
If it is not, you may be using APM after all. In that case, recompile the kernel again, by adding APM support and "Software Call to Power OFF" (or something like that). You may also need to emerge apm daemon (apmd).
Let us know how it turns out. |
|
Back to top |
|
|
peterk0 Apprentice
Joined: 25 Mar 2003 Posts: 188 Location: Prague
|
Posted: Sat Apr 26, 2003 10:54 am Post subject: |
|
|
barlad wrote: | first you need to figure out wether you are using ACPI or APM. Most likely it's ACPI (unless it's a notebook).
Next, get into the configuration menu of your kernel.
You need to enable Power Management Support, ACPI support, Power Button Events - and all the other stuff you may want.
Install the new kernel. You need to emerge acpid now.
Reboot, and it should be all good.
If it is not, you may be using APM after all. In that case, recompile the kernel again, by adding APM support and "Software Call to Power OFF" (or something like that). You may also need to emerge apm daemon (apmd).
Let us know how it turns out. |
Actually u don't need to emerge anything, just turn the appropriate power management(APM or ACPI) in your kernel and recompile... |
|
Back to top |
|
|
LaoTzuTao Tux's lil' helper
Joined: 21 Mar 2003 Posts: 96 Location: Portland, OR
|
Posted: Sun Apr 27, 2003 2:14 pm Post subject: |
|
|
Well I have no idea how to check whether I have ACPI or APM but I went into my kernel and my gf's, (I just installed Gentoo on her comp the other day, it woudln't shut down either) and all I did was enable APM, under power management, on both computer's, and that did the trick. So I suppose both our computers do use APM? How could I check?
- John _________________ Athlon 64 3200+
Abit AV8 Mobo
512 megs DDR400
NVidia GeForce 6800
Samsung Syncmaster 712n |
|
Back to top |
|
|
guero61 l33t
Joined: 14 Oct 2002 Posts: 811 Location: Behind you
|
Posted: Sun Apr 27, 2003 6:13 pm Post subject: |
|
|
Depends on how new your machine is. ACPI machines are newer and will handle APM commands. If you want to use pure ACPI (gentoo-sources-2.4.20), you must enable both ACPI (which actually handles stuff other than poweroff -- soft power buttons, fan speeds, and such) and "Power Management" which, in my "make xconfig" is right above APM.
Your BIOS should tell you, should you really need to know precisely. |
|
Back to top |
|
|
|