]> git.proxmox.com Git - mirror_ubuntu-bionic-kernel.git/blame - drivers/input/keyboard/Kconfig
Input: pass EV_PWR events to event handlers
[mirror_ubuntu-bionic-kernel.git] / drivers / input / keyboard / Kconfig
CommitLineData
1da177e4
LT
1#
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
aaef685d 16 tristate "AT keyboard" if EMBEDDED || !X86_PC
1da177e4
LT
17 default y
18 select SERIO
19 select SERIO_LIBPS2
f2c84c0e 20 select SERIO_I8042 if X86_PC
1da177e4
LT
21 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"
65d406ac 96 depends on SHARP_LOCOMO && INPUT_KEYBOARD
1da177e4
LT
97 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
f35d0616
MV
124config 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
1da177e4
LT
135config KEYBOARD_CORGI
136 tristate "Corgi keyboard"
137 depends on PXA_SHARPSL
78a56aab 138 default y
1da177e4 139 help
78a56aab 140 Say Y here to enable the keyboard on the Sharp Zaurus SL-C7xx
1da177e4
LT
141 series of PDAs.
142
78a56aab 143 To compile this driver as a module, choose M here: the
1da177e4
LT
144 module will be called corgikbd.
145
fff71312
RP
146config 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
1da177e4
LT
157config KEYBOARD_AMIGA
158 tristate "Amiga keyboard"
159 depends on AMIGA
160 help
161 Say Y here if you are running Linux on any AMIGA and have a keyboard
162 attached.
163
164 To compile this driver as a module, choose M here: the
165 module will be called amikbd.
166
0e52d328
AK
167config ATARI_KBD_CORE
168 bool
169
c04cb856
MS
170config KEYBOARD_ATARI
171 tristate "Atari keyboard"
172 depends on ATARI
173 select ATARI_KBD_CORE
174 help
175 Say Y here if you are running Linux on any Atari and have a keyboard
176 attached.
177
178 To compile this driver as a module, choose M here: the
179 module will be called atakbd.
180
1da177e4
LT
181config KEYBOARD_HIL_OLD
182 tristate "HP HIL keyboard support (simple driver)"
da96d0b5 183 depends on GSC || HP300
1da177e4
LT
184 default y
185 help
186 The "Human Interface Loop" is a older, 8-channel USB-like
187 controller used in several Hewlett Packard models. This driver
188 was adapted from the one written for m68k/hp300, and implements
189 support for a keyboard attached to the HIL port, but not for
190 any other types of HIL input devices like mice or tablets.
191 However, it has been thoroughly tested and is stable.
192
193 If you want full HIL support including support for multiple
09509603 194 keyboards, mice, and tablets, you have to enable the
1da177e4
LT
195 "HP System Device Controller i8042 Support" in the input/serio
196 submenu.
197
198config KEYBOARD_HIL
199 tristate "HP HIL keyboard support"
da96d0b5 200 depends on GSC || HP300
1da177e4
LT
201 default y
202 select HP_SDC
203 select HIL_MLC
204 select SERIO
205 help
206 The "Human Interface Loop" is a older, 8-channel USB-like
207 controller used in several Hewlett Packard models.
208 This driver implements support for HIL-keyboards attached
209 to your machine, so normally you should say Y here.
210
2aa2cb9e
KE
211config KEYBOARD_HP6XX
212 tristate "HP Jornada 6XX Keyboard support"
213 depends on SH_HP6XX
214 select INPUT_POLLDEV
215 help
216 This adds support for the onboard keyboard found on
217 HP Jornada 620/660/680/690.
218
219 To compile this driver as a module, choose M here: the
220 module will be called jornada680_kbd.
221
b0a4e1aa
KE
222config KEYBOARD_HP7XX
223 tristate "HP Jornada 7XX Keyboard Driver"
224 depends on SA1100_JORNADA720_SSP && SA1100_SSP
225 help
226 Say Y here to add support for the HP Jornada 7xx (710/720/728)
227 onboard keyboard.
228
229 To compile this driver as a module, choose M here: the
230 module will be called jornada720_kbd.
231
ad4e09b1
KS
232config KEYBOARD_OMAP
233 tristate "TI OMAP keypad support"
234 depends on (ARCH_OMAP1 || ARCH_OMAP2)
235 help
236 Say Y here if you want to use the OMAP keypad.
237
238 To compile this driver as a module, choose M here: the
239 module will be called omap-keypad.
240
5a90e5bc
RG
241config KEYBOARD_PXA27x
242 tristate "PXA27x keyboard support"
243 depends on PXA27x
244 help
245 Enable support for PXA27x matrix keyboard controller
246
247 To compile this driver as a module, choose M here: the
248 module will be called pxa27x_keyboard.
249
f9705fcb
NB
250config KEYBOARD_AAED2000
251 tristate "AAED-2000 keyboard"
252 depends on MACH_AAED2000
3f07d879 253 select INPUT_POLLDEV
f9705fcb
NB
254 default y
255 help
256 Say Y here to enable the keyboard on the Agilent AAED-2000
257 development board.
258
259 To compile this driver as a module, choose M here: the
260 module will be called aaed2000_kbd.
261
78a56aab 262config KEYBOARD_GPIO
0a938b97
DB
263 tristate "GPIO Buttons"
264 depends on GENERIC_GPIO
78a56aab
PB
265 help
266 This driver implements support for buttons connected
0a938b97 267 to GPIO pins of various CPUs (and some other chips).
78a56aab
PB
268
269 Say Y here if your device has buttons connected
0a938b97
DB
270 directly to such GPIO pins. Your board-specific
271 setup logic must also provide a platform device,
272 with configuration data saying which GPIOs are used.
78a56aab
PB
273
274 To compile this driver as a module, choose M here: the
275 module will be called gpio-keys.
276
b11d2127
AM
277config KEYBOARD_MAPLE
278 tristate "Maple bus keyboard"
279 depends on SH_DREAMCAST && MAPLE
280 help
281 Say Y here if you have a Dreamcast console running Linux and have
282 a keyboard attached to its Maple bus.
283
284 To compile this driver as a module, choose M here: the
285 module will be called maple_keyb.
286
8f740ef3
MH
287config KEYBOARD_BFIN
288 tristate "Blackfin BF54x keypad support"
6957c828 289 depends on (BF54x && !BF544)
8f740ef3
MH
290 help
291 Say Y here if you want to use the BF54x keypad.
292
293 To compile this driver as a module, choose M here: the
294 module will be called bf54x-keys.
295
1da177e4 296endif