Some cleanup.

This commit is contained in:
Christian Brueffer 2007-11-12 19:59:22 +00:00
parent eed4ee29e5
commit d518b2ba09
Notes: svn2git 2020-12-20 02:59:44 +00:00
svn path=/head/; revision=173571

View File

@ -62,32 +62,32 @@ Intel MacMini
.El
.Pp
With this driver, you can configure your keyboard backlight
brigthness, check temperatures of several sensors, check the speed of
brightness, check temperatures of several sensors, check the speed of
the internal fans and check the status of the Sudden Motion Sensor.
.Pp
Variables regarding to the SMC control and inspection are exported via
Variables related to the SMC control and inspection are exported via
.Xr sysctl 4
under the device tree
.Va dev.asmc .
.Sh KEYBOARD BACKLIGHT
On
.Em MacBook Pro
systems, you can control the keyboard brigthness by writting values to
systems, you can control the keyboard brightness by writing values to
the
.Va dev.asmc.%d.light.left
or
.Va dev.asmc.%d.light.right
sysctl MIBs.
.Pp
Each of these sysctl MIBs contain the raw value returned by the left
Each of these sysctl MIBs contains the raw value returned by the left
and right light sensors.
.Sh TEMPERATURES
The number of temperature sensors and their description varies among
systems.
You can inspect the temperature sensors on your system by traversing
the sysctl
the
.Va dev.asmc.temp
MIB.
sysctl MIB.
.Pp
All values are in degrees celsius.
.Sh SYSTEM FANS
@ -113,8 +113,9 @@ The sysctl MIBs present under
all relate to the SMS.
.Pp
The most interesting usage of this device is to park the disk heads
when the laptop is moved harshly. First, you need to install
.Xr ataidle 1
when the laptop is moved harshly.
First, you need to install
.Xr ataidle 1 Pq Pa ports/sysutils/ataidle
and then configure
.Xr devd 8
the following way:
@ -126,18 +127,19 @@ notify 0 {
};
.Ed
.Pp
Don't forget to change the
Do not forget to change the
.Va X
and
.Va Y
values in the command above.
.Pp
Also, please note that parking the disk heads too many times can
dramatically reduce your hard drive's life span. Don't rely solely on
dramatically reduce your hard drive's life span.
Do not rely solely on
the SMS to protect your hard drive: good care and common sense can
increase your hard drive's life.
.Sh SEE ALSO
.Xr ataidle 1 ,
.Xr ataidle 1 Pq Pa ports/sysutils/ataidle ,
.Xr devd 8 ,
.Xr sysctl 8
.Sh BUGS