xref: /freebsd/share/man/man4/acpi_toshiba.4 (revision b0d29bc47dba79f6f38e67eabadfb4b32ffd9390)
1.\"
2.\" Copyright (c) 2003 Philip Paeps <philip@FreeBSD.org>
3.\" All rights reserved.
4.\"
5.\" Redistribution and use in source and binary forms, with or without
6.\" modification, are permitted provided that the following conditions
7.\" are met:
8.\" 1. Redistributions of source code must retain the above copyright
9.\"    notice, this list of conditions and the following disclaimer.
10.\" 2. Redistributions in binary form must reproduce the above copyright
11.\"    notice, this list of conditions and the following disclaimer in the
12.\"    documentation and/or other materials provided with the distribution.
13.\"
14.\" THIS SOFTWARE IS PROVIDED BY THE AUTHOR AND CONTRIBUTORS ``AS IS'' AND
15.\" ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
16.\" IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
17.\" ARE DISCLAIMED.  IN NO EVENT SHALL THE AUTHOR OR CONTRIBUTORS BE LIABLE
18.\" FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
19.\" DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS
20.\" OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION)
21.\" HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT
22.\" LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY
23.\" OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
24.\" SUCH DAMAGE.
25.\"
26.\" $FreeBSD$
27.\"
28.Dd February 8, 2010
29.Dt ACPI_TOSHIBA 4
30.Os
31.Sh NAME
32.Nm acpi_toshiba
33.Nd Toshiba HCI interface
34.Sh SYNOPSIS
35To compile this driver into the kernel,
36place the following line in your
37kernel configuration file:
38.Bd -ragged -offset indent
39.Cd "device acpi_toshiba"
40.Ed
41.Pp
42Alternatively, to load the driver as a
43module at boot time, place the following line in
44.Xr loader.conf 5 :
45.Bd -literal -offset indent
46acpi_toshiba_load="YES"
47.Ed
48.Sh DESCRIPTION
49HCI is Toshiba's
50.Em "Hardware Control Interface"
51which is somewhat uniform across their models.
52The
53.Nm
54driver allows the user to manipulate HCI-controlled hardware using a number of
55.Xr sysctl 8
56variables.
57.Sh SYSCTL VARIABLES
58The following sysctls are currently implemented:
59.Bl -tag -width indent
60.It Va hw.acpi.toshiba.force_fan
61Causes active cooling to be forcibly enabled
62.Pq Ql 1
63or disabled
64.Pq Ql 0
65regardless of the current temperature.
66.It Va hw.acpi.toshiba.video_output
67Sets the active display to use according to a bitwise OR of the following:
68.Pp
69.Bl -tag -width indent -compact
70.It Li 0
71No display
72.It Li 1
73LCD
74.It Li 2
75CRT
76.It Li 4
77TV-Out
78.El
79.Pp
80Only some systems (i.e., the Libretto L5) support video switching via
81this hardware-specific driver.
82Use the
83.Xr acpi_video 4
84driver for generic video output support.
85.It Va hw.acpi.toshiba.lcd_brightness
86Makes the LCD backlight brighter or dimmer (higher values are brighter).
87.It Va hw.acpi.toshiba.lcd_backlight
88Turns the LCD backlight on and off.
89.It Va hw.acpi.toshiba.cpu_speed
90Sets the CPU speed to the specified speed.
91This provides functionality similar to the
92.Va hw.acpi.cpu.throttle_state
93variable.
94Higher sysctl values mean lower CPU speeds.
95.El
96.Pp
97Defaults for these variables can be set in
98.Xr sysctl.conf 5 ,
99which is parsed at boot-time.
100.Sh LOADER TUNABLES
101The
102.Va hw.acpi.toshiba.enable_fn_keys
103tunable enables or disables the function keys on the keyboard.
104Function keys are enabled by default.
105.Pp
106This behaviour can be changed at the
107.Xr loader 8
108prompt or in
109.Xr loader.conf 5 .
110.Sh SEE ALSO
111.Xr acpi 4 ,
112.Xr acpi_video 4 ,
113.Xr loader.conf 5 ,
114.Xr sysctl.conf 5 ,
115.Xr sysctl 8
116.Sh HISTORY
117The
118.Nm
119driver first appeared in
120.Fx 5.1 .
121.Sh AUTHORS
122.An -nosplit
123The
124.Nm
125driver was written by
126.An Hiroyuki Aizu Aq Mt aizu@navi.org .
127This manual page was written by
128.An Philip Paeps Aq Mt philip@FreeBSD.org .
129