[parisc-linux] Power button on 712

Witvliet, Hans Hans.Witvliet@Alcatel.nl
Thu, 22 Nov 2001 15:31:37 +0100

Under hp-ux, if you press the "power-button" on the front, the system traps
it, and performs a "shutdown -h now"  (at least it takes ages to stop)
So the button on the front is not a BRS, but just generates a irq (on some
systems anyway....)

I presume this irq could be trapped under linux aswell, not?

	-----Original Message-----
	From:	Jan-Benedict Glaw [SMTP:jbglaw@lug-owl.de]
	Sent:	Thursday, November 22, 2001 2:53 PM
	To:	parisc-linux@lists.parisc-linux.org
	Subject:	Re: [parisc-linux] Power button on 712

	On Thu, 2001-11-22 15:48:41 +0200, Kaj-Michael Lang <milang@tal.org>
	wrote in message <003801c1735c$6581b7b0$56dc10c3@amos>:
	> This might sound really strange but anyway:
	> Should the power button work under Linux ?
	> Even after halting I need to pull the cord to get my machine to
power down,
	> as it won't respond to the the power button.

	During initialisation of hardware (the front LED is blinking) you
	can "easily" switch off the machine. But, after the OS was started,
	it's not such a good idea to allow an user to simply fiddle with
	the BRS (-> big red switch). Try to /sbin/poweroff or to /sbin/halt
	your box and try again:-)


	Jan-Benedict Glaw   .   jbglaw@lug-owl.de   .   +49-172-7608481

	parisc-linux mailing list