Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
Shutdown and turn off?
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Other Things Gentoo
View previous topic :: View next topic  
Author Message
LaoTzuTao
Tux's lil' helper
Tux's lil' helper


Joined: 21 Mar 2003
Posts: 96
Location: Portland, OR

PostPosted: Sat Apr 26, 2003 1:25 am    Post subject: Shutdown and turn off? Reply with quote

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
View user's profile Send private message
steveb
Advocate
Advocate


Joined: 18 Sep 2002
Posts: 4564

PostPosted: Sat Apr 26, 2003 1:45 am    Post subject: Reply with quote

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
View user's profile Send private message
LaoTzuTao
Tux's lil' helper
Tux's lil' helper


Joined: 21 Mar 2003
Posts: 96
Location: Portland, OR

PostPosted: Sat Apr 26, 2003 1:48 am    Post subject: Reply with quote

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
View user's profile Send private message
CheshireCat
Guru
Guru


Joined: 25 Aug 2002
Posts: 572

PostPosted: Sat Apr 26, 2003 7:30 am    Post subject: Reply with quote

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
View user's profile Send private message
barlad
l33t
l33t


Joined: 22 Feb 2003
Posts: 673

PostPosted: Sat Apr 26, 2003 9:24 am    Post subject: Reply with quote

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.
Code:
 emerge acpid

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
View user's profile Send private message
peterk0
Apprentice
Apprentice


Joined: 25 Mar 2003
Posts: 188
Location: Prague

PostPosted: Sat Apr 26, 2003 10:54 am    Post subject: Reply with quote

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.
Code:
 emerge acpid

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
View user's profile Send private message
LaoTzuTao
Tux's lil' helper
Tux's lil' helper


Joined: 21 Mar 2003
Posts: 96
Location: Portland, OR

PostPosted: Sun Apr 27, 2003 2:14 pm    Post subject: Reply with quote

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
View user's profile Send private message
guero61
l33t
l33t


Joined: 14 Oct 2002
Posts: 811
Location: Behind you

PostPosted: Sun Apr 27, 2003 6:13 pm    Post subject: Reply with quote

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
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Other Things Gentoo All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum