xref: /openbmc/linux/drivers/hid/Kconfig (revision fdf93aa33268889e126aa677f2072238bd76adb0)
1#
2# HID driver configuration
3#
4menuconfig HID_SUPPORT
5	bool "HID Devices"
6	depends on INPUT
7	default y
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.
13
14if HID_SUPPORT
15
16config HID
17	tristate "Generic HID support"
18	depends on INPUT
19	default y
20	---help---
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
32	  If unsure, say Y.
33
34config HID_DEBUG
35	bool "HID debugging support"
36	default y
37	depends on HID
38	---help---
39	This option lets the HID layer output diagnostics about its internal
40	state, resolve HID usages, dump HID fields, etc. Individual HID drivers
41	use this debugging facility to output information about individual HID
42	devices, etc.
43
44	This feature is useful for those who are either debugging the HID parser
45	or any HID hardware device.
46
47	If unsure, say Y.
48
49config HIDRAW
50	bool "/dev/hidraw raw HID device support"
51	depends on HID
52	---help---
53	Say Y here if you want to support HID devices (from the USB
54	specification standpoint) that aren't strictly user interface
55	devices, like monitor controls and Uninterruptable Power Supplies.
56
57	This module supports these devices separately using a separate
58	event interface on /dev/hidraw.
59
60	There is also a /dev/hiddev configuration option in the USB HID
61	configuration menu. In comparison to hiddev, this device does not process
62	the hid events at all (no parsing, no lookups). This lets applications
63	to work on raw hid events when they want to, and avoid using transport-specific
64	userspace libhid/libusb libraries.
65
66	If unsure, say Y.
67
68source "drivers/hid/usbhid/Kconfig"
69
70menu "Special HID drivers"
71	depends on HID
72
73config HID_COMPAT
74	bool "Load all HID drivers on hid core load"
75	default y
76	---help---
77	Compatible option for older userspace. If you have system without udev
78	support of module loading through aliases and also old
79	module-init-tools which can't handle hid bus, choose Y here. Otherwise
80	say N. If you say N and your userspace is old enough, the only
81	functionality you lose is modules autoloading.
82
83	If unsure, say Y.
84
85config HID_A4TECH
86	tristate "A4 tech" if EMBEDDED
87	depends on USB_HID
88	default !EMBEDDED
89	---help---
90	Support for A4 tech X5 and WOP-35 / Trust 450L mice.
91
92config HID_APPLE
93	tristate "Apple" if EMBEDDED
94	depends on (USB_HID || BT_HIDP)
95	default !EMBEDDED
96	---help---
97	Support for some Apple devices which less or more break
98	HID specification.
99
100	Say Y here if you want support for keyboards of	Apple iBooks, PowerBooks,
101	MacBooks, MacBook Pros and Apple Aluminum.
102
103config HID_BELKIN
104	tristate "Belkin" if EMBEDDED
105	depends on USB_HID
106	default !EMBEDDED
107	---help---
108	Support for Belkin Flip KVM and Wireless keyboard.
109
110config HID_CHERRY
111	tristate "Cherry" if EMBEDDED
112	depends on USB_HID
113	default !EMBEDDED
114	---help---
115	Support for Cherry Cymotion keyboard.
116
117config HID_CHICONY
118	tristate "Chicony" if EMBEDDED
119	depends on USB_HID
120	default !EMBEDDED
121	---help---
122	Support for Chicony Tactical pad.
123
124config HID_CYPRESS
125	tristate "Cypress" if EMBEDDED
126	depends on USB_HID
127	default !EMBEDDED
128	---help---
129	Support for cypress mouse and barcode readers.
130
131config DRAGONRISE_FF
132	tristate "DragonRise Inc. force feedback support"
133	depends on USB_HID
134	select INPUT_FF_MEMLESS
135	---help---
136	Say Y here if you want to enable force feedback support for DragonRise Inc.
137	game controllers.
138
139config HID_EZKEY
140	tristate "Ezkey" if EMBEDDED
141	depends on USB_HID
142	default !EMBEDDED
143	---help---
144	Support for Ezkey BTC 8193 keyboard.
145
146config HID_GYRATION
147	tristate "Gyration" if EMBEDDED
148	depends on USB_HID
149	default !EMBEDDED
150	---help---
151	Support for Gyration remote control.
152
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
160config HID_LOGITECH
161	tristate "Logitech" if EMBEDDED
162	depends on USB_HID
163	default !EMBEDDED
164	---help---
165	Support for Logitech devices that are not fully compliant with HID standard.
166
167config LOGITECH_FF
168	bool "Logitech force feedback"
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
177	  - Logitech MOMO Force wheel
178
179	  and if you want to enable force feedback for them.
180	  Note: if you say N here, this device will still be supported, but without
181	  force feedback.
182
183config LOGIRUMBLEPAD2_FF
184	bool "Logitech Rumblepad 2 force feedback"
185	depends on HID_LOGITECH
186	select INPUT_FF_MEMLESS
187	help
188	  Say Y here if you want to enable force feedback support for Logitech
189	  Rumblepad 2 devices.
190
191config HID_MICROSOFT
192	tristate "Microsoft" if EMBEDDED
193	depends on USB_HID
194	default !EMBEDDED
195	---help---
196	Support for Microsoft devices that are not fully compliant with HID standard.
197
198config HID_MONTEREY
199	tristate "Monterey" if EMBEDDED
200	depends on USB_HID
201	default !EMBEDDED
202	---help---
203	Support for Monterey Genius KB29E.
204
205config HID_NTRIG
206	tristate "NTrig" if EMBEDDED
207	depends on USB_HID
208	default !EMBEDDED
209	---help---
210	Support for N-Trig touch screen.
211
212config HID_PANTHERLORD
213	tristate "Pantherlord devices support" if EMBEDDED
214	depends on USB_HID
215	default !EMBEDDED
216	---help---
217	Support for PantherLord/GreenAsia based device support.
218
219config PANTHERLORD_FF
220	bool "Pantherlord force feedback support"
221	depends on HID_PANTHERLORD
222	select INPUT_FF_MEMLESS
223	help
224	  Say Y here if you have a PantherLord/GreenAsia based game controller
225	  or adapter and want to enable force feedback support for it.
226
227config HID_PETALYNX
228	tristate "Petalynx" if EMBEDDED
229	depends on USB_HID
230	default !EMBEDDED
231	---help---
232	Support for Petalynx Maxter remote control.
233
234config HID_SAMSUNG
235	tristate "Samsung" if EMBEDDED
236	depends on USB_HID
237	default !EMBEDDED
238	---help---
239	Support for Samsung InfraRed remote control.
240
241config HID_SONY
242	tristate "Sony" if EMBEDDED
243	depends on USB_HID
244	default !EMBEDDED
245	---help---
246	Support for Sony PS3 controller.
247
248config HID_SUNPLUS
249	tristate "Sunplus" if EMBEDDED
250	depends on USB_HID
251	default !EMBEDDED
252	---help---
253	Support for Sunplus wireless desktop.
254
255config GREENASIA_FF
256	tristate "GreenAsia (Product ID 0x12) force feedback support"
257	depends on USB_HID
258	select INPUT_FF_MEMLESS
259	---help---
260	Say Y here if you have a GreenAsia (Product ID 0x12) based game controller
261	(like MANTA Warior MM816 and SpeedLink Strike2 SL-6635) or adapter
262	and want to enable force feedback support for it.
263
264config HID_TOPSEED
265	tristate "TopSeed Cyberlink remote control support" if EMBEDDED
266	depends on USB_HID
267	default !EMBEDDED
268	---help---
269	Say Y if you have a TopSeed Cyberlink remote control.
270
271config THRUSTMASTER_FF
272	tristate "ThrustMaster devices support"
273	depends on USB_HID
274	select INPUT_FF_MEMLESS
275	help
276	  Say Y here if you have a THRUSTMASTER FireStore Dual Power 2 or
277	  a THRUSTMASTER Ferrari GT Rumble Force or Force Feedback Wheel.
278
279config ZEROPLUS_FF
280	tristate "Zeroplus based game controller support"
281	depends on USB_HID
282	select INPUT_FF_MEMLESS
283	help
284	  Say Y here if you have a Zeroplus based game controller.
285
286endmenu
287
288endif # HID_SUPPORT
289