diff options
author | Joerg Jung <jung@cvs.openbsd.org> | 2015-09-30 12:15:13 +0000 |
---|---|---|
committer | Joerg Jung <jung@cvs.openbsd.org> | 2015-09-30 12:15:13 +0000 |
commit | 7aa550cff08041ae0388e5c0c8b33e6862a03473 (patch) | |
tree | 26321debcba15e00ce4e63f3cb0445a00455fa59 /share | |
parent | f9a3c3fa433e8062e5aabfa57b2a7faf01e2e23d (diff) |
add a (disabled) driver for the Apple System Management Controller (SMC) as
found in Apple Intel based devices
"go at it" deraadt@
Diffstat (limited to 'share')
-rw-r--r-- | share/man/man4/asmc.4 | 62 | ||||
-rw-r--r-- | share/man/man4/isa.4 | 6 |
2 files changed, 66 insertions, 2 deletions
diff --git a/share/man/man4/asmc.4 b/share/man/man4/asmc.4 new file mode 100644 index 00000000000..154abaceda6 --- /dev/null +++ b/share/man/man4/asmc.4 @@ -0,0 +1,62 @@ +.\" $OpenBSD: asmc.4,v 1.1 2015/09/30 12:15:12 jung Exp $ +.\" +.\" Copyright (c) 2015 Joerg Jung <jung@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 $Mdocdate: September 30 2015 $ +.Dt ASMC 4 +.Os +.Sh NAME +.Nm asmc +.Nd Apple System Management Controller (SMC) +.Sh SYNOPSIS +.Cd "asmc0 at isa? port 0x300" +.Sh DESCRIPTION +The +.Nm +driver provides support for the Apple System Management Controller (SMC), as +found in Intel based Apple devices. +.Pp +The driver possesses a collection of temperature, fan, light, and acceleration +sensor values which are made available through the +.Xr sysctl 8 +interface. +.Pp +If available, the keyboard backlight is enabled by the driver. +.Sh SEE ALSO +.Xr intro 4 , +.Xr isa 4 , +.Xr sensorsd 8 , +.Xr sysctl 8 +.Sh HISTORY +The +.Nm +driver first appeared in +.Ox 5.9 . +.Sh AUTHORS +.An -nosplit +The +.Nm +driver was written by +.An Joerg Jung Aq Mt jung@openbsd.org . +.Sh CAVEATS +Light sensor values may not be available on older products. +.Pp +Acceleration sensors are not available and the associated interrupt handling is +not implemented. +.Pp +Changing the keyboard backlight value is not implemented. +.Pp +Besides the sensors, the huge amount of other functions and information +available from the SMC is not supported. diff --git a/share/man/man4/isa.4 b/share/man/man4/isa.4 index 1658a68a10d..f261022746a 100644 --- a/share/man/man4/isa.4 +++ b/share/man/man4/isa.4 @@ -1,4 +1,4 @@ -.\" $OpenBSD: isa.4,v 1.73 2014/12/10 05:42:25 jsg Exp $ +.\" $OpenBSD: isa.4,v 1.74 2015/09/30 12:15:12 jung Exp $ .\" $NetBSD: isa.4,v 1.19 2000/03/18 16:54:37 augustss Exp $ .\" .\" Copyright (c) 2000 Theo de Raadt. All rights reserved. @@ -31,7 +31,7 @@ .\" (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF .\" THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. .\" -.Dd $Mdocdate: December 10 2014 $ +.Dd $Mdocdate: September 30 2015 $ .Dt ISA 4 .Os .Sh NAME @@ -185,6 +185,8 @@ SoundForte RadioLink SF16-FMR2 FM radio device .Bl -tag -width 12n -offset ind -compact .It Xr aps 4 ThinkPad Active Protection System accelerometer +.It Xr asmc 4 +Apple System Management Controller (SMC) .It Xr fins 4 Fintek F71805F LPC Super I/O .It Xr it 4 |