xref: /freebsd/share/man/man4/man4.powerpc/abtn.4 (revision b1f9167f94059fd55c630891d359bcff987bd7eb)
1.\"-
2.\" Copyright (c) 2011 Justin Hibbits
3.\" Copyright (c) 2009 Nathan Whitehorn <nwhitehorn@FreeBSD.org>
4.\" All rights reserved.
5.\"
6.\" Redistribution and use in source and binary forms, with or without
7.\" modification, are permitted provided that the following conditions
8.\" are met:
9.\" 1. Redistributions of source code must retain the above copyright
10.\"    notice, this list of conditions and the following disclaimer.
11.\" 2. Redistributions in binary form must reproduce the above copyright
12.\"    notice, this list of conditions and the following disclaimer in the
13.\"    documentation and/or other materials provided with the distribution.
14.\"
15.\" THIS SOFTWARE IS PROVIDED BY THE AUTHOR ``AS IS'' AND ANY EXPRESS OR
16.\" IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED
17.\" WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE
18.\" DISCLAIMED.  IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR ANY DIRECT,
19.\" INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES
20.\" (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR
21.\" SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION)
22.\" HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT,
23.\" STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN
24.\" ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE
25.\" POSSIBILITY OF SUCH DAMAGE.
26.\"
27.\" $FreeBSD$
28.\"
29.Dd October 16, 2011
30.Dt ABTN 4
31.Os
32.Sh NAME
33.Nm abtn
34.Nd ADB Keyboard Special Keys Driver
35.Sh SYNOPSIS
36To compile this driver into the kernel,
37place the following lines in your
38kernel configuration file:
39.Bd -ragged -offset indent
40.Cd "device adb"
41.Ed
42.Sh DESCRIPTION
43The
44.Nm
45driver provides support for the extended Fn keys on Apple notebooks with an ADB
46interface.
47.Sh HARDWARE
48The
49.Nm
50driver supports extended keyboard keys (special F-keys) on the following devices:
51.Pp
52.Bl -bullet -compact
53.It
54Apple iBook Keyboard
55.It
56Apple PowerBook Keyboard
57.El
58.Sh EVENTS
59The
60.Nm
61driver sends events to
62.Xr devd 8
63for the following events under the
64.Cd PMU
65system, and
66.Cd keys
67subsystem:
68.Pp
69.Bl -bullet -compact
70.It
71.Cd brightness
72- Generates
73.Cd up
74and
75.Cd down
76notify types matching the pressed key.
77.It
78.Cd mute
79.It
80.Cd volume
81- Generates
82.Cd up
83and
84.Cd down
85notify types matching the pressed key.
86.It
87.Cd eject
88.El
89.Pp
90Examples are included in /etc/devd/apple.conf.
91.Sh SEE ALSO
92.Xr adb 4 ,
93.Xr akbd 4 ,
94.Xr cuda 4 ,
95.Xr pmu 4 ,
96.Xr devd 8
97.Sh HISTORY
98The
99.Nm
100device driver first appeared in
101.Nx 5.0
102and was ported to
103.Fx 10.0 .
104.Sh AUTHORS
105.An -nosplit
106The
107.Nm
108driver was written by
109.An Tsubai Masanari
110for
111.Nx
112and ported to
113.Fx
114by
115.An Justin Hibbits .
116