]> CyberLeo.Net >> Repos - FreeBSD/releng/10.0.git/blob - share/man/man4/man4.powerpc/akbd.4
- Copy stable/10 (r259064) to releng/10.0 as part of the
[FreeBSD/releng/10.0.git] / share / man / man4 / man4.powerpc / akbd.4
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 .\" $FreeBSD$
27 .\"
28 .Dd December 3, 2009
29 .Dt AKBD 4
30 .Os
31 .Sh NAME
32 .Nm akbd
33 .Nd ADB Keyboard Driver
34 .Sh SYNOPSIS
35 To compile this driver into the kernel,
36 place the following lines in your
37 kernel configuration file:
38 .Bd -ragged -offset indent
39 .Cd "device adb"
40 .Ed
41 .Sh DESCRIPTION
42 The
43 .Nm
44 driver provides support for all keyboards attached to the Apple Desktop
45 Bus (ADB).
46 .Sh HARDWARE
47 Devices supported by the
48 .Nm
49 driver include:
50 .Pp
51 .Bl -bullet -compact
52 .It
53 Apple Extended Keyboard
54 .It
55 Apple Keyboard II
56 .It
57 Apple iBook Keyboard
58 .It
59 Apple PowerBook Keyboard
60 .El
61 .Sh EVENTS
62 The
63 .Nm
64 driver sends events to
65 .Xr devd 8
66 for the following events under the
67 .Cd PMU
68 system:
69 .Pp
70 .Bl -bullet -compact
71 .It
72 Power button -
73 .Cd "Button"
74 subsystem,
75 .Cd "pressed"
76 type.
77 .El
78 .Sh SYSCTL VARIABLES
79 The
80 .Nm
81 driver supports the following sysctl variable for configuring the Fn keys:
82 .Bl -tag -width indent
83 .It Va dev.akbd.%d.fn_keys_function_as_primary
84 Set the Fn keys to be their F-key type as default.  A value of 0 causes the
85 F-keys keys to work as special keys by default (
86 .Xr abtn 4 )
87 and a value of 1 sets them to behave as F-keys by default.
88 .El
89 .Sh SEE ALSO
90 .Xr abtn 4 ,
91 .Xr adb 4 ,
92 .Xr cuda 4 ,
93 .Xr pmu 4
94 .Sh HISTORY
95 The
96 .Nm
97 device driver appeared in
98 .Fx 8.0 .
99 .Sh AUTHORS
100 .An -nosplit
101 The
102 .Nm
103 driver was written by
104 .An Nathan Whitehorn
105 .Aq nwhitehorn@FreeBSD.org .