Re: The power button

2011-06-05 Thread Amit Kulkarni
> When I press the power button on an x86 PC, acpibtn(4) receives the > event and shuts down the machine. that is a absolutely needed thing to have. this functionality does a smooth shutdown without need for fsck on restart. i have depended on this feature whenever i test something, a

The power button

2011-06-05 Thread Christian Weisgerber
When I press the power button on an x86 PC, acpibtn(4) receives the event and shuts down the machine. When I press the power button on my Blade 100 (sparc64), power(4) receives the event and by default ignores it. Only if the machdep.kbdreset sysctl is set to 1 will power(4) proceed to shut down

Re: Shutdown with the power button

2008-10-17 Thread Mikel Lindsaar
On Thu, Oct 16, 2008 at 11:54 PM, <[EMAIL PROTECTED]> wrote: > On Thu, Oct 16, 2008 at 11:30:02PM +1100, Mikel Lindsaar wrote: >> Hmm... here is the dmesg then any ideas? > looks like you're missing an acpibtn (man acpibtn). Thanks Peter, that is the case and it looks like the why on the prob

Re: Shutdown with the power button

2008-10-16 Thread Girish Venkatachalam
On 15:41:27 Oct 16, Guillermo Bernaldo de Quiros Maraver Pedroche wrote: > see /etc/rc.shutdown and set: > > powerdown=YES # set to YES for powerdown > Try this. It might work. My /etc/sysctl.conf has the line machdep.kbdreset=1 # permit console CTRL-ALT-DEL to do a nice halt

Re: Shutdown with the power button

2008-10-16 Thread peter
hi, On Thu, Oct 16, 2008 at 11:30:02PM +1100, Mikel Lindsaar wrote: > Hmm... here is the dmesg then any ideas? looks like you're missing an acpibtn (man acpibtn). -- CUL8R, Peter.

Re: Shutdown with the power button

2008-10-16 Thread Guillermo Bernaldo de Quiros Maraver Pedroche
ing if anyone knows how (or if it is possible) to be able to > >> gracefully power down an OpenBSD box by hitting the power button on > >> the server. > > Mine does clean shutdown on power button just from the box > > Hmm... here is the dmesg then any ideas? >

Re: Shutdown with the power button

2008-10-16 Thread Marco Peereboom
is possible) to be able to > >> gracefully power down an OpenBSD box by hitting the power button on > >> the server. > > Mine does clean shutdown on power button just from the box > > Hmm... here is the dmesg then any ideas? > > > > OpenBSD 4.3 (GENERIC) #

Re: Shutdown with the power button

2008-10-16 Thread Mikel Lindsaar
On Thu, Oct 16, 2008 at 11:22 PM, Gregory Edigarov <[EMAIL PROTECTED]> wrote: > Mikel Lindsaar wrote: >> Wondering if anyone knows how (or if it is possible) to be able to >> gracefully power down an OpenBSD box by hitting the power button on >> the server. > Mine

Shutdown with the power button

2008-10-16 Thread Mikel Lindsaar
Hi list, Wondering if anyone knows how (or if it is possible) to be able to gracefully power down an OpenBSD box by hitting the power button on the server. Useful when you need someone to power down a system (like in a power failure situation) but there is no console attached. FreeBSD and linux

Re: Shutdown and Powerdown when the power button is pressed

2008-08-24 Thread Remco
Ajitabh Pandey wrote: > Hi, > > I have a Dell Pentium III 1GHz/512MB running OpenBSD 4.3. I am running > the generic kernel. When I press the power button on the front the > machine just switches off. > > I wanted if the power button is pressed then the shutdown is

Re: Shutdown and Powerdown when the power button is pressed

2008-08-24 Thread Stijn
Ajitabh Pandey wrote: Hi, I have a Dell Pentium III 1GHz/512MB running OpenBSD 4.3. I am running the generic kernel. When I press the power button on the front the machine just switches off. I wanted if the power button is pressed then the shutdown is started followed by poweroff (shutdown -hp

Re: Shutdown and Powerdown when the power button is pressed

2008-08-24 Thread ropers
z/512MB running OpenBSD 4.3. I am running > the generic kernel. When I press the power button on the front the > machine just switches off. > > I wanted if the power button is pressed then the shutdown is started > followed by poweroff (shutdown -hp now). > > This machine was r

Shutdown and Powerdown when the power button is pressed

2008-08-24 Thread Ajitabh Pandey
Hi, I have a Dell Pentium III 1GHz/512MB running OpenBSD 4.3. I am running the generic kernel. When I press the power button on the front the machine just switches off. I wanted if the power button is pressed then the shutdown is started followed by poweroff (shutdown -hp now). This machine was