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 35To compile this driver into the kernel, 36place the following lines in your 37kernel configuration file: 38.Bd -ragged -offset indent 39.Cd "device adb" 40.Ed 41.Sh DESCRIPTION 42The 43.Nm 44driver provides support for all keyboards attached to the Apple Desktop 45Bus (ADB). 46.Sh HARDWARE 47Devices supported by the 48.Nm 49driver include: 50.Pp 51.Bl -bullet -compact 52.It 53Apple Extended Keyboard 54.It 55Apple Keyboard II 56.It 57Apple iBook Keyboard 58.It 59Apple PowerBook Keyboard 60.El 61.Sh EVENTS 62The 63.Nm 64driver sends events to 65.Xr devd 8 66for the following events under the 67.Cd PMU 68system: 69.Pp 70.Bl -bullet -compact 71.It 72Power button - 73.Cd "Button" 74subsystem, 75.Cd "pressed" 76type. 77.El 78.Sh SYSCTL VARIABLES 79The 80.Nm 81driver 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 84Set the Fn keys to be their F-key type as default. A value of 0 causes the 85F-keys keys to work as special keys by default ( 86.Xr abtn 4 ) 87and 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 95The 96.Nm 97device driver appeared in 98.Fx 8.0 . 99.Sh AUTHORS 100.An -nosplit 101The 102.Nm 103driver was written by 104.An Nathan Whitehorn 105.Aq nwhitehorn@FreeBSD.org . 106