From 7fd0d5dd19dbec5560de8911f49fe7c4802c1e89 Mon Sep 17 00:00:00 2001 From: kettenis Date: Thu, 30 Nov 2017 15:06:35 +0000 Subject: [PATCH] Add bgw(4) man page. --- share/man/man4/Makefile | 4 ++-- share/man/man4/bgw.4 | 49 +++++++++++++++++++++++++++++++++++++++++ 2 files changed, 51 insertions(+), 2 deletions(-) create mode 100644 share/man/man4/bgw.4 diff --git a/share/man/man4/Makefile b/share/man/man4/Makefile index c41e2112b73..3c61c47d282 100644 --- a/share/man/man4/Makefile +++ b/share/man/man4/Makefile @@ -1,4 +1,4 @@ -# $OpenBSD: Makefile,v 1.658 2017/10/30 14:14:18 patrick Exp $ +# $OpenBSD: Makefile,v 1.659 2017/11/30 15:06:35 kettenis Exp $ MAN= aac.4 ac97.4 acphy.4 \ acpi.4 acpiac.4 acpials.4 acpiasus.4 acpibat.4 \ @@ -14,7 +14,7 @@ MAN= aac.4 ac97.4 acphy.4 \ asbtm.4 asmc.4 ast.4 atapiscsi.4 atphy.4 ath.4 athn.4 atu.4 atw.4 \ auacer.4 audio.4 \ aue.4 auglx.4 auich.4 auixp.4 autri.4 auvia.4 axe.4 axen.4 azalia.4 \ - bce.4 berkwdt.4 bge.4 bio.4 bktr.4 bmtphy.4 bnx.4 \ + bce.4 berkwdt.4 bge.4 bgw.4 bio.4 bktr.4 bmtphy.4 bnx.4 \ boca.4 bpf.4 brgphy.4 bridge.4 brswphy.4 bwfm.4 bwi.4 bytgpio.4 \ cac.4 cas.4 cardbus.4 carp.4 cd.4 cdce.4 cfxga.4 \ ch.4 chvgpio.4 ciphy.4 ciss.4 clcs.4 clct.4 cmpci.4 \ diff --git a/share/man/man4/bgw.4 b/share/man/man4/bgw.4 new file mode 100644 index 00000000000..2cb6f9e04e4 --- /dev/null +++ b/share/man/man4/bgw.4 @@ -0,0 +1,49 @@ +.\" $OpenBSD: bgw.4,v 1.1 2017/11/30 15:06:35 kettenis Exp $ +.\" +.\" Copyright (c) 2017 Mark Kettenis +.\" +.\" 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: November 30 2017 $ +.Dt BGW 4 +.Os +.Sh NAME +.Nm bgw +.Nd Bosch motion sensor +.Sh SYNOPSIS +.Cd "bgw* at iic?" +.Sh DESCRIPTION +The +.Nm +driver provides support for the Bosch BMC150, BMI055, BMA222E, +BMA250E, BMA255 and BMA280 motion sensors. +The acceleration data as well as the chip temperature are made +available through the +.Xr sysctl 8 +interface. +.Sh SEE ALSO +.Xr iic 4 , +.Xr intro 4 , +.Xr sensorsd 8 , +.Xr sysctl 8 +.Sh HISTORY +The +.Nm +driver first appeared in +.Ox 6.3 . +.Sh AUTHORS +.An -nosplit +The +.Nm +driver was written by +.An Mark Kettenis Aq Mt kettenis@openbsd.org . -- 2.20.1