Re: [gentoo-user] Power butten

2006-09-16 Thread Mick
On Saturday 16 September 2006 00:53, Richard Fish wrote: You need to add a sleep case here to do whatever you want to happen when you press the pwer button... Thanks Richard, I have added this: === case $group in button) case

Re: The Big Red Button - was Re: [gentoo-user] Power butten

2006-09-16 Thread William Kenworthy
use a usb mouse - dismantle it and use your big red button to close the left mouse switch (or better one of the aux ones if they exist). Map this to shutdown the system. BillK On Sat, 2006-09-16 at 11:17 +1000, Andrew Lowe wrote: Ryan Tandy wrote: rob wrote: How do you get power pitten to

Re: The Big Red Button - was Re: [gentoo-user] Power butten

2006-09-16 Thread Iain Buchanan
On Sat, 2006-09-16 at 11:17 +1000, Andrew Lowe wrote: Just a slight hijacking of this topic, I have a little EPIA server acting as firewall, npt, dhcp, dns,etc,etc. Now even though it doesn't pull a lot of power, I don't want it running all the time, it has something to do with

Re: [gentoo-user] Power butten

2006-09-15 Thread Mick
Don't mean to hijack this thread, but my situation is probably similar to the OP. On Friday 15 September 2006 02:57, Daniel Iliev wrote: Iain Buchanan wrote: Finally, if it still doesn't work, post what you see from tail -f /var/log/messages or whatever your syslog is, when you press the

Re: [gentoo-user] Power butten

2006-09-15 Thread Bo Ørsted Andresen
On Friday 15 September 2006 12:47, Mick wrote: Don't mean to hijack this thread, but my situation is probably similar to the OP. On Friday 15 September 2006 02:57, Daniel Iliev wrote: Iain Buchanan wrote: Finally, if it still doesn't work, post what you see from tail -f

Re: [gentoo-user] Power butten

2006-09-15 Thread Mick
On Friday 15 September 2006 11:58, Bo Ørsted Andresen wrote: Perhaps [1] will give you a clue. Otherwise feel free to ask again. [1] http://gentoo-wiki.com/HOWTO_Shutdown_headless_server_when_power-button_pre ssed Thanks! I hadn't spotted this article. I've tried adding the following two

Re: [gentoo-user] Power butten

2006-09-15 Thread Nico Schümann
2006/9/15, Mick [EMAIL PROTECTED]: On Friday 15 September 2006 11:58, Bo Ørsted Andresen wrote: Thanks! I hadn't spotted this article. I've tried adding the following two lines in /etc/acpid/event/default but nothing much happened (as per the log further down): event=button[ /]power.*

Re: [gentoo-user] Power butten

2006-09-15 Thread Mick
On Friday 15 September 2006 21:18, Nico Schümann wrote: Well, my configuration slightly differs from your one. --- /etc/acpid/events/default event=.* action=/etc/acpi/default.sh %e No it doesn't really. The default entries in mine were as you show above. I just followed the comments in

Re: [gentoo-user] Power butten

2006-09-15 Thread Richard Fish
On 9/15/06, Mick [EMAIL PROTECTED] wrote: case $group in button) case $action in power) /sbin/init 0 ;; You need to add a sleep case here to do whatever you want to happen when you

The Big Red Button - was Re: [gentoo-user] Power butten

2006-09-15 Thread Andrew Lowe
Ryan Tandy wrote: rob wrote: How do you get power pitten to shutdown and power off Gentoo box rob # emerge sys-power/acpid # rc-update add acpid default # /etc/init.d/acpid start and you're done! The default configuration for acpid includes a handler for the power button event. HTH.

Re: [gentoo-user] Power butten

2006-09-14 Thread George Prowse
Press and hold in for 3-5 seconds, that is a hard shutdown if it wont turn off George On 14/09/06, rob [EMAIL PROTECTED] wrote: How do you get power pitten to shutdown and power off Gentoo box rob -- gentoo-user@gentoo.org mailing list -- gentoo-user@gentoo.org mailing list

Re: [gentoo-user] Power butten

2006-09-14 Thread Iain Buchanan
On Thu, 2006-09-14 at 18:17 -0400, rob wrote: How do you get power pitten to shutdown and power off Gentoo box What happens now when you press the power button? What does your syslog say? First of all, you need an ATX motherboard. (Any motherboard newer than about 7/8 or so years ago).

Re: [gentoo-user] Power butten

2006-09-14 Thread Ryan Tandy
rob wrote: How do you get power pitten to shutdown and power off Gentoo box rob # emerge sys-power/acpid # rc-update add acpid default # /etc/init.d/acpid start and you're done! The default configuration for acpid includes a handler for the power button event. HTH. --

Re: [gentoo-user] Power butten

2006-09-14 Thread Daniel Iliev
Iain Buchanan wrote: On Thu, 2006-09-14 at 18:17 -0400, rob wrote: How do you get power pitten to shutdown and power off Gentoo box What happens now when you press the power button? What does your syslog say? First of all, you need an ATX motherboard. (Any motherboard newer