Linux and UNIX Man Pages

Linux & Unix Commands - Search Man Pages

acpi_toshiba(4) [freebsd man page]

ACPI_TOSHIBA(4) 					   BSD 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 8, 2010 BSD

Check Out this Related Man Page

ACPI_FUJITSU(4) 					   BSD Kernel Interfaces Manual 					   ACPI_FUJITSU(4)

NAME
acpi_fujitsu -- Fujitsu Laptop Extras SYNOPSIS
To compile this driver into the kernel, place the following line in your kernel configuration file: device acpi_fujitsu Alternatively, to load the driver as a module at boot time, place the following line in loader.conf(5): acpi_fujitsu_load="YES" DESCRIPTION
The acpi_fujitsu driver enables the ACPI-controlled buttons on Fujitsu notebooks. The button events are sent to userspace via devd(8), and a sysctl(8) interface is provided to simulate the hardware events. Using this driver, one can control the brightness of the display, the volume of the speakers, and the internal (eraserhead) mouse pointer. SYSCTL VARIABLES
These sysctls are currently implemented: hw.acpi.fujitsu.lcd_brightness Makes the LCD backlight brighter or dimmer. hw.acpi.fujitsu.pointer_enable Enables or disables the internal mouse pointer. hw.acpi.fujitsu.volume Controls the speaker volume. hw.acpi.fujitsu.mute Mutes the speakers. Defaults for these sysctls can be set in sysctl.conf(5). EXAMPLES
The following can be added to devd.conf(5) in order to pass button events to a /usr/local/sbin/acpi_oem_exec.sh script: notify 10 { match "system" "ACPI"; match "subsystem" "FUJITSU"; action "/usr/local/sbin/acpi_oem_exec.sh $notify fujitsu"; }; A possible /usr/local/sbin/acpi_oem_exec.sh script might look like: #!/bin/sh # if [ "$1" = "" -o "$2" = "" ] then echo "usage: $0 notify oem_name" exit 1 fi NOTIFY=`echo $1` LOGGER="logger" CALC="bc" BC_PRECOMMANDS="scale=2" ECHO="echo" CUT="cut" MAX_LCD_BRIGHTNESS=7 MAX_VOLUME=16 OEM=$2 DISPLAY_PIPE=/tmp/acpi_${OEM}_display case ${NOTIFY} in 0x00) LEVEL=`sysctl -n hw.acpi.${OEM}.mute` if [ "$LEVEL" = "1" ] then MESSAGE="volume muted" else MESSAGE="volume unmuted" fi ;; 0x01) LEVEL=`sysctl -n hw.acpi.${OEM}.pointer_enable` if [ "$LEVEL" = "1" ] then MESSAGE="pointer enabled" else MESSAGE="pointer disabled" fi ;; 0x02) LEVEL=`sysctl -n hw.acpi.${OEM}.lcd_brightness` PERCENT=`${ECHO} "${BC_PRECOMMANDS} ; ${LEVEL} / ${MAX_LCD_BRIGHTNESS} * 100" | ${CALC} | ${CUT} -d . -f 1` MESSAGE="brightness level ${PERCENT}%" ;; 0x03) LEVEL=`sysctl -n hw.acpi.${OEM}.volume` PERCENT=`${ECHO} "${BC_PRECOMMANDS} ; ${LEVEL} / ${MAX_VOLUME} * 100" | ${CALC} | ${CUT} -d . -f 1` MESSAGE="volume level ${PERCENT}%" ;; *) ;; esac ${LOGGER} ${MESSAGE} if [ -p ${DISPLAY_PIPE} ] then ${ECHO} ${MESSAGE} >> ${DISPLAY_PIPE} & fi exit 0 SEE ALSO
acpi(4), sysctl.conf(5), devd(8), sysctl(8) HISTORY
The acpi_fujitsu driver first appeared in FreeBSD 5.4. AUTHORS
The acpi_fujitsu driver was written by Sean Bullington <shegget@gmail.com>, Anish Mistry <mistry.7@osu.edu>, and Marc Santcroos <marks@ripe.net>. This manual page was written by Philip Paeps <philip@FreeBSD.org>. BSD
February 8, 2010 BSD
Man Page