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