From b25837dd42348cecef4ab5c5552f8efbb2d3fc9e Mon Sep 17 00:00:00 2001 From: kettenis Date: Mon, 10 Jan 2022 09:16:30 +0000 Subject: [PATCH] aplsmc(4) --- share/man/man4/man4.arm64/Makefile | 4 +-- share/man/man4/man4.arm64/aplsmc.4 | 50 ++++++++++++++++++++++++++++++ 2 files changed, 52 insertions(+), 2 deletions(-) create mode 100644 share/man/man4/man4.arm64/aplsmc.4 diff --git a/share/man/man4/man4.arm64/Makefile b/share/man/man4/man4.arm64/Makefile index da19e97f22b..77de41745f9 100644 --- a/share/man/man4/man4.arm64/Makefile +++ b/share/man/man4/man4.arm64/Makefile @@ -1,8 +1,8 @@ -# $OpenBSD: Makefile,v 1.22 2021/12/24 00:07:06 patrick Exp $ +# $OpenBSD: Makefile,v 1.23 2022/01/10 09:16:30 kettenis Exp $ MAN= agtimer.4 ampintc.4 apldart.4 apldog.4 aplhidev.4 apliic.4 \ aplintc.4 aplmbox.4 aplns.4 aplpcie.4 aplpinctrl.4 aplpmgr.4 \ - aplpmu.4 aplspi.4 aplspmi.4 apm.4 \ + aplpmu.4 aplsmc.4 aplspi.4 aplspmi.4 apm.4 \ efi.4 intro.4 smbios.4 MANSUBDIR=arm64 diff --git a/share/man/man4/man4.arm64/aplsmc.4 b/share/man/man4/man4.arm64/aplsmc.4 new file mode 100644 index 00000000000..7decce4cdba --- /dev/null +++ b/share/man/man4/man4.arm64/aplsmc.4 @@ -0,0 +1,50 @@ +.\" $OpenBSD: aplsmc.4,v 1.1 2022/01/10 09:16:30 kettenis Exp $ +.\" +.\" Copyright (c) 2021 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: January 10 2022 $ +.Dt APLSMC 4 arm64 +.Os +.Sh NAME +.Nm aplsmc +.Nd Apple System Management Controller (SMC) +.Sh SYNOPSIS +.Cd "aplsmc* at fdt?" +.Sh DESCRIPTION +The +.Nm +driver provides support for the System Management Controller (SMC) +found on various Apple SoCs. +The driver provides a collection of current, fan, power, temperature, +voltage and battery information sensors. +.Pp +Sensor values are made available through the +.Xr sysctl 8 +interface. +.Sh SEE ALSO +.Xr intro 4, +.Xr sensorsd 8, +.Xr sysctl 8 +.Sh HISTORY +The +.Nm +driver first appeared in +.Ox 7.1 . +.Sh AUTHORS +.An -nosplit +The +.Nm +driver was written by +.An Mark Kettenis Aq Mt kettenis@openbsd.org . -- 2.20.1