Main index | Section 4 | Options |
Alternatively, to load the driver as a module at boot time, place the following line in loader.conf(5):
asmc_load="YES"
The SMC is known to be found on the following systems:
With this driver, you can configure your keyboard backlight brightness, check temperatures of several sensors, check the speed of the internal fans and check the status of the Sudden Motion Sensor.
Variables related to the SMC control and inspection are exported via sysctl(3) under the device tree dev.asmc.
The following sysctl MIBs contains the raw value returned by the left and right light sensors: dev.asmc.%d.light.left or dev.asmc.%d.light.right.
All values are in degrees celsius.
All values are in RPM.
The most interesting usage of this device is to park the disk heads when the laptop is moved harshly. First, you need to install ataidle(8) ( ports/sysutils/ataidle) and then configure devd(8) the following way:
notify 0 { match "system" "ACPI"; match "subsystem" "asmc"; action "/usr/local/sbin/ataidle -s X Y"; };
Do not forget to change the X and Y values in the command above.
Also, please note that parking the disk heads too many times can 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.
ASMC (4) | April 2, 2019 |
Main index | Section 4 | Options |
Please direct any comments about this manual page service to Ben Bullock. Privacy policy.
“ | There are two major products of Berkeley, CA -- LSD and UNIX. We don't believe this to be strictly by coincidence. | ” |
— Jeremy S. Anderson |