xref: /freebsd/share/man/man4/man4.powerpc/abtn.4 (revision 5ca8e32633c4ffbbcd6762e5888b6a4ba0708c6c)
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.Dd October 16, 2011
28.Dt ABTN 4
29.Os
30.Sh NAME
31.Nm abtn
32.Nd ADB Keyboard Special Keys Driver
33.Sh SYNOPSIS
34To compile this driver into the kernel,
35place the following lines in your
36kernel configuration file:
37.Bd -ragged -offset indent
38.Cd "device adb"
39.Ed
40.Sh DESCRIPTION
41The
42.Nm
43driver provides support for the extended Fn keys on Apple notebooks with an ADB
44interface.
45.Sh HARDWARE
46The
47.Nm
48driver supports extended keyboard keys (special F-keys) on the following devices:
49.Pp
50.Bl -bullet -compact
51.It
52Apple iBook Keyboard
53.It
54Apple PowerBook Keyboard
55.El
56.Sh EVENTS
57The
58.Nm
59driver sends events to
60.Xr devd 8
61for the following events under the
62.Cd PMU
63system, and
64.Cd keys
65subsystem:
66.Pp
67.Bl -bullet -compact
68.It
69.Cd brightness
70- Generates
71.Cd up
72and
73.Cd down
74notify types matching the pressed key.
75.It
76.Cd mute
77.It
78.Cd volume
79- Generates
80.Cd up
81and
82.Cd down
83notify types matching the pressed key.
84.It
85.Cd eject
86.El
87.Pp
88Examples are included in /etc/devd/apple.conf.
89.Sh SEE ALSO
90.Xr adb 4 ,
91.Xr akbd 4 ,
92.Xr cuda 4 ,
93.Xr pmu 4 ,
94.Xr devd 8
95.Sh HISTORY
96The
97.Nm
98device driver first appeared in
99.Nx 5.0
100and was ported to
101.Fx 10.0 .
102.Sh AUTHORS
103.An -nosplit
104The
105.Nm
106driver was written by
107.An Tsubai Masanari
108for
109.Nx
110and ported to
111.Fx
112by
113.An Justin Hibbits .
114