summaryrefslogtreecommitdiff
path: root/static/freebsd/man4/acpi_panasonic.4 3.html
diff options
context:
space:
mode:
Diffstat (limited to 'static/freebsd/man4/acpi_panasonic.4 3.html')
-rw-r--r--static/freebsd/man4/acpi_panasonic.4 3.html152
1 files changed, 152 insertions, 0 deletions
diff --git a/static/freebsd/man4/acpi_panasonic.4 3.html b/static/freebsd/man4/acpi_panasonic.4 3.html
new file mode 100644
index 00000000..97ab84c8
--- /dev/null
+++ b/static/freebsd/man4/acpi_panasonic.4 3.html
@@ -0,0 +1,152 @@
+<table class="head">
+ <tr>
+ <td class="head-ltitle">ACPI_PANASONIC(4)</td>
+ <td class="head-vol">Device Drivers Manual</td>
+ <td class="head-rtitle">ACPI_PANASONIC(4)</td>
+ </tr>
+</table>
+<div class="manual-text">
+<section class="Sh">
+<h1 class="Sh" id="NAME"><a class="permalink" href="#NAME">NAME</a></h1>
+<p class="Pp"><code class="Nm">acpi_panasonic</code> &#x2014;
+ <span class="Nd">ACPI hotkey driver for Panasonic laptops</span></p>
+</section>
+<section class="Sh">
+<h1 class="Sh" id="SYNOPSIS"><a class="permalink" href="#SYNOPSIS">SYNOPSIS</a></h1>
+<p class="Pp">To compile this driver into the kernel, place the following line
+ in your kernel configuration file:</p>
+<div class="Bd Pp Bd-indent"><code class="Cd">device acpi_panasonic</code></div>
+<p class="Pp">Alternatively, to load the driver as a module at boot time, place
+ the following line in <a class="Xr">loader.conf(5)</a>:</p>
+<div class="Bd Pp Bd-indent Li">
+<pre>acpi_panasonic_load=&quot;YES&quot;</pre>
+</div>
+</section>
+<section class="Sh">
+<h1 class="Sh" id="DESCRIPTION"><a class="permalink" href="#DESCRIPTION">DESCRIPTION</a></h1>
+<p class="Pp">The <code class="Nm">acpi_panasonic</code> driver enables such
+ hotkey facilities of various Panasonic laptops as changing LCD brightness,
+ controlling mixer volumes, entering sleep or suspended state and so on. On
+ the following models it is reported to work: Let's note (or Toughbook,
+ outside Japan) CF-R1N, CF-R2A and CF-R3. It may also work on other models as
+ well.</p>
+<p class="Pp">The driver consists of three functionalities. The first is to
+ detect hotkey events and take corresponding actions, which include changing
+ LCD luminance and speaker mute state. The second role is to notify
+ occurrences of the event by way of <a class="Xr">devctl(4)</a> and
+ eventually to <a class="Xr">devd(8)</a>. The third and last is to provide a
+ way to adjust LCD brightness and sound mute state via
+ <a class="Xr">sysctl(8)</a>.</p>
+<section class="Ss">
+<h2 class="Ss" id="Hotkeys"><a class="permalink" href="#Hotkeys">Hotkeys</a></h2>
+<p class="Pp">There are 9 hotkeys available on the supported hardware:</p>
+<p class="Pp"></p>
+<div class="Bd-indent">
+<dl class="Bl-tag Bl-compact">
+ <dt id="Fn+F1"><a class="permalink" href="#Fn+F1"><b class="Sy">Fn+F1</b></a></dt>
+ <dd>Make LCD backlight darker.</dd>
+ <dt id="Fn+F2"><a class="permalink" href="#Fn+F2"><b class="Sy">Fn+F2</b></a></dt>
+ <dd>Make LCD backlight brighter.</dd>
+ <dt id="Fn+F3"><a class="permalink" href="#Fn+F3"><b class="Sy">Fn+F3</b></a></dt>
+ <dd>Switch video output between LCD and CRT. Not supported by the
+ <code class="Nm">acpi_panasonic</code> driver.</dd>
+ <dt id="Fn+F4"><a class="permalink" href="#Fn+F4"><b class="Sy">Fn+F4</b></a></dt>
+ <dd>Toggle muting the speaker.</dd>
+ <dt id="Fn+F5"><a class="permalink" href="#Fn+F5"><b class="Sy">Fn+F5</b></a></dt>
+ <dd>Turn the mixer volume down.</dd>
+ <dt id="Fn+F6"><a class="permalink" href="#Fn+F6"><b class="Sy">Fn+F6</b></a></dt>
+ <dd>Turn the mixer volume up.</dd>
+ <dt id="Fn+F7"><a class="permalink" href="#Fn+F7"><b class="Sy">Fn+F7</b></a></dt>
+ <dd>Enter suspend-to-RAM state.</dd>
+ <dt id="Fn+F9"><a class="permalink" href="#Fn+F9"><b class="Sy">Fn+F9</b></a></dt>
+ <dd>Show battery status.</dd>
+ <dt id="Fn+F10"><a class="permalink" href="#Fn+F10"><b class="Sy">Fn+F10</b></a></dt>
+ <dd>Enter suspend-to-disk state.</dd>
+</dl>
+</div>
+<p class="Pp">Actions are automatically taken within the driver for
+ <b class="Sy">Fn+F1</b>, <b class="Sy">Fn+F2</b> and
+ <b class="Sy">Fn+F4</b>. For the other events such as mixer control and
+ showing battery status, <a class="Xr">devd(8)</a> should take the role as
+ described below.</p>
+</section>
+<section class="Ss">
+<h2 class="Ss" id="devd_8_Events"><a class="permalink" href="#devd_8_Events"><a class="Xr">devd(8)</a>
+ Events</a></h2>
+<p class="Pp">When notified to <a class="Xr">devd(8)</a>, the hotkey event
+ provides the following information:</p>
+<p class="Pp"></p>
+<div class="Bd-indent">
+<dl class="Bl-tag Bl-compact">
+ <dt>system</dt>
+ <dd>&quot;<code class="Li">ACPI</code>&quot;</dd>
+ <dt>subsystem</dt>
+ <dd>&quot;<code class="Li">Panasonic</code>&quot;</dd>
+ <dt>type</dt>
+ <dd>The source of the event in ACPI namespace. The value depends on the model
+ but typically &quot;<code class="Li">\_SB_.HKEY</code>&quot;.</dd>
+ <dt>notify</dt>
+ <dd>Event code (see below).</dd>
+</dl>
+</div>
+<p class="Pp">Event codes to be generated are assigned as follows:</p>
+<div class="Bd-indent">
+<dl class="Bl-tag">
+ <dt id="Fn+F_n_">0x81-0x86, 0x89</dt>
+ <dd><a class="permalink" href="#Fn+F_n_"><b class="Sy">Fn+F&lt;n&gt;</b></a>
+ pressed. 0x81 corresponds to <b class="Sy">Fn+F1</b>, 0x82 corresponds to
+ <b class="Sy">Fn+F2</b>, and so on.</dd>
+ <dt id="Fn+F_n_~2">0x01-0x07, 0x09, 0x1a</dt>
+ <dd><a class="permalink" href="#Fn+F_n_~2"><b class="Sy">Fn+F&lt;n&gt;</b></a>
+ released. 0x01 corresponds to <b class="Sy">Fn+F1</b>, 0x02 corresponds to
+ <b class="Sy">Fn+F2</b>, and so on.</dd>
+</dl>
+</div>
+</section>
+</section>
+<section class="Sh">
+<h1 class="Sh" id="SYSCTL_VARIABLES"><a class="permalink" href="#SYSCTL_VARIABLES">SYSCTL
+ VARIABLES</a></h1>
+<p class="Pp">The following MIBs are available:</p>
+<dl class="Bl-tag">
+ <dt id="hw.acpi.panasonic.lcd_brightness_max"><var class="Va">hw.acpi.panasonic.lcd_brightness_max</var></dt>
+ <dd>The maximum level of brightness. This read-only value is automatically set
+ according to hardware model.</dd>
+ <dt id="hw.acpi.panasonic.lcd_brightness_min"><var class="Va">hw.acpi.panasonic.lcd_brightness_min</var></dt>
+ <dd>The minimum level of brightness. This read-only value is automatically set
+ according to hardware model.</dd>
+ <dt id="hw.acpi.panasonic.lcd_brightness"><var class="Va">hw.acpi.panasonic.lcd_brightness</var></dt>
+ <dd>Current brightness level of the LCD (read-write). The value ranges from
+ <var class="Va">hw.acpi.panasonic.lcd_brightness_min</var> to
+ <var class="Va">hw.acpi.panasonic.lcd_brightness_max</var>.</dd>
+ <dt id="hw.acpi.panasonic.sound_mute"><var class="Va">hw.acpi.panasonic.sound_mute</var></dt>
+ <dd>A read-write boolean flag to control whether to mute the speaker. The
+ value 1 means to mute and 0 not.</dd>
+</dl>
+</section>
+<section class="Sh">
+<h1 class="Sh" id="SEE_ALSO"><a class="permalink" href="#SEE_ALSO">SEE
+ ALSO</a></h1>
+<p class="Pp"><a class="Xr">acpi(4)</a>, <a class="Xr">devd.conf(5)</a>,
+ <a class="Xr">devd(8)</a>, <a class="Xr">sysctl(8)</a></p>
+</section>
+<section class="Sh">
+<h1 class="Sh" id="HISTORY"><a class="permalink" href="#HISTORY">HISTORY</a></h1>
+<p class="Pp">The <code class="Nm">acpi_panasonic</code> driver first appeared
+ in <span class="Ux">FreeBSD 5.3</span>.</p>
+</section>
+<section class="Sh">
+<h1 class="Sh" id="AUTHORS"><a class="permalink" href="#AUTHORS">AUTHORS</a></h1>
+<p class="Pp">The <code class="Nm">acpi_panasonic</code> driver and this manual
+ page were written by <span class="An">OGAWA Takaya</span>
+ &lt;<a class="Mt" href="mailto:t-ogawa@triaez.kaisei.org">t-ogawa@triaez.kaisei.org</a>&gt;
+ and <span class="An">TAKAHASHI Yoshihiro</span>
+ &lt;<a class="Mt" href="mailto:nyan@FreeBSD.org">nyan@FreeBSD.org</a>&gt;.</p>
+</section>
+</div>
+<table class="foot">
+ <tr>
+ <td class="foot-date">June 19, 2015</td>
+ <td class="foot-os">FreeBSD 15.0</td>
+ </tr>
+</table>