blob: efd70a9745910bfacd97e39b4fdebe451fa14ca4 [file] [log] [blame]
Linus Torvalds1da177e2005-04-16 15:20:36 -07001#
2# Input core configuration
3#
4menuconfig INPUT_KEYBOARD
5 bool "Keyboards" if EMBEDDED || !X86
6 default y
7 help
8 Say Y here, and a list of supported keyboards will be displayed.
9 This option doesn't affect the kernel.
10
11 If unsure, say Y.
12
13if INPUT_KEYBOARD
14
15config KEYBOARD_ATKBD
Dmitry Torokhovaaef685d52006-03-14 00:10:23 -050016 tristate "AT keyboard" if EMBEDDED || !X86_PC
Linus Torvalds1da177e2005-04-16 15:20:36 -070017 default y
18 select SERIO
19 select SERIO_LIBPS2
Arthur Othienof2c84c02005-10-30 23:04:05 -050020 select SERIO_I8042 if X86_PC
Linus Torvalds1da177e2005-04-16 15:20:36 -070021 select SERIO_GSCPS2 if GSC
22 help
23 Say Y here if you want to use a standard AT or PS/2 keyboard. Usually
24 you'll need this, unless you have a different type keyboard (USB, ADB
25 or other). This also works for AT and PS/2 keyboards connected over a
26 PS/2 to serial converter.
27
28 If unsure, say Y.
29
30 To compile this driver as a module, choose M here: the
31 module will be called atkbd.
32
33config KEYBOARD_ATKBD_HP_KEYCODES
34 bool "Use HP keyboard scancodes"
35 depends on PARISC && KEYBOARD_ATKBD
36 default y
37 help
38 Say Y here if you have a PA-RISC machine and want to use an AT or
39 PS/2 keyboard, and your keyboard uses keycodes that are specific to
40 PA-RISC keyboards.
41
42 Say N if you use a standard keyboard.
43
44config KEYBOARD_ATKBD_RDI_KEYCODES
45 bool "Use PrecisionBook keyboard scancodes"
46 depends on KEYBOARD_ATKBD_HP_KEYCODES
47 default n
48 help
49 If you have an RDI PrecisionBook, say Y here if you want to use its
50 built-in keyboard (as opposed to an external keyboard).
51
52 The PrecisionBook has five keys that conflict with those used by most
53 AT and PS/2 keyboards. These are as follows:
54
55 PrecisionBook Standard AT or PS/2
56
57 F1 F12
58 Left Ctrl Left Alt
59 Caps Lock Left Ctrl
60 Right Ctrl Caps Lock
61 Left 102nd key (the key to the right of Left Shift)
62
63 If you say N here, and use the PrecisionBook keyboard, then each key
64 in the left-hand column will be interpreted as the corresponding key
65 in the right-hand column.
66
67 If you say Y here, and use an external keyboard, then each key in the
68 right-hand column will be interpreted as the key shown in the
69 left-hand column.
70
71config KEYBOARD_SUNKBD
72 tristate "Sun Type 4 and Type 5 keyboard"
73 select SERIO
74 help
75 Say Y here if you want to use a Sun Type 4 or Type 5 keyboard,
76 connected either to the Sun keyboard connector or to an serial
77 (RS-232) port via a simple adapter.
78
79 To compile this driver as a module, choose M here: the
80 module will be called sunkbd.
81
82config KEYBOARD_LKKBD
83 tristate "DECstation/VAXstation LK201/LK401 keyboard"
84 select SERIO
85 help
86 Say Y here if you want to use a LK201 or LK401 style serial
87 keyboard. This keyboard is also useable on PCs if you attach
88 it with the inputattach program. The connector pinout is
89 described within lkkbd.c.
90
91 To compile this driver as a module, choose M here: the
92 module will be called lkkbd.
93
94config KEYBOARD_LOCOMO
95 tristate "LoCoMo Keyboard Support"
Pavel Machek65d406a2005-10-14 15:59:03 -070096 depends on SHARP_LOCOMO && INPUT_KEYBOARD
Linus Torvalds1da177e2005-04-16 15:20:36 -070097 help
98 Say Y here if you are running Linux on a Sharp Zaurus Collie or Poodle based PDA
99
100 To compile this driver as a module, choose M here: the
101 module will be called locomokbd.
102
103config KEYBOARD_XTKBD
104 tristate "XT keyboard"
105 select SERIO
106 help
107 Say Y here if you want to use the old IBM PC/XT keyboard (or
108 compatible) on your system. This is only possible with a
109 parallel port keyboard adapter, you cannot connect it to the
110 keyboard port on a PC that runs Linux.
111
112 To compile this driver as a module, choose M here: the
113 module will be called xtkbd.
114
115config KEYBOARD_NEWTON
116 tristate "Newton keyboard"
117 select SERIO
118 help
119 Say Y here if you have a Newton keyboard on a serial port.
120
121 To compile this driver as a module, choose M here: the
122 module will be called newtonkbd.
123
Marek Vasutf35d0612006-09-19 01:59:32 -0400124config KEYBOARD_STOWAWAY
125 tristate "Stowaway keyboard"
126 select SERIO
127 help
128 Say Y here if you have a Stowaway keyboard on a serial port.
129 Stowaway compatible keyboards like Dicota Input-PDA keyboard
130 are also supported by this driver.
131
132 To compile this driver as a module, choose M here: the
133 module will be called stowaway.
134
Linus Torvalds1da177e2005-04-16 15:20:36 -0700135config KEYBOARD_CORGI
136 tristate "Corgi keyboard"
137 depends on PXA_SHARPSL
Phil Blundell78a56aa2007-01-18 00:44:09 -0500138 default y
Linus Torvalds1da177e2005-04-16 15:20:36 -0700139 help
Phil Blundell78a56aa2007-01-18 00:44:09 -0500140 Say Y here to enable the keyboard on the Sharp Zaurus SL-C7xx
Linus Torvalds1da177e2005-04-16 15:20:36 -0700141 series of PDAs.
142
Phil Blundell78a56aa2007-01-18 00:44:09 -0500143 To compile this driver as a module, choose M here: the
Linus Torvalds1da177e2005-04-16 15:20:36 -0700144 module will be called corgikbd.
145
Richard Purdiefff71312005-09-13 01:25:35 -0700146config KEYBOARD_SPITZ
147 tristate "Spitz keyboard"
148 depends on PXA_SHARPSL
149 default y
150 help
151 Say Y here to enable the keyboard on the Sharp Zaurus SL-C1000,
152 SL-C3000 and Sl-C3100 series of PDAs.
153
154 To compile this driver as a module, choose M here: the
155 module will be called spitzkbd.
156
Dmitry Baryshkov93e9012f2008-01-21 01:04:20 -0500157config KEYBOARD_TOSA
158 tristate "Tosa keyboard"
159 depends on MACH_TOSA
160 default y
161 help
162 Say Y here to enable the keyboard on the Sharp Zaurus SL-6000x (Tosa)
163
164 To compile this driver as a module, choose M here: the
165 module will be called tosakbd.
166
167config KEYBOARD_TOSA_USE_EXT_KEYCODES
168 bool "Tosa keyboard: use extended keycodes"
169 depends on KEYBOARD_TOSA
170 default n
171 help
172 Say Y here to enable the tosa keyboard driver to generate extended
173 (>= 127) keycodes. Be aware, that they can't be correctly interpreted
174 by either console keyboard driver or by Kdrive keybd driver.
175
176 Say Y only if you know, what you are doing!
177
Linus Torvalds1da177e2005-04-16 15:20:36 -0700178config KEYBOARD_AMIGA
179 tristate "Amiga keyboard"
180 depends on AMIGA
181 help
182 Say Y here if you are running Linux on any AMIGA and have a keyboard
183 attached.
184
185 To compile this driver as a module, choose M here: the
186 module will be called amikbd.
187
Andi Kleen0e52d322007-06-20 12:23:33 +0200188config ATARI_KBD_CORE
189 bool
190
Michael Schmitzc04cb852007-05-01 22:32:38 +0200191config KEYBOARD_ATARI
192 tristate "Atari keyboard"
193 depends on ATARI
194 select ATARI_KBD_CORE
195 help
196 Say Y here if you are running Linux on any Atari and have a keyboard
197 attached.
198
199 To compile this driver as a module, choose M here: the
200 module will be called atakbd.
201
Linus Torvalds1da177e2005-04-16 15:20:36 -0700202config KEYBOARD_HIL_OLD
203 tristate "HP HIL keyboard support (simple driver)"
Geert Uytterhoevenda96d0b2006-10-09 22:22:37 +0200204 depends on GSC || HP300
Linus Torvalds1da177e2005-04-16 15:20:36 -0700205 default y
206 help
207 The "Human Interface Loop" is a older, 8-channel USB-like
208 controller used in several Hewlett Packard models. This driver
209 was adapted from the one written for m68k/hp300, and implements
210 support for a keyboard attached to the HIL port, but not for
211 any other types of HIL input devices like mice or tablets.
212 However, it has been thoroughly tested and is stable.
213
214 If you want full HIL support including support for multiple
Matt LaPlante09509602006-10-03 22:31:37 +0200215 keyboards, mice, and tablets, you have to enable the
Linus Torvalds1da177e2005-04-16 15:20:36 -0700216 "HP System Device Controller i8042 Support" in the input/serio
217 submenu.
218
219config KEYBOARD_HIL
220 tristate "HP HIL keyboard support"
Geert Uytterhoevenda96d0b2006-10-09 22:22:37 +0200221 depends on GSC || HP300
Linus Torvalds1da177e2005-04-16 15:20:36 -0700222 default y
223 select HP_SDC
224 select HIL_MLC
225 select SERIO
226 help
227 The "Human Interface Loop" is a older, 8-channel USB-like
228 controller used in several Hewlett Packard models.
229 This driver implements support for HIL-keyboards attached
230 to your machine, so normally you should say Y here.
231
Kristoffer Ericson2aa2cb92007-09-26 00:02:35 -0400232config KEYBOARD_HP6XX
Kristoffer Ericson4ff891e2008-01-14 00:54:23 -0500233 tristate "HP Jornada 6xx keyboard"
Kristoffer Ericson2aa2cb92007-09-26 00:02:35 -0400234 depends on SH_HP6XX
235 select INPUT_POLLDEV
236 help
Kristoffer Ericson4ff891e2008-01-14 00:54:23 -0500237 Say Y here if you have a HP Jornada 620/660/680/690 and want to
238 support the built-in keyboard.
Kristoffer Ericson2aa2cb92007-09-26 00:02:35 -0400239
240 To compile this driver as a module, choose M here: the
241 module will be called jornada680_kbd.
242
Kristoffer Ericsonb0a4e1a2007-09-26 00:02:49 -0400243config KEYBOARD_HP7XX
Kristoffer Ericson4ff891e2008-01-14 00:54:23 -0500244 tristate "HP Jornada 7xx keyboard"
Kristoffer Ericsonb0a4e1a2007-09-26 00:02:49 -0400245 depends on SA1100_JORNADA720_SSP && SA1100_SSP
246 help
Kristoffer Ericson4ff891e2008-01-14 00:54:23 -0500247 Say Y here if you have a HP Jornada 710/720/728 and want to
248 support the built-in keyboard.
Kristoffer Ericsonb0a4e1a2007-09-26 00:02:49 -0400249
250 To compile this driver as a module, choose M here: the
251 module will be called jornada720_kbd.
252
Komal Shahad4e09b2006-09-29 01:59:19 -0700253config KEYBOARD_OMAP
254 tristate "TI OMAP keypad support"
255 depends on (ARCH_OMAP1 || ARCH_OMAP2)
256 help
257 Say Y here if you want to use the OMAP keypad.
258
259 To compile this driver as a module, choose M here: the
260 module will be called omap-keypad.
261
Rodolfo Giometti5a90e5b2007-03-16 00:58:52 -0400262config KEYBOARD_PXA27x
Eric Miaoe0f26772008-01-31 00:59:31 -0500263 tristate "PXA27x/PXA3xx keypad support"
264 depends on PXA27x || PXA3xx
Rodolfo Giometti5a90e5b2007-03-16 00:58:52 -0400265 help
Eric Miaoe0f26772008-01-31 00:59:31 -0500266 Enable support for PXA27x/PXA3xx keypad controller
Rodolfo Giometti5a90e5b2007-03-16 00:58:52 -0400267
268 To compile this driver as a module, choose M here: the
Eric Miao0e5f11a2008-01-31 00:56:46 -0500269 module will be called pxa27x_keypad.
Rodolfo Giometti5a90e5b2007-03-16 00:58:52 -0400270
Nicolas Bellidof9705fc2006-11-24 00:42:50 -0500271config KEYBOARD_AAED2000
272 tristate "AAED-2000 keyboard"
273 depends on MACH_AAED2000
Dmitry Torokhov3f07d872007-05-03 01:02:07 -0400274 select INPUT_POLLDEV
Nicolas Bellidof9705fc2006-11-24 00:42:50 -0500275 default y
276 help
277 Say Y here to enable the keyboard on the Agilent AAED-2000
278 development board.
279
280 To compile this driver as a module, choose M here: the
281 module will be called aaed2000_kbd.
282
Phil Blundell78a56aa2007-01-18 00:44:09 -0500283config KEYBOARD_GPIO
David Brownell0a938b92007-03-05 00:30:18 -0800284 tristate "GPIO Buttons"
285 depends on GENERIC_GPIO
Phil Blundell78a56aa2007-01-18 00:44:09 -0500286 help
287 This driver implements support for buttons connected
David Brownell0a938b92007-03-05 00:30:18 -0800288 to GPIO pins of various CPUs (and some other chips).
Phil Blundell78a56aa2007-01-18 00:44:09 -0500289
290 Say Y here if your device has buttons connected
David Brownell0a938b92007-03-05 00:30:18 -0800291 directly to such GPIO pins. Your board-specific
292 setup logic must also provide a platform device,
293 with configuration data saying which GPIOs are used.
Phil Blundell78a56aa2007-01-18 00:44:09 -0500294
295 To compile this driver as a module, choose M here: the
296 module will be called gpio-keys.
297
Adrian McMenaminb11d2122007-10-12 20:36:13 -0400298config KEYBOARD_MAPLE
299 tristate "Maple bus keyboard"
300 depends on SH_DREAMCAST && MAPLE
301 help
302 Say Y here if you have a Dreamcast console running Linux and have
303 a keyboard attached to its Maple bus.
304
305 To compile this driver as a module, choose M here: the
306 module will be called maple_keyb.
307
Michael Hennerich8f740ef2007-10-13 00:36:46 -0400308config KEYBOARD_BFIN
309 tristate "Blackfin BF54x keypad support"
Mike Frysinger6957c822007-11-27 00:46:42 -0500310 depends on (BF54x && !BF544)
Michael Hennerich8f740ef2007-10-13 00:36:46 -0400311 help
312 Say Y here if you want to use the BF54x keypad.
313
314 To compile this driver as a module, choose M here: the
315 module will be called bf54x-keys.
316
Magnus Damm795e6bf2008-03-04 15:23:45 -0800317config KEYBOARD_SH_KEYSC
318 tristate "SuperH KEYSC keypad support"
319 depends on SUPERH
320 help
321 Say Y here if you want to use a keypad attached to the KEYSC block
322 on SuperH processors such as sh7722 and sh7343.
323
324 To compile this driver as a module, choose M here: the
325 module will be called sh_keysc.
Linus Torvalds1da177e2005-04-16 15:20:36 -0700326endif