11da177e4SLinus Torvalds# 21da177e4SLinus Torvalds# Input core configuration 31da177e4SLinus Torvalds# 41da177e4SLinus Torvaldsmenuconfig INPUT_KEYBOARD 51da177e4SLinus Torvalds bool "Keyboards" if EMBEDDED || !X86 61da177e4SLinus Torvalds default y 71da177e4SLinus Torvalds help 81da177e4SLinus Torvalds Say Y here, and a list of supported keyboards will be displayed. 91da177e4SLinus Torvalds This option doesn't affect the kernel. 101da177e4SLinus Torvalds 111da177e4SLinus Torvalds If unsure, say Y. 121da177e4SLinus Torvalds 131da177e4SLinus Torvaldsif INPUT_KEYBOARD 141da177e4SLinus Torvalds 151da177e4SLinus Torvaldsconfig KEYBOARD_ATKBD 16aaef685dSDmitry Torokhov tristate "AT keyboard" if EMBEDDED || !X86_PC 171da177e4SLinus Torvalds default y 181da177e4SLinus Torvalds select SERIO 191da177e4SLinus Torvalds select SERIO_LIBPS2 20f2c84c0eSArthur Othieno select SERIO_I8042 if X86_PC 211da177e4SLinus Torvalds select SERIO_GSCPS2 if GSC 221da177e4SLinus Torvalds help 231da177e4SLinus Torvalds Say Y here if you want to use a standard AT or PS/2 keyboard. Usually 241da177e4SLinus Torvalds you'll need this, unless you have a different type keyboard (USB, ADB 251da177e4SLinus Torvalds or other). This also works for AT and PS/2 keyboards connected over a 261da177e4SLinus Torvalds PS/2 to serial converter. 271da177e4SLinus Torvalds 281da177e4SLinus Torvalds If unsure, say Y. 291da177e4SLinus Torvalds 301da177e4SLinus Torvalds To compile this driver as a module, choose M here: the 311da177e4SLinus Torvalds module will be called atkbd. 321da177e4SLinus Torvalds 331da177e4SLinus Torvaldsconfig KEYBOARD_ATKBD_HP_KEYCODES 341da177e4SLinus Torvalds bool "Use HP keyboard scancodes" 351da177e4SLinus Torvalds depends on PARISC && KEYBOARD_ATKBD 361da177e4SLinus Torvalds default y 371da177e4SLinus Torvalds help 381da177e4SLinus Torvalds Say Y here if you have a PA-RISC machine and want to use an AT or 391da177e4SLinus Torvalds PS/2 keyboard, and your keyboard uses keycodes that are specific to 401da177e4SLinus Torvalds PA-RISC keyboards. 411da177e4SLinus Torvalds 421da177e4SLinus Torvalds Say N if you use a standard keyboard. 431da177e4SLinus Torvalds 441da177e4SLinus Torvaldsconfig KEYBOARD_ATKBD_RDI_KEYCODES 451da177e4SLinus Torvalds bool "Use PrecisionBook keyboard scancodes" 461da177e4SLinus Torvalds depends on KEYBOARD_ATKBD_HP_KEYCODES 471da177e4SLinus Torvalds default n 481da177e4SLinus Torvalds help 491da177e4SLinus Torvalds If you have an RDI PrecisionBook, say Y here if you want to use its 501da177e4SLinus Torvalds built-in keyboard (as opposed to an external keyboard). 511da177e4SLinus Torvalds 521da177e4SLinus Torvalds The PrecisionBook has five keys that conflict with those used by most 531da177e4SLinus Torvalds AT and PS/2 keyboards. These are as follows: 541da177e4SLinus Torvalds 551da177e4SLinus Torvalds PrecisionBook Standard AT or PS/2 561da177e4SLinus Torvalds 571da177e4SLinus Torvalds F1 F12 581da177e4SLinus Torvalds Left Ctrl Left Alt 591da177e4SLinus Torvalds Caps Lock Left Ctrl 601da177e4SLinus Torvalds Right Ctrl Caps Lock 611da177e4SLinus Torvalds Left 102nd key (the key to the right of Left Shift) 621da177e4SLinus Torvalds 631da177e4SLinus Torvalds If you say N here, and use the PrecisionBook keyboard, then each key 641da177e4SLinus Torvalds in the left-hand column will be interpreted as the corresponding key 651da177e4SLinus Torvalds in the right-hand column. 661da177e4SLinus Torvalds 671da177e4SLinus Torvalds If you say Y here, and use an external keyboard, then each key in the 681da177e4SLinus Torvalds right-hand column will be interpreted as the key shown in the 691da177e4SLinus Torvalds left-hand column. 701da177e4SLinus Torvalds 711da177e4SLinus Torvaldsconfig KEYBOARD_SUNKBD 721da177e4SLinus Torvalds tristate "Sun Type 4 and Type 5 keyboard" 731da177e4SLinus Torvalds select SERIO 741da177e4SLinus Torvalds help 751da177e4SLinus Torvalds Say Y here if you want to use a Sun Type 4 or Type 5 keyboard, 761da177e4SLinus Torvalds connected either to the Sun keyboard connector or to an serial 771da177e4SLinus Torvalds (RS-232) port via a simple adapter. 781da177e4SLinus Torvalds 791da177e4SLinus Torvalds To compile this driver as a module, choose M here: the 801da177e4SLinus Torvalds module will be called sunkbd. 811da177e4SLinus Torvalds 821da177e4SLinus Torvaldsconfig KEYBOARD_LKKBD 831da177e4SLinus Torvalds tristate "DECstation/VAXstation LK201/LK401 keyboard" 841da177e4SLinus Torvalds select SERIO 851da177e4SLinus Torvalds help 861da177e4SLinus Torvalds Say Y here if you want to use a LK201 or LK401 style serial 871da177e4SLinus Torvalds keyboard. This keyboard is also useable on PCs if you attach 881da177e4SLinus Torvalds it with the inputattach program. The connector pinout is 891da177e4SLinus Torvalds described within lkkbd.c. 901da177e4SLinus Torvalds 911da177e4SLinus Torvalds To compile this driver as a module, choose M here: the 921da177e4SLinus Torvalds module will be called lkkbd. 931da177e4SLinus Torvalds 941da177e4SLinus Torvaldsconfig KEYBOARD_LOCOMO 951da177e4SLinus Torvalds tristate "LoCoMo Keyboard Support" 9665d406acSPavel Machek depends on SHARP_LOCOMO && INPUT_KEYBOARD 971da177e4SLinus Torvalds help 981da177e4SLinus Torvalds Say Y here if you are running Linux on a Sharp Zaurus Collie or Poodle based PDA 991da177e4SLinus Torvalds 1001da177e4SLinus Torvalds To compile this driver as a module, choose M here: the 1011da177e4SLinus Torvalds module will be called locomokbd. 1021da177e4SLinus Torvalds 1031da177e4SLinus Torvaldsconfig KEYBOARD_XTKBD 1041da177e4SLinus Torvalds tristate "XT keyboard" 1051da177e4SLinus Torvalds select SERIO 1061da177e4SLinus Torvalds help 1071da177e4SLinus Torvalds Say Y here if you want to use the old IBM PC/XT keyboard (or 1081da177e4SLinus Torvalds compatible) on your system. This is only possible with a 1091da177e4SLinus Torvalds parallel port keyboard adapter, you cannot connect it to the 1101da177e4SLinus Torvalds keyboard port on a PC that runs Linux. 1111da177e4SLinus Torvalds 1121da177e4SLinus Torvalds To compile this driver as a module, choose M here: the 1131da177e4SLinus Torvalds module will be called xtkbd. 1141da177e4SLinus Torvalds 1151da177e4SLinus Torvaldsconfig KEYBOARD_NEWTON 1161da177e4SLinus Torvalds tristate "Newton keyboard" 1171da177e4SLinus Torvalds select SERIO 1181da177e4SLinus Torvalds help 1191da177e4SLinus Torvalds Say Y here if you have a Newton keyboard on a serial port. 1201da177e4SLinus Torvalds 1211da177e4SLinus Torvalds To compile this driver as a module, choose M here: the 1221da177e4SLinus Torvalds module will be called newtonkbd. 1231da177e4SLinus Torvalds 124f35d0616SMarek Vasutconfig KEYBOARD_STOWAWAY 125f35d0616SMarek Vasut tristate "Stowaway keyboard" 126f35d0616SMarek Vasut select SERIO 127f35d0616SMarek Vasut help 128f35d0616SMarek Vasut Say Y here if you have a Stowaway keyboard on a serial port. 129f35d0616SMarek Vasut Stowaway compatible keyboards like Dicota Input-PDA keyboard 130f35d0616SMarek Vasut are also supported by this driver. 131f35d0616SMarek Vasut 132f35d0616SMarek Vasut To compile this driver as a module, choose M here: the 133f35d0616SMarek Vasut module will be called stowaway. 134f35d0616SMarek Vasut 1351da177e4SLinus Torvaldsconfig KEYBOARD_CORGI 1361da177e4SLinus Torvalds tristate "Corgi keyboard" 1371da177e4SLinus Torvalds depends on PXA_SHARPSL 1381da177e4SLinus Torvalds default y 1391da177e4SLinus Torvalds help 1401da177e4SLinus Torvalds Say Y here to enable the keyboard on the Sharp Zaurus SL-C7xx 1411da177e4SLinus Torvalds series of PDAs. 1421da177e4SLinus Torvalds 1431da177e4SLinus Torvalds To compile this driver as a module, choose M here: the 1441da177e4SLinus Torvalds module will be called corgikbd. 1451da177e4SLinus Torvalds 146fff71312SRichard Purdieconfig KEYBOARD_SPITZ 147fff71312SRichard Purdie tristate "Spitz keyboard" 148fff71312SRichard Purdie depends on PXA_SHARPSL 149fff71312SRichard Purdie default y 150fff71312SRichard Purdie help 151fff71312SRichard Purdie Say Y here to enable the keyboard on the Sharp Zaurus SL-C1000, 152fff71312SRichard Purdie SL-C3000 and Sl-C3100 series of PDAs. 153fff71312SRichard Purdie 154fff71312SRichard Purdie To compile this driver as a module, choose M here: the 155fff71312SRichard Purdie module will be called spitzkbd. 156fff71312SRichard Purdie 1571da177e4SLinus Torvaldsconfig KEYBOARD_AMIGA 1581da177e4SLinus Torvalds tristate "Amiga keyboard" 1591da177e4SLinus Torvalds depends on AMIGA 1601da177e4SLinus Torvalds help 1611da177e4SLinus Torvalds Say Y here if you are running Linux on any AMIGA and have a keyboard 1621da177e4SLinus Torvalds attached. 1631da177e4SLinus Torvalds 1641da177e4SLinus Torvalds To compile this driver as a module, choose M here: the 1651da177e4SLinus Torvalds module will be called amikbd. 1661da177e4SLinus Torvalds 167*0e52d328SAndi Kleenconfig ATARI_KBD_CORE 168*0e52d328SAndi Kleen bool 169*0e52d328SAndi Kleen 170c04cb856SMichael Schmitzconfig KEYBOARD_ATARI 171c04cb856SMichael Schmitz tristate "Atari keyboard" 172c04cb856SMichael Schmitz depends on ATARI 173c04cb856SMichael Schmitz select ATARI_KBD_CORE 174c04cb856SMichael Schmitz help 175c04cb856SMichael Schmitz Say Y here if you are running Linux on any Atari and have a keyboard 176c04cb856SMichael Schmitz attached. 177c04cb856SMichael Schmitz 178c04cb856SMichael Schmitz To compile this driver as a module, choose M here: the 179c04cb856SMichael Schmitz module will be called atakbd. 180c04cb856SMichael Schmitz 1811da177e4SLinus Torvaldsconfig KEYBOARD_HIL_OLD 1821da177e4SLinus Torvalds tristate "HP HIL keyboard support (simple driver)" 183da96d0b5SGeert Uytterhoeven depends on GSC || HP300 1841da177e4SLinus Torvalds default y 1851da177e4SLinus Torvalds help 1861da177e4SLinus Torvalds The "Human Interface Loop" is a older, 8-channel USB-like 1871da177e4SLinus Torvalds controller used in several Hewlett Packard models. This driver 1881da177e4SLinus Torvalds was adapted from the one written for m68k/hp300, and implements 1891da177e4SLinus Torvalds support for a keyboard attached to the HIL port, but not for 1901da177e4SLinus Torvalds any other types of HIL input devices like mice or tablets. 1911da177e4SLinus Torvalds However, it has been thoroughly tested and is stable. 1921da177e4SLinus Torvalds 1931da177e4SLinus Torvalds If you want full HIL support including support for multiple 19409509603SMatt LaPlante keyboards, mice, and tablets, you have to enable the 1951da177e4SLinus Torvalds "HP System Device Controller i8042 Support" in the input/serio 1961da177e4SLinus Torvalds submenu. 1971da177e4SLinus Torvalds 1981da177e4SLinus Torvaldsconfig KEYBOARD_HIL 1991da177e4SLinus Torvalds tristate "HP HIL keyboard support" 200da96d0b5SGeert Uytterhoeven depends on GSC || HP300 2011da177e4SLinus Torvalds default y 2021da177e4SLinus Torvalds select HP_SDC 2031da177e4SLinus Torvalds select HIL_MLC 2041da177e4SLinus Torvalds select SERIO 2051da177e4SLinus Torvalds help 2061da177e4SLinus Torvalds The "Human Interface Loop" is a older, 8-channel USB-like 2071da177e4SLinus Torvalds controller used in several Hewlett Packard models. 2081da177e4SLinus Torvalds This driver implements support for HIL-keyboards attached 2091da177e4SLinus Torvalds to your machine, so normally you should say Y here. 2101da177e4SLinus Torvalds 211ad4e09b1SKomal Shahconfig KEYBOARD_OMAP 212ad4e09b1SKomal Shah tristate "TI OMAP keypad support" 213ad4e09b1SKomal Shah depends on (ARCH_OMAP1 || ARCH_OMAP2) 214ad4e09b1SKomal Shah help 215ad4e09b1SKomal Shah Say Y here if you want to use the OMAP keypad. 216ad4e09b1SKomal Shah 217ad4e09b1SKomal Shah To compile this driver as a module, choose M here: the 218ad4e09b1SKomal Shah module will be called omap-keypad. 219ad4e09b1SKomal Shah 2205a90e5bcSRodolfo Giometticonfig KEYBOARD_PXA27x 2215a90e5bcSRodolfo Giometti tristate "PXA27x keyboard support" 2225a90e5bcSRodolfo Giometti depends on PXA27x 2235a90e5bcSRodolfo Giometti help 2245a90e5bcSRodolfo Giometti Enable support for PXA27x matrix keyboard controller 2255a90e5bcSRodolfo Giometti 2265a90e5bcSRodolfo Giometti To compile this driver as a module, choose M here: the 2275a90e5bcSRodolfo Giometti module will be called pxa27x_keyboard. 2285a90e5bcSRodolfo Giometti 229f9705fcbSNicolas Bellidoconfig KEYBOARD_AAED2000 230f9705fcbSNicolas Bellido tristate "AAED-2000 keyboard" 231f9705fcbSNicolas Bellido depends on MACH_AAED2000 2323f07d879SDmitry Torokhov select INPUT_POLLDEV 233f9705fcbSNicolas Bellido default y 234f9705fcbSNicolas Bellido help 235f9705fcbSNicolas Bellido Say Y here to enable the keyboard on the Agilent AAED-2000 236f9705fcbSNicolas Bellido development board. 237f9705fcbSNicolas Bellido 238f9705fcbSNicolas Bellido To compile this driver as a module, choose M here: the 239f9705fcbSNicolas Bellido module will be called aaed2000_kbd. 24078a56aabSPhil Blundell 24178a56aabSPhil Blundellconfig KEYBOARD_GPIO 2420a938b97SDavid Brownell tristate "GPIO Buttons" 2430a938b97SDavid Brownell depends on GENERIC_GPIO 24478a56aabSPhil Blundell help 24578a56aabSPhil Blundell This driver implements support for buttons connected 2460a938b97SDavid Brownell to GPIO pins of various CPUs (and some other chips). 24778a56aabSPhil Blundell 24878a56aabSPhil Blundell Say Y here if your device has buttons connected 2490a938b97SDavid Brownell directly to such GPIO pins. Your board-specific 2500a938b97SDavid Brownell setup logic must also provide a platform device, 2510a938b97SDavid Brownell with configuration data saying which GPIOs are used. 25278a56aabSPhil Blundell 25378a56aabSPhil Blundell To compile this driver as a module, choose M here: the 25478a56aabSPhil Blundell module will be called gpio-keys. 255f9705fcbSNicolas Bellido 2561da177e4SLinus Torvaldsendif 257