From owner-acpi-jp@jp.FreeBSD.org Sun Mar 28 03:24:52 2004
Received: (from daemon@localhost)
	by castle.jp.FreeBSD.org (8.11.6p2+3.4W/8.11.3) id i2RIOqF33909;
	Sun, 28 Mar 2004 03:24:52 +0900 (JST)
	(envelope-from owner-acpi-jp@jp.FreeBSD.org)
Received: from mps6.plala.or.jp (c149240.vh.plala.or.jp [210.150.149.240])
	by castle.jp.FreeBSD.org (8.11.6p2+3.4W/8.11.3) with ESMTP/inet id i2RIOqd33904
	for <acpi-jp@jp.freebsd.org>; Sun, 28 Mar 2004 03:24:52 +0900 (JST)
	(envelope-from t-ogawa@triaez.kaisei.org)
Received: from solder.dyndns.org ([219.164.29.29]) by mps6.plala.or.jp
          with SMTP
          id <20040327182446.UHGH15130.mps6.plala.or.jp@solder.dyndns.org>
          for <acpi-jp@jp.freebsd.org>; Sun, 28 Mar 2004 03:24:46 +0900
Received: (qmail 51629 invoked from network); 27 Mar 2004 18:24:46 -0000
Received: from localhost (HELO gandalf.middle.earth) (127.0.0.1)
  by localhost with SMTP; 27 Mar 2004 18:24:46 -0000
Message-ID: <86oeqixi4y.wl.t-ogawa@triaez.kaisei.org>
From: OGAWA Takaya <t-ogawa@triaez.kaisei.org>
To: acpi-jp@jp.FreeBSD.org
User-Agent: Wanderlust/2.10.1 (Watching The Wheels) Emacs/21.3 Mule/5.0 (SAKAKI)
MIME-Version: 1.0 (generated by SEMI 1.14.5 - "Awara-Onsen")
Content-Type: text/plain; charset=ISO-2022-JP
Reply-To: acpi-jp@jp.FreeBSD.org
Precedence: list
Date: Sun, 28 Mar 2004 03:24:45 +0900
X-Sequence: acpi-jp 3154
Subject: [acpi-jp 3154] acpi_panasonic: ACPI hotkey driver for Panasonic laptops
Sender: owner-acpi-jp@jp.FreeBSD.org
X-Originator: t-ogawa@triaez.kaisei.org
X-Distribute: distribute version 2.1 (Alpha) patchlevel 24e+040307

I have managed to hack up a driver to utilize hotkeys on recent
Panasonic laptops.

<http://triaez.kaisei.org/~t-ogawa/misc/acpi_panasonic-20040328.tar.gz>

I tested it on CF-R1N but it may work on other models as well.
On this laptop there are 9 hotkeys:
  Fn+F1, Fn+F2: Make LCD backlight darker/brighter
  Fn+F3: Switch video output between LCD/CRT
  Fn+F4: Toggle speaker silence
  Fn+F5, Fn+F6: Mixer volume down/up
  Fn+F7: Suspend to RAM
  Fn+F9: Show battery status
  Fn+F10: Suspend to disk

All these keys except Fn+F3 are supported within the driver via
devctl(4) and devd(8).  A sample devd entry and its corresponding
scripts are also included.

Please test it if you are interested.  Any comments (succeeds/failures)
are welcomed.

----------
$B$*$,$o(B $B$?$+$d(B
t-ogawa@triaez.kaisei.org
