1*e5cc2e7eSschwarze.\" $OpenBSD: power.4,v 1.6 2013/07/16 16:05:50 schwarze Exp $ 253356b1aSjason.\" 353356b1aSjason.\" Copyright (c) 2006 Jason L. Wright (jason@thought.net) 453356b1aSjason.\" All rights reserved. 553356b1aSjason.\" 653356b1aSjason.\" Redistribution and use in source and binary forms, with or without 753356b1aSjason.\" modification, are permitted provided that the following conditions 853356b1aSjason.\" are met: 953356b1aSjason.\" 1. Redistributions of source code must retain the above copyright 1053356b1aSjason.\" notice, this list of conditions and the following disclaimer. 1153356b1aSjason.\" 2. Redistributions in binary form must reproduce the above copyright 1253356b1aSjason.\" notice, this list of conditions and the following disclaimer in the 1353356b1aSjason.\" documentation and/or other materials provided with the distribution. 1453356b1aSjason.\" 1553356b1aSjason.\" THIS SOFTWARE IS PROVIDED BY THE AUTHOR ``AS IS'' AND ANY EXPRESS OR 1653356b1aSjason.\" IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED 1753356b1aSjason.\" WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE 1853356b1aSjason.\" DISCLAIMED. IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR ANY DIRECT, 1953356b1aSjason.\" INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES 2053356b1aSjason.\" (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR 2153356b1aSjason.\" SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) 2253356b1aSjason.\" HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, 2353356b1aSjason.\" STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN 2453356b1aSjason.\" ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE 2553356b1aSjason.\" POSSIBILITY OF SUCH DAMAGE. 2653356b1aSjason.\" 27*e5cc2e7eSschwarze.Dd $Mdocdate: July 16 2013 $ 2853356b1aSjason.Dt POWER 4 sparc64 2953356b1aSjason.Os 3053356b1aSjason.Sh NAME 3153356b1aSjason.Nm power 3253356b1aSjason.Nd power button 3353356b1aSjason.Sh SYNOPSIS 3453356b1aSjason.Cd "power* at ebus?" 3553356b1aSjason.Sh DESCRIPTION 3653356b1aSjasonSome UltraSPARC host bridges provide an interrupt when the power button 3753356b1aSjasonis depressed. 3853356b1aSjasonThe 3953356b1aSjason.Nm 4053356b1aSjasondriver catches that interrupt. 4153356b1aSjasonIf the 42b2e0f490Snaddy.Va hw.allowpowerdown 4353356b1aSjason.Xr sysctl 8 4453356b1aSjasonis set to 1, 4553356b1aSjason.Nm power 4653356b1aSjasonwill signal 4753356b1aSjason.Xr init 8 482dcbae09Sstevento do a clean shutdown. 4953356b1aSjason.Sh SEE ALSO 5053356b1aSjason.Xr ebus 4 , 5153356b1aSjason.Xr intro 4 , 5253356b1aSjason.Xr init 8 , 5305fa7f76Sjmc.Xr rc.shutdown 8 , 5405fa7f76Sjmc.Xr sysctl 8 5553356b1aSjason.Sh HISTORY 5653356b1aSjasonThe 5753356b1aSjason.Nm 5853356b1aSjasondriver was first supported in 5953356b1aSjason.Ox 4.0 . 6053356b1aSjason.Sh AUTHORS 6153356b1aSjasonThe driver was written by 62*e5cc2e7eSschwarze.An Jason Wright Aq Mt jason@thought.net . 63