Linux and UNIX Man Pages

Linux & Unix Commands - Search Man Pages

asmc(4) [freebsd man page]

ASMC(4) 						   BSD Kernel Interfaces Manual 						   ASMC(4)

NAME
asmc -- device driver for the Apple System Management Console (SMC) SYNOPSIS
To compile this driver into the kernel, place the following line in your kernel configuration file: device asmc Alternatively, to load the driver as a module at boot time, place the following line in loader.conf(5): asmc_load="YES" DESCRIPTION
The asmc driver controls the Apple System Management Console (SMC for short) found on Intel Apple systems. The SMC is known to be found on the following systems: o MacBook o MacBook Pro o Intel MacMini o Mac Pro o MacBook Air o Intel iMac With this driver, you can configure your keyboard backlight brightness, check temperatures of several sensors, check the speed of the inter- nal 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. KEYBOARD BACKLIGHT
On MacBook Pro systems, you can control the keyboard brightness by writing a value to the dev.asmc.%d.light.control sysctl MIB. 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. TEMPERATURES
The number of temperature sensors and their description varies among systems. You can inspect the temperature sensors on your system by traversing the dev.asmc.temp sysctl MIB. All values are in degrees celsius. SYSTEM FANS
The dev.asmc.fan.%d sysctl tree contains the leaf nodes speed, safespeed, minspeed, maxspeed and targetspeed. Each of these leaf nodes rep- resent the current fan speed, the safest minimum fan speed, the minimum speed and the maximum speed respectively. All values are in RPM. SUDDEN MOTION SENSOR
The Sudden Motion Sensor (SMS for short) is a device that detects laptop movement and notifies the operating system via an interrupt. The sysctl MIBs present under dev.asmc.sms all relate to the SMS. 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. SEE ALSO
ataidle(8) (ports/sysutils/ataidle), devd(8), sysctl(8) HISTORY
The asmc driver first appeared in FreeBSD 8.0. AUTHORS
Rui Paulo <rpaulo@FreeBSD.org> (Google Summer of Code project) BUGS
Support for the latest models was never tested and is most likely not fully working. BSD
July 27, 2009 BSD

Check Out this Related Man Page

ACPI_TOSHIBA(4) 					 BSD/i386 Kernel Interfaces Manual					   ACPI_TOSHIBA(4)

NAME
acpi_toshiba -- Toshiba HCI interface SYNOPSIS
To compile this driver into the kernel, place the following line in your kernel configuration file: device acpi_toshiba Alternatively, to load the driver as a module at boot time, place the following line in loader.conf(5): acpi_toshiba_load="YES" DESCRIPTION
HCI is Toshiba's Hardware Control Interface which is somewhat uniform across their models. The acpi_toshiba driver allows the user to manip- ulate HCI-controlled hardware using a number of sysctl(8) variables. SYSCTL VARIABLES
The following sysctls are currently implemented: hw.acpi.toshiba.force_fan Causes active cooling to be forcibly enabled ('1') or disabled ('0') regardless of the current temperature. hw.acpi.toshiba.video_output Sets the active display to use according to a bitwise OR of the following: 0 No display 1 LCD 2 CRT 4 TV-Out Only some systems (i.e., the Libretto L5) support video switching via this hardware-specific driver. Use the acpi_video(4) driver for generic video output support. hw.acpi.toshiba.lcd_brightness Makes the LCD backlight brighter or dimmer (higher values are brighter). hw.acpi.toshiba.lcd_backlight Turns the LCD backlight on and off. hw.acpi.toshiba.cpu_speed Sets the CPU speed to the specified speed. This provides functionality similar to the hw.acpi.cpu.throttle_state variable. Higher sysctl values mean lower CPU speeds. Defaults for these variables can be set in sysctl.conf(5), which is parsed at boot-time. LOADER TUNABLES
The hw.acpi.toshiba.enable_fn_keys tunable enables or disables the function keys on the keyboard. Function keys are enabled by default. This behaviour can be changed at the loader(8) prompt or in loader.conf(5). SEE ALSO
acpi(4), acpi_video(4), loader.conf(5), sysctl.conf(5), sysctl(8) HISTORY
The acpi_toshiba driver first appeared in FreeBSD 5.1. AUTHORS
The acpi_toshiba driver was written by Hiroyuki Aizu <aizu@navi.org>. This manual page was written by Philip Paeps <philip@FreeBSD.org>. BSD
February 19, 2004 BSD
Man Page