summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorXavier Santolaria <xsa@cvs.openbsd.org>2006-01-03 17:25:00 +0000
committerXavier Santolaria <xsa@cvs.openbsd.org>2006-01-03 17:25:00 +0000
commit0e77e59c700dd1133e383fcae8f5fe60a1593c6a (patch)
treeabf14f2b161343432cfa3587345707cedde4c79e
parent3ab528ee7c85f0b735ff75f1f8917cc2cf7916f0 (diff)
add asms(4) man page; ok jmc@ deraadt@ kettenis@.
-rw-r--r--share/man/man4/iic.44
-rw-r--r--share/man/man4/man4.macppc/Makefile4
-rw-r--r--share/man/man4/man4.macppc/asms.450
3 files changed, 55 insertions, 3 deletions
diff --git a/share/man/man4/iic.4 b/share/man/man4/iic.4
index 4a60815822c..27c918302a4 100644
--- a/share/man/man4/iic.4
+++ b/share/man/man4/iic.4
@@ -1,4 +1,4 @@
-.\" $OpenBSD: iic.4,v 1.33 2006/01/03 15:35:44 jmc Exp $
+.\" $OpenBSD: iic.4,v 1.34 2006/01/03 17:24:58 xsa Exp $
.\"
.\" Copyright (c) 2004 Alexander Yurchenko <grange@openbsd.org>
.\"
@@ -99,6 +99,8 @@ Analog Devices ADM1031 temperature sensor
Analog Devices ADT7460 environmental sensor
.It Xr asbtm 4
Asus ASB 100 temperature sensor
+.It Xr asms 4
+Apple sudden motion sensor
.It Xr fcu 4
Apple FCU fan controller
.It Xr lmenv 4
diff --git a/share/man/man4/man4.macppc/Makefile b/share/man/man4/man4.macppc/Makefile
index 16e900b4c96..dc26c8f7eaf 100644
--- a/share/man/man4/man4.macppc/Makefile
+++ b/share/man/man4/man4.macppc/Makefile
@@ -1,8 +1,8 @@
-# $OpenBSD: Makefile,v 1.19 2006/01/01 20:52:28 deraadt Exp $
+# $OpenBSD: Makefile,v 1.20 2006/01/03 17:24:59 xsa Exp $
# from: @(#)Makefile 5.1 (Berkeley) 2/12/91
# Id: Makefile,v 1.4 1995/12/14 05:41:38 deraadt Exp $
-MAN= abtn.4 adb.4 akbd.4 ams.4 aoa.4 apm.4 autoconf.4 awacs.4 bm.4 \
+MAN= abtn.4 adb.4 akbd.4 ams.4 aoa.4 apm.4 asms.4 autoconf.4 awacs.4 bm.4 \
daca.4 fcu.4 ht.4 intro.4 kauaiata.4 ki2c.4 macobio.4 \
mediabay.4 mem.4 onyx.4 pi2c.4 smu.4 snapper.4 tpms.4 tumbler.4 zs.4
MLINKS= mem.4 kmem.4
diff --git a/share/man/man4/man4.macppc/asms.4 b/share/man/man4/man4.macppc/asms.4
new file mode 100644
index 00000000000..a04fe3f90a7
--- /dev/null
+++ b/share/man/man4/man4.macppc/asms.4
@@ -0,0 +1,50 @@
+.\" $OpenBSD: asms.4,v 1.1 2006/01/03 17:24:59 xsa Exp $
+.\"
+.\" Copyright (c) 2005 Xavier Santolaria <xsa@openbsd.org>
+.\"
+.\" 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 December 31, 2005
+.Dt ASMS 4 macppc
+.Os
+.Sh NAME
+.Nm asms
+.Nd Apple sudden motion sensor
+.Sh SYNOPSIS
+.Cd "asms* at iic?"
+.Sh DESCRIPTION
+The
+.Nm
+driver provides support for the Apple sudden motion sensor found
+in some laptops.
+.Pp
+The sensors currently exposed via the
+.Xr sysctl 8
+interface are:
+.Bl -column "Sensor" "Units" "Typical" -offset indent
+.It Sy "Sensor" Ta Sy "Units" Ta Sy "Typical Use"
+.It Li "X_ACCEL" Ta "Unknown" Ta "X Acceleration"
+.It Li "Y_ACCEL" Ta "Unknown" Ta "Y Acceleration"
+.It Li "Z_ACCEL" Ta "Unknown" Ta "Z Acceleration"
+.El
+.Sh SEE ALSO
+.Xr iic 4 ,
+.Xr intro 4 ,
+.Xr sensorsd 8 ,
+.Xr sysctl 8
+.Sh AUTHORS
+.An -nosplit
+The
+.Nm
+driver was written by
+.An Xavier Santolaria Aq xsa@openbsd.org .