summaryrefslogtreecommitdiff
path: root/share/man/man4/man4.sgi/power.4
blob: d56f6b78abcb177c689738d1856b4ed109e7ed13 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
.\"     $OpenBSD: power.4,v 1.3 2009/10/26 18:38:09 miod Exp $
.\"
.\" Copyright (c) 2007 Jasper Lievisse Adriaanse <jasper@openbsd.org>
.\" All rights reserved.
.\"
.\" Permission to use, copy, modify, and distribute this software for any
.\" purpose with or without fee is hereby granted, provided that the above
.\" copyright notice and this permission notice appear in all copies.
.\"
.\" THE SOFTWARE IS PROVIDED "AS IS" AND THE AUTHOR DISCLAIMS ALL WARRANTIES
.\" WITH REGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED WARRANTIES OF
.\" MERCHANTABILITY AND FITNESS. IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR
.\" ANY SPECIAL, DIRECT, INDIRECT, OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES
.\" WHATSOEVER RESULTING FROM LOSS OF USE, DATA OR PROFITS, WHETHER IN AN
.\" ACTION OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT OF
.\" OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.
.\"
.Dd $Mdocdate: October 26 2009 $
.Dt POWER 4 sgi
.Os
.Sh NAME
.Nm power
.Nd power button
.Sh SYNOPSIS
.Cd "power0 at macebus0" Pq "O2"
.Cd "power0 at mainbus0" Pq "Octane"
.Sh DESCRIPTION
The SGI O2 and Octane machines generate an interrupt when the power button
on the front panel is pressed.
The
.Nm
driver catches that interrupt.
If the
.Va machdep.kbdreset
.Xr sysctl 8
is set to 1,
.Nm
will then signal
.Xr init 8
to do a clean
.Xr shutdown 8 .
.Sh SEE ALSO
.Xr intro 4 ,
.Xr macebus 4 ,
.Xr init 8 ,
.Xr rc.shutdown 8 ,
.Xr sysctl 8
.Sh HISTORY
Support for the
.Nm
driver first appeared in
.Ox 4.3 .
.Sh AUTHORS
The
.Nm
driver was written by
.An Jasper Lievisse Adriaanse Aq jasper@openbsd.org .