From 267280727dfed6c57d48878f5ef3182f7d877dd8 Mon Sep 17 00:00:00 2001 From: Jason McIntyre Date: Thu, 29 Nov 2007 11:35:36 +0000 Subject: - for acpi(4), document /dev/apm and /dev/apmctl - for apm(4) pages, sync the description of these devices ok tedu --- share/man/man4/acpi.4 | 17 +++++++++++++++-- share/man/man4/man4.amd64/apm.4 | 16 +++++++--------- share/man/man4/man4.i386/apm.4 | 16 +++++++--------- share/man/man4/man4.macppc/apm.4 | 16 +++++++--------- share/man/man4/man4.zaurus/apm.4 | 16 +++++++--------- 5 files changed, 43 insertions(+), 38 deletions(-) (limited to 'share/man') diff --git a/share/man/man4/acpi.4 b/share/man/man4/acpi.4 index fb8f8524525..4bc9158976e 100644 --- a/share/man/man4/acpi.4 +++ b/share/man/man4/acpi.4 @@ -1,4 +1,4 @@ -.\" $OpenBSD: acpi.4,v 1.26 2007/11/28 15:54:59 jmc Exp $ +.\" $OpenBSD: acpi.4,v 1.27 2007/11/29 11:35:35 jmc Exp $ .\" .\" Copyright (c) 2006 Alexander Yurchenko .\" @@ -14,7 +14,7 @@ .\" 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 28 2007 $ +.Dd $Mdocdate: November 29 2007 $ .Dt ACPI 4 .Os .Sh NAME @@ -68,6 +68,19 @@ ACPI power management timer .It Xr acpitz 4 ACPI thermal zone .El +.Sh FILES +.Bl -tag -width "/dev/apmctlXXX" +.It /dev/apm +Power management data device. +May only be opened read-only. +May be opened by multiple concurrent users. +.It /dev/apmctl +Power management control device. +May be opened read-write or write-only. +May only be opened by one user at a time. +An attempt to open the file when in use will fail, returning +.Er EBUSY . +.El .Sh SEE ALSO .Xr apm 4 , .Xr intro 4 diff --git a/share/man/man4/man4.amd64/apm.4 b/share/man/man4/man4.amd64/apm.4 index 7bbeb37b13f..c79cffbb3ca 100644 --- a/share/man/man4/man4.amd64/apm.4 +++ b/share/man/man4/man4.amd64/apm.4 @@ -1,4 +1,4 @@ -.\" $OpenBSD: apm.4,v 1.2 2007/11/28 15:59:54 jmc Exp $ +.\" $OpenBSD: apm.4,v 1.3 2007/11/29 11:35:35 jmc Exp $ .\" .\" Copyright (c) 1998 Marco S. Hyman .\" @@ -9,7 +9,7 @@ .\" LIMITATION, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS .\" FOR A PARTICULAR PURPOSE. .\" -.Dd $Mdocdate: November 28 2007 $ +.Dd $Mdocdate: November 29 2007 $ .Dt APM 4 amd64 .Os .Sh NAME @@ -197,15 +197,13 @@ to zero disables all warnings regardless of the setting. .El .Sh FILES -.Bl -tag -width /dev/apmctl -compact -.It Pa /dev/apm -.Tn APM -data device. +.Bl -tag -width "/dev/apmctlXXX" +.It /dev/apm +Power management data device. May only be opened read-only. May be opened by multiple concurrent users. -.It Pa /dev/apmctl -.Tn APM -control device. +.It /dev/apmctl +Power management control device. May be opened read-write or write-only. May only be opened by one user at a time. An attempt to open the file when in use will fail, returning diff --git a/share/man/man4/man4.i386/apm.4 b/share/man/man4/man4.i386/apm.4 index ea6dfeb8ca8..a1006e753da 100644 --- a/share/man/man4/man4.i386/apm.4 +++ b/share/man/man4/man4.i386/apm.4 @@ -1,4 +1,4 @@ -.\" $OpenBSD: apm.4,v 1.28 2007/11/28 13:06:57 tedu Exp $ +.\" $OpenBSD: apm.4,v 1.29 2007/11/29 11:35:35 jmc Exp $ .\" .\" Copyright (c) 1998 Marco S. Hyman .\" @@ -9,7 +9,7 @@ .\" LIMITATION, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS .\" FOR A PARTICULAR PURPOSE. .\" -.Dd $Mdocdate: November 28 2007 $ +.Dd $Mdocdate: November 29 2007 $ .Dt APM 4 i386 .Os .Sh NAME @@ -261,15 +261,13 @@ to 1 using The variable can be set at boot time in .Xr sysctl.conf 5 . .Sh FILES -.Bl -tag -width /dev/apmctl -compact -.It Pa /dev/apm -.Tn APM -data device. +.Bl -tag -width "/dev/apmctlXXX" +.It /dev/apm +Power management data device. May only be opened read-only. May be opened by multiple concurrent users. -.It Pa /dev/apmctl -.Tn APM -control device. +.It /dev/apmctl +Power management control device. May be opened read-write or write-only. May only be opened by one user at a time. An attempt to open the file when in use will fail, returning diff --git a/share/man/man4/man4.macppc/apm.4 b/share/man/man4/man4.macppc/apm.4 index e9a69bc40b4..57ea5993362 100644 --- a/share/man/man4/man4.macppc/apm.4 +++ b/share/man/man4/man4.macppc/apm.4 @@ -1,4 +1,4 @@ -.\" $OpenBSD: apm.4,v 1.8 2007/05/31 19:19:55 jmc Exp $ +.\" $OpenBSD: apm.4,v 1.9 2007/11/29 11:35:35 jmc Exp $ .\" .\" Copyright (c) 1998 Marco S. Hyman .\" @@ -9,7 +9,7 @@ .\" LIMITATION, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS .\" FOR A PARTICULAR PURPOSE. .\" -.Dd $Mdocdate: May 31 2007 $ +.Dd $Mdocdate: November 29 2007 $ .Dt APM 4 macppc .Os .Sh NAME @@ -258,15 +258,13 @@ to 1 using The variable can be set at boot time in .Xr sysctl.conf 5 . .Sh FILES -.Bl -tag -width /dev/apmctl -.It Pa /dev/apm -.Tn APM -data device. +.Bl -tag -width "/dev/apmctlXXX" +.It /dev/apm +Power management data device. May only be opened read-only. May be opened by multiple concurrent users. -.It Pa /dev/apmctl -.Tn APM -control device. +.It /dev/apmctl +Power management control device. May be opened read-write or write-only. May only be opened by one user at a time. An attempt to open the file when in use will fail, returning diff --git a/share/man/man4/man4.zaurus/apm.4 b/share/man/man4/man4.zaurus/apm.4 index 2272db5c5cb..bd1a6797890 100644 --- a/share/man/man4/man4.zaurus/apm.4 +++ b/share/man/man4/man4.zaurus/apm.4 @@ -1,4 +1,4 @@ -.\" $OpenBSD: apm.4,v 1.10 2007/11/28 13:12:29 tedu Exp $ +.\" $OpenBSD: apm.4,v 1.11 2007/11/29 11:35:35 jmc Exp $ .\" .\" Copyright (c) 1998 Marco S. Hyman .\" @@ -9,7 +9,7 @@ .\" LIMITATION, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS .\" FOR A PARTICULAR PURPOSE. .\" -.Dd $Mdocdate: November 28 2007 $ +.Dd $Mdocdate: November 29 2007 $ .Dt APM 4 zaurus .Os .Sh NAME @@ -226,15 +226,13 @@ to zero disables all warnings regardless of the setting. .El .Sh FILES -.Bl -tag -width /dev/apmctl -.It Pa /dev/apm -.Tn APM -data device. +.Bl -tag -width "/dev/apmctlXXX" +.It /dev/apm +Power management data device. May only be opened read-only. May be opened by multiple concurrent users. -.It Pa /dev/apmctl -.Tn APM -control device. +.It /dev/apmctl +Power management control device. May be opened read-write or write-only. May only be opened by one user at a time. An attempt to open the file when in use will fail, returning -- cgit v1.2.3