SONY(4) BSD Kernel Interfaces Manual SONY(4)NAME
sony -- Sony Miscellaneous Controller
sony* at acpi?
Some Sony notebook computers have a controller that handles various built-in devices. The sony driver provides support for accessing/modify-
ing the settings of some of these devices via the sysctl(8) interface.
The following sysctl(8) variables are available:
hw.sony0.brt [R/W] Controls current LCD brightness. Range [0-8].
hw.sony0.pbr [R/W] Controls power on LCD brightness. Range [0-8].
hw.sony0.cdp [R/W] Controls CD power.
hw.sony0.pid [R/O] Unknown
hw.sony0.ctr [R/W] Unknown
hw.sony0.pcr [R/W] Unknown
hw.sony0.cmi [R/W] Unknown
hw.sony0.ams [R/W] Audio control (mute when 0)
hw.sony0.hke [R/O] Indicates a Host Key Event. Bits are set when an event occurs and cleared when this value is read. The following table
describes the bit set for each button pressed:
0x1000 S1 button
0x0800 S2 button
0x0200 Fn + F10 (magnify)
0x0100 Mute button
0x0020 Fn + F12 (suspend to disk)
0x0010 Fn + F7 (LCD/external monitor)
0x0008 Fn + F6 (brighter backlight)
0x0004 Fn + F5 (darker backlight)
0x0002 Fn + F4 (volume up)
0x0001 Fn + F3 (volume down)
SEE ALSO acpi(4), spic(4)HISTORY
The sony driver appeared in NetBSD 4.0.
Sami Kantoluoto for the original driver and manual information. Christos Zoulas for cleaning up the driver and this manual page.
o The sony driver just parses integer values from the acpi(4) tree. It could be more intelligent and parse other controls.
o The sysctl(8) interface is not great. The names of the sysctl(8) tree are not self-explanatory.
o No validity checks are performed on the user input. Playing with random values and/or unknown controls can harm your machine.
o The name of the driver is too generic.
BSD December 23, 2007 BSD
Check Out this Related Man Page
ACPI_ASUS(4) BSD Kernel Interfaces Manual ACPI_ASUS(4)NAME
acpi_asus -- Asus Laptop Extras
To compile this driver into the kernel, place the following line in your kernel configuration file:
Alternatively, to load the driver as a module at boot time, place the following line in loader.conf(5):
The acpi_asus driver provides support for the extra ACPI-controlled gadgets, such as hotkeys and leds, found on recent Asus (and Medion) lap-
tops. It allows one to use the sysctl(8) interface to manipulate the brightness of the LCD panel and the display output state. Hotkey
events are passed to devd(8) for easy handling in userspace with the default configuration in /etc/devd/asus.conf.
Currently, the following Asus laptops are fully supported:
Additionally, acpi_asus also supports the Asus-compatible ATK0100 interface found in Samsung P30/P35 laptops.
The following sysctls are currently implemented:
Makes the LCD backlight brighter or dimmer (higher values are brighter).
Turns the LCD backlight on or off.
Sets the active display to use according to a bitwise OR of the following:
0 No display
Some models also support video switching via the generic acpi_video(4) driver. Most models do not, however.
Defaults for these variables can be set in sysctl.conf(5), which is parsed at boot-time.
SEE ALSO acpi(4), acpi_asus_wmi(4), acpi_video(4), sysctl.conf(5), sysctl(8)
The acpi4asus Project, http://sourceforge.net/projects/acpi4asus/.
The acpi_asus driver first appeared in FreeBSD 5.3.
The acpi_asus driver and this manual page were written by Philip Paeps <philip@FreeBSD.org>.
Inspiration came from the acpi4asus project started by Julien Lerouge which maintains a driver implementing this functionality in the Linux
BSD February 8, 2010 BSD