1.\" $OpenBSD: asmc.4,v 1.5 2020/09/13 10:43:40 jmc Exp $ 2.\" 3.\" Copyright (c) 2015 Joerg Jung <jung@openbsd.org> 4.\" 5.\" Permission to use, copy, modify, and distribute this software for any 6.\" purpose with or without fee is hereby granted, provided that the above 7.\" copyright notice and this permission notice appear in all copies. 8.\" 9.\" THE SOFTWARE IS PROVIDED "AS IS" AND THE AUTHOR DISCLAIMS ALL WARRANTIES 10.\" WITH REGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED WARRANTIES OF 11.\" MERCHANTABILITY AND FITNESS. IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR 12.\" ANY SPECIAL, DIRECT, INDIRECT, OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES 13.\" WHATSOEVER RESULTING FROM LOSS OF USE, DATA OR PROFITS, WHETHER IN AN 14.\" ACTION OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT OF 15.\" OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE. 16.\" 17.Dd $Mdocdate: September 13 2020 $ 18.Dt ASMC 4 19.Os 20.Sh NAME 21.Nm asmc 22.Nd Apple System Management Controller (SMC) 23.Sh SYNOPSIS 24.Cd "asmc0 at acpi?" 25.Sh DESCRIPTION 26The 27.Nm 28driver provides support for the Apple System Management Controller (SMC), as 29found in Intel based Apple devices. 30.Pp 31The driver possesses a collection of temperature, fan, light, and acceleration 32sensor values which are made available through the 33.Xr sysctl 8 34interface. 35.Pp 36If available, the keyboard backlight is enabled by the driver and can be 37adjusted using the 38.Xr wsconsctl 8 39variable 40.Va keyboard.backlight . 41.Sh SEE ALSO 42.Xr acpi 4 , 43.Xr intro 4 , 44.Xr sensorsd 8 , 45.Xr sysctl 8 , 46.Xr wsconsctl 8 47.Sh HISTORY 48The 49.Nm 50driver first appeared in 51.Ox 5.9 . 52.Sh AUTHORS 53.An -nosplit 54The 55.Nm 56driver was written by 57.An Joerg Jung Aq Mt jung@openbsd.org . 58.Sh CAVEATS 59Light sensor values may not be available on older products. 60.Pp 61Acceleration sensors are not available and the associated interrupt handling is 62not implemented. 63.Pp 64Besides the sensors, the huge amount of other functions and information 65available from the SMC is not supported. 66