1.\" 2.\" Copyright (c) 1999 3.\" Kazutaka YOKOTA <yokota@zodiac.mech.utsunomiya-u.ac.jp> 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: --- 10 unchanged lines hidden (view full) --- 19.\" IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR ANY DIRECT, INDIRECT, 20.\" INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT 21.\" NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, 22.\" DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY 23.\" THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT 24.\" (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF 25.\" THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. 26.\" |
27.\" $FreeBSD: head/share/man/man4/atkbd.4 84877 2001-10-13 09:08:37Z yokota $ |
28.\" 29.Dd May 21, 1999 30.Dt ATKBD 4 31.Os 32.Sh NAME 33.Nm atkbd 34.Nd the AT keyboard interface 35.Sh SYNOPSIS 36.Cd "options ATKBD_DFLT_KEYMAP" 37.Cd "makeoptions ATKBD_DFLT_KEYMAP=_keymap_name_" 38.Cd "options KBD_DISABLE_KEYMAP_LOAD" |
39.Cd "device atkbd" 40.Pp 41In 42.Pa /boot/device.hints : 43.Cd hint.atkbd.0.at="atkbdc" 44.Cd hint.atkbd.0.irq="1" |
45.Sh DESCRIPTION 46The 47.Nm 48driver, together with the 49.Nm atkbdc 50driver, provides access to the AT 84 keyboard or the AT enhanced keyboard 51which is connected to the AT keyboard controller. 52.Pp --- 85 unchanged lines hidden (view full) --- 138command. 139This option will disable this feature and prevent the user from 140changing key assignment. 141.El 142.Pp 143.Ss Driver Flags 144The 145.Nm |
146driver accepts the following driver flags. 147They can be set either in 148.Pa /boot/device.hints , 149or else from within the boot loader |
150(see |
151.Xr loader 8 ) . |
152.Bl -tag -width FAIL 153.It bit 0 (FAIL_IF_NO_KBD) 154By default the 155.Nm 156driver will install even if a keyboard is not actually connected to the 157system. 158This option prevents the driver from being installed in this situation. 159.It bit 1 (NO_RESET) --- 10 unchanged lines hidden (view full) --- 170.\".Sh FILES 171.Sh EXAMPLES 172The 173.Nm 174driver requires the keyboard controller 175.Nm atkbdc . 176Thus, the kernel configuration file should contain the following lines. 177.Pp |
178.Dl "device atkbdc" 179.Dl "device atkbd" |
180.Pp 181The following example shows how to set the default, built-in keymap 182to 183.Pa jp.106.kbd . 184.Pp |
185.Dl "device atkbdc" |
186.Dl "options ATKBD_DFLT_KEYMAP" 187.Dl "makeoptions ATKBD_DFLT_KEYMAP=jp.106" |
188.Dl "device atkbd" |
189.Pp |
190In both cases, you also need to have following lines in 191.Pa /boot/device.hints . 192.Pp 193.Dl hint.atkbdc.0.at="isa" 194.Dl hint.atkbdc.0.port="0x060" 195.Dl hint.atkbd.0.at="atkbdc" 196.Dl hint.atkbd.0.irq="1" 197.Pp |
198.\".Sh DIAGNOSTICS 199.\".Sh CAVEATS 200.\".Sh BUGS 201.Sh SEE ALSO 202.Xr kbdcontrol 1 , 203.Xr atkbdc 4 , 204.Xr pcvt 4 , 205.Xr psm 4 , 206.Xr syscons 4 , |
207.Xr loader 8 |
208.Sh HISTORY 209The 210.Nm 211driver first appeared in 212.Fx 3.1 . 213.Sh AUTHORS 214.An -nosplit 215The 216.Nm 217driver was written by 218.An S\(/oren Schmidt Aq sos@FreeBSD.org 219and 220.An Kazutaka Yokota Aq yokota@FreeBSD.org . 221This manual page was written by 222.An Kazutaka Yokota . |