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