]> git.proxmox.com Git - mirror_ubuntu-artful-kernel.git/blame - drivers/hid/Kconfig
HID: Use kmemdup
[mirror_ubuntu-artful-kernel.git] / drivers / hid / Kconfig
CommitLineData
63f3861d
JK
1#
2# HID driver configuration
3#
3cd70986
JE
4menuconfig HID_SUPPORT
5 bool "HID Devices"
63f3861d 6 depends on INPUT
3cd70986 7 default y
06bfb7eb
JE
8 ---help---
9 Say Y here to get to see options for various computer-human interface
10 device drivers. This option alone does not add any kernel code.
11
12 If you say N, all options in this submenu will be skipped and disabled.
3cd70986
JE
13
14if HID_SUPPORT
63f3861d
JK
15
16config HID
17 tristate "Generic HID support"
c96c9d7b 18 depends on INPUT
63f3861d
JK
19 default y
20 ---help---
69e4d948
JK
21 A human interface device (HID) is a type of computer device that
22 interacts directly with and takes input from humans. The term "HID"
23 most commonly used to refer to the USB-HID specification, but other
24 devices (such as, but not strictly limited to, Bluetooth) are
25 designed using HID specification (this involves certain keyboards,
26 mice, tablets, etc). This option compiles into kernel the generic
27 HID layer code (parser, usages, etc.), which can then be used by
28 transport-specific HID implementation (like USB or Bluetooth).
29
30 For docs and specs, see http://www.usb.org/developers/hidpage/
31
205adbec 32 If unsure, say Y.
63f3861d 33
86166b7b
JK
34config HIDRAW
35 bool "/dev/hidraw raw HID device support"
36 depends on HID
37 ---help---
38 Say Y here if you want to support HID devices (from the USB
39 specification standpoint) that aren't strictly user interface
40 devices, like monitor controls and Uninterruptable Power Supplies.
41
42 This module supports these devices separately using a separate
43 event interface on /dev/hidraw.
44
45 There is also a /dev/hiddev configuration option in the USB HID
46 configuration menu. In comparison to hiddev, this device does not process
47 the hid events at all (no parsing, no lookups). This lets applications
48 to work on raw hid events when they want to, and avoid using transport-specific
49 userspace libhid/libusb libraries.
50
51 If unsure, say Y.
52
6db3dfef
JK
53source "drivers/hid/usbhid/Kconfig"
54
5f22a799
JS
55menu "Special HID drivers"
56 depends on HID
57
b6353f4f 58config HID_3M_PCT
4b186f72 59 tristate "3M PCT"
b6353f4f 60 depends on USB_HID
b6353f4f
SC
61 ---help---
62 Support for 3M PCT touch screens.
63
14a21cd4 64config HID_A4TECH
b36299bc 65 tristate "A4 tech" if EMBEDDED
14a21cd4 66 depends on USB_HID
d04b431e 67 default !EMBEDDED
14a21cd4
JS
68 ---help---
69 Support for A4 tech X5 and WOP-35 / Trust 450L mice.
70
8c19a515 71config HID_APPLE
b36299bc 72 tristate "Apple" if EMBEDDED
8c19a515 73 depends on (USB_HID || BT_HIDP)
d04b431e 74 default !EMBEDDED
8c19a515
JS
75 ---help---
76 Support for some Apple devices which less or more break
77 HID specification.
78
f0bd8e43
JK
79 Say Y here if you want support for keyboards of Apple iBooks, PowerBooks,
80 MacBooks, MacBook Pros and Apple Aluminum.
8c19a515 81
b5635b12 82config HID_BELKIN
b36299bc 83 tristate "Belkin" if EMBEDDED
b5635b12 84 depends on USB_HID
d04b431e 85 default !EMBEDDED
b5635b12
JS
86 ---help---
87 Support for Belkin Flip KVM and Wireless keyboard.
88
3b239cd7 89config HID_CHERRY
b36299bc 90 tristate "Cherry" if EMBEDDED
3b239cd7 91 depends on USB_HID
d04b431e 92 default !EMBEDDED
3b239cd7 93 ---help---
f0bd8e43 94 Support for Cherry Cymotion keyboard.
3b239cd7 95
fcfacfd3 96config HID_CHICONY
b36299bc 97 tristate "Chicony" if EMBEDDED
fcfacfd3 98 depends on USB_HID
d04b431e 99 default !EMBEDDED
fcfacfd3
JS
100 ---help---
101 Support for Chicony Tactical pad.
102
0f221320 103config HID_CYPRESS
b36299bc 104 tristate "Cypress" if EMBEDDED
0f221320 105 depends on USB_HID
d04b431e 106 default !EMBEDDED
0f221320 107 ---help---
f0bd8e43 108 Support for cypress mouse and barcode readers.
0f221320 109
0f6f4319
JK
110config HID_DRAGONRISE
111 tristate "DragonRise Inc. support" if EMBEDDED
3f866fbd 112 depends on USB_HID
0f6f4319
JK
113 default !EMBEDDED
114 ---help---
115 Say Y here if you have DragonRise Inc.game controllers.
116
117config DRAGONRISE_FF
118 bool "DragonRise Inc. force feedback support"
119 depends on HID_DRAGONRISE
3f866fbd
RW
120 select INPUT_FF_MEMLESS
121 ---help---
122 Say Y here if you want to enable force feedback support for DragonRise Inc.
123 game controllers.
124
1f243e30 125config HID_EZKEY
b36299bc 126 tristate "Ezkey" if EMBEDDED
1f243e30 127 depends on USB_HID
d04b431e 128 default !EMBEDDED
1f243e30 129 ---help---
f0bd8e43 130 Support for Ezkey BTC 8193 keyboard.
1f243e30 131
79422741
JK
132config HID_KYE
133 tristate "Kye" if EMBEDDED
134 depends on USB_HID
135 default !EMBEDDED
136 ---help---
137 Support for Kye/Genius Ergo Mouse.
138
949f8fef 139config HID_GYRATION
b36299bc 140 tristate "Gyration" if EMBEDDED
949f8fef 141 depends on USB_HID
d04b431e 142 default !EMBEDDED
949f8fef 143 ---help---
f0bd8e43 144 Support for Gyration remote control.
949f8fef 145
711a680e
BP
146config HID_TWINHAN
147 tristate "Twinhan" if EMBEDDED
148 depends on USB_HID
149 default !EMBEDDED
150 ---help---
151 Support for Twinhan IR remote control.
152
fdf93aa3
JK
153config HID_KENSINGTON
154 tristate "Kensington" if EMBEDDED
155 depends on USB_HID
156 default !EMBEDDED
157 ---help---
158 Support for Kensington Slimblade Trackball.
159
5f22a799 160config HID_LOGITECH
b36299bc 161 tristate "Logitech" if EMBEDDED
5f22a799 162 depends on USB_HID
d04b431e 163 default !EMBEDDED
5f22a799 164 ---help---
f0bd8e43 165 Support for Logitech devices that are not fully compliant with HID standard.
5f22a799 166
606bd0a8 167config LOGITECH_FF
0f6f4319 168 bool "Logitech force feedback support"
606bd0a8
JS
169 depends on HID_LOGITECH
170 select INPUT_FF_MEMLESS
171 help
172 Say Y here if you have one of these devices:
173 - Logitech WingMan Cordless RumblePad
174 - Logitech WingMan Cordless RumblePad 2
175 - Logitech WingMan Force 3D
176 - Logitech Formula Force EX
fd30ea8c 177 - Logitech WingMan Formula Force GP
606bd0a8
JS
178 - Logitech MOMO Force wheel
179
180 and if you want to enable force feedback for them.
181 Note: if you say N here, this device will still be supported, but without
182 force feedback.
183
184config LOGIRUMBLEPAD2_FF
0f6f4319 185 bool "Logitech Rumblepad 2 force feedback support"
606bd0a8
JS
186 depends on HID_LOGITECH
187 select INPUT_FF_MEMLESS
188 help
189 Say Y here if you want to enable force feedback support for Logitech
190 Rumblepad 2 devices.
191
74f292ca
GS
192config LOGIG940_FF
193 bool "Logitech Flight System G940 force feedback support"
194 depends on HID_LOGITECH
195 select INPUT_FF_MEMLESS
196 help
197 Say Y here if you want to enable force feedback support for Logitech
198 Flight System G940 devices.
199
128537ce 200config HID_MAGICMOUSE
9f523147 201 tristate "Apple MagicMouse multi-touch support"
128537ce 202 depends on BT_HIDP
128537ce 203 ---help---
9f523147 204 Support for the Apple Magic Mouse multi-touch.
128537ce
MP
205
206 Say Y here if you want support for the multi-touch features of the
207 Apple Wireless "Magic" Mouse.
208
78a849a6 209config HID_MICROSOFT
b36299bc 210 tristate "Microsoft" if EMBEDDED
78a849a6 211 depends on USB_HID
d04b431e 212 default !EMBEDDED
78a849a6 213 ---help---
f0bd8e43 214 Support for Microsoft devices that are not fully compliant with HID standard.
78a849a6 215
77f720b7
SC
216config HID_MOSART
217 tristate "MosArt"
218 depends on USB_HID
219 ---help---
220 Support for MosArt dual-touch panels.
221
3b8006e5 222config HID_MONTEREY
b36299bc 223 tristate "Monterey" if EMBEDDED
3b8006e5 224 depends on USB_HID
d04b431e 225 default !EMBEDDED
3b8006e5
JS
226 ---help---
227 Support for Monterey Genius KB29E.
228
94011f93 229config HID_NTRIG
2dbf209d 230 tristate "NTrig"
94011f93 231 depends on USB_HID
94011f93
RR
232 ---help---
233 Support for N-Trig touch screen.
234
cd9ec30d
JH
235config HID_ORTEK
236 tristate "Ortek" if EMBEDDED
237 depends on USB_HID
238 default !EMBEDDED
239 ---help---
240 Support for Ortek WKB-2000 wireless keyboard + mouse trackpad.
241
0f6f4319
JK
242config HID_PANTHERLORD
243 tristate "Pantherlord support" if EMBEDDED
244 depends on USB_HID
245 default !EMBEDDED
246 ---help---
247 Say Y here if you have a PantherLord/GreenAsia based game controller
248 or adapter.
249
5f022298
JS
250config PANTHERLORD_FF
251 bool "Pantherlord force feedback support"
252 depends on HID_PANTHERLORD
253 select INPUT_FF_MEMLESS
0f6f4319 254 ---help---
5f022298
JS
255 Say Y here if you have a PantherLord/GreenAsia based game controller
256 or adapter and want to enable force feedback support for it.
257
1e762532 258config HID_PETALYNX
b36299bc 259 tristate "Petalynx" if EMBEDDED
1e762532 260 depends on USB_HID
d04b431e 261 default !EMBEDDED
1e762532 262 ---help---
f0bd8e43 263 Support for Petalynx Maxter remote control.
1e762532 264
49e4739a
SC
265config HID_QUANTA
266 tristate "Quanta Optical Touch"
267 depends on USB_HID
268 ---help---
269 Support for Quanta Optical Touch dual-touch panels.
270
980a3da6 271config HID_SAMSUNG
b36299bc 272 tristate "Samsung" if EMBEDDED
980a3da6 273 depends on USB_HID
d04b431e 274 default !EMBEDDED
980a3da6 275 ---help---
f0bd8e43 276 Support for Samsung InfraRed remote control.
980a3da6 277
bd28ce00 278config HID_SONY
b36299bc 279 tristate "Sony" if EMBEDDED
bd28ce00 280 depends on USB_HID
d04b431e 281 default !EMBEDDED
bd28ce00
JS
282 ---help---
283 Support for Sony PS3 controller.
284
d3fb5454 285config HID_STANTUM
92688c0c 286 tristate "Stantum"
d3fb5454
SC
287 depends on USB_HID
288 ---help---
289 Support for Stantum multitouch panel.
290
90231e7e 291config HID_SUNPLUS
b36299bc 292 tristate "Sunplus" if EMBEDDED
90231e7e 293 depends on USB_HID
d04b431e 294 default !EMBEDDED
90231e7e 295 ---help---
f0bd8e43 296 Support for Sunplus wireless desktop.
90231e7e 297
0f6f4319
JK
298config HID_GREENASIA
299 tristate "GreenAsia (Product ID 0x12) support" if EMBEDDED
42859e0b 300 depends on USB_HID
0f6f4319
JK
301 default !EMBEDDED
302 ---help---
303 Say Y here if you have a GreenAsia (Product ID 0x12) based game
304 controller or adapter.
305
306config GREENASIA_FF
307 bool "GreenAsia (Product ID 0x12) force feedback support"
308 depends on HID_GREENASIA
42859e0b
LL
309 select INPUT_FF_MEMLESS
310 ---help---
311 Say Y here if you have a GreenAsia (Product ID 0x12) based game controller
692105b8 312 (like MANTA Warrior MM816 and SpeedLink Strike2 SL-6635) or adapter
42859e0b
LL
313 and want to enable force feedback support for it.
314
fac733f0
JK
315config HID_SMARTJOYPLUS
316 tristate "SmartJoy PLUS PS2/USB adapter support" if EMBEDDED
317 depends on USB_HID
318 default !EMBEDDED
319 ---help---
320 Support for SmartJoy PLUS PS2/USB adapter.
321
322config SMARTJOYPLUS_FF
323 bool "SmartJoy PLUS PS2/USB adapter force feedback support"
324 depends on HID_SMARTJOYPLUS
325 select INPUT_FF_MEMLESS
326 ---help---
327 Say Y here if you have a SmartJoy PLUS PS2/USB adapter and want to
328 enable force feedback support for it.
329
f14f526d
LB
330config HID_TOPSEED
331 tristate "TopSeed Cyberlink remote control support" if EMBEDDED
332 depends on USB_HID
1db489b2 333 default !EMBEDDED
f14f526d 334 ---help---
bf280628 335 Say Y if you have a TopSeed Cyberlink or BTC Emprex remote control.
f14f526d 336
0f6f4319
JK
337config HID_THRUSTMASTER
338 tristate "ThrustMaster devices support" if EMBEDDED
10e41a71 339 depends on USB_HID
0f6f4319
JK
340 default !EMBEDDED
341 ---help---
342 Say Y here if you have a THRUSTMASTER FireStore Dual Power 2 or
343 a THRUSTMASTER Ferrari GT Rumble Wheel.
344
345config THRUSTMASTER_FF
346 bool "ThrustMaster devices force feedback support"
347 depends on HID_THRUSTMASTER
10e41a71 348 select INPUT_FF_MEMLESS
0f6f4319 349 ---help---
7a84b133
RAG
350 Say Y here if you have a THRUSTMASTER FireStore Dual Power 2 or 3,
351 a THRUSTMASTER Dual Trigger 3-in-1 or a THRUSTMASTER Ferrari GT
352 Rumble Force or Force Feedback Wheel.
10e41a71 353
ca2dcd40 354config HID_WACOM
2dbf209d 355 tristate "Wacom Bluetooth devices support"
ca2dcd40 356 depends on BT_HIDP
ca2dcd40
BN
357 ---help---
358 Support for Wacom Graphire Bluetooth tablet.
359
59d2334a
PF
360config HID_WACOM_POWER_SUPPLY
361 bool "Wacom Bluetooth devices power supply status support"
362 depends on HID_WACOM
363 select POWER_SUPPLY
364 ---help---
365 Say Y here if you want to enable power supply status monitoring for
366 Wacom Bluetooth devices.
367
0f6f4319
JK
368config HID_ZEROPLUS
369 tristate "Zeroplus based game controller support" if EMBEDDED
987fbc1f 370 depends on USB_HID
0f6f4319
JK
371 default !EMBEDDED
372 ---help---
987fbc1f
JS
373 Say Y here if you have a Zeroplus based game controller.
374
0f6f4319
JK
375config ZEROPLUS_FF
376 bool "Zeroplus based game controller force feedback support"
377 depends on HID_ZEROPLUS
378 select INPUT_FF_MEMLESS
379 ---help---
380 Say Y here if you have a Zeroplus based game controller and want
381 to have force feedback support for it.
382
5f22a799
JS
383endmenu
384
3cd70986 385endif # HID_SUPPORT