xref: /freebsd/share/man/man4/man4.powerpc/akbd.4 (revision 7fdf597e96a02165cfe22ff357b857d5fa15ed8a)
1.\"-
2.\" Copyright (c) 2009 Nathan Whitehorn <nwhitehorn@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 ``AS IS'' AND ANY EXPRESS OR
15.\" IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED
16.\" WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE
17.\" DISCLAIMED.  IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR ANY DIRECT,
18.\" INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES
19.\" (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR
20.\" SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION)
21.\" HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT,
22.\" STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN
23.\" ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE
24.\" POSSIBILITY OF SUCH DAMAGE.
25.\"
26.Dd December 3, 2009
27.Dt AKBD 4
28.Os
29.Sh NAME
30.Nm akbd
31.Nd ADB Keyboard Driver
32.Sh SYNOPSIS
33To compile this driver into the kernel,
34place the following lines in your
35kernel configuration file:
36.Bd -ragged -offset indent
37.Cd "device adb"
38.Ed
39.Sh DESCRIPTION
40The
41.Nm
42driver provides support for all keyboards attached to the Apple Desktop
43Bus (ADB).
44.Sh HARDWARE
45Devices supported by the
46.Nm
47driver include:
48.Pp
49.Bl -bullet -compact
50.It
51Apple Extended Keyboard
52.It
53Apple Keyboard II
54.It
55Apple iBook Keyboard
56.It
57Apple PowerBook Keyboard
58.El
59.Sh EVENTS
60The
61.Nm
62driver sends events to
63.Xr devd 8
64for the following events under the
65.Cd PMU
66system:
67.Pp
68.Bl -bullet -compact
69.It
70Power button -
71.Cd "Button"
72subsystem,
73.Cd "pressed"
74type.
75.El
76.Sh SYSCTL VARIABLES
77The
78.Nm
79driver supports the following sysctl variable for configuring the Fn keys:
80.Bl -tag -width indent
81.It Va dev.akbd.%d.fn_keys_function_as_primary
82Set the Fn keys to be their F-key type as default.  A value of 0 causes the
83F-keys keys to work as special keys by default (
84.Xr abtn 4 )
85and a value of 1 sets them to behave as F-keys by default.
86.El
87.Sh SEE ALSO
88.Xr abtn 4 ,
89.Xr adb 4 ,
90.Xr cuda 4 ,
91.Xr pmu 4
92.Sh HISTORY
93The
94.Nm
95device driver appeared in
96.Fx 8.0 .
97.Sh AUTHORS
98.An -nosplit
99The
100.Nm
101driver was written by
102.An Nathan Whitehorn Aq Mt nwhitehorn@FreeBSD.org .
103