]> git.proxmox.com Git - mirror_ubuntu-jammy-kernel.git/blob - drivers/hid/Kconfig
HID: fix memory leak on error patch in debug code
[mirror_ubuntu-jammy-kernel.git] / drivers / hid / Kconfig
1 #
2 # HID driver configuration
3 #
4 menuconfig 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
14 if HID_SUPPORT
15
16 config 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
34 config 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
53 source "drivers/hid/usbhid/Kconfig"
54
55 menu "Special HID drivers"
56 depends on HID
57
58 config HID_A4TECH
59 tristate "A4 tech" if EMBEDDED
60 depends on USB_HID
61 default !EMBEDDED
62 ---help---
63 Support for A4 tech X5 and WOP-35 / Trust 450L mice.
64
65 config HID_APPLE
66 tristate "Apple" if EMBEDDED
67 depends on (USB_HID || BT_HIDP)
68 default !EMBEDDED
69 ---help---
70 Support for some Apple devices which less or more break
71 HID specification.
72
73 Say Y here if you want support for keyboards of Apple iBooks, PowerBooks,
74 MacBooks, MacBook Pros and Apple Aluminum.
75
76 config HID_BELKIN
77 tristate "Belkin" if EMBEDDED
78 depends on USB_HID
79 default !EMBEDDED
80 ---help---
81 Support for Belkin Flip KVM and Wireless keyboard.
82
83 config HID_CHERRY
84 tristate "Cherry" if EMBEDDED
85 depends on USB_HID
86 default !EMBEDDED
87 ---help---
88 Support for Cherry Cymotion keyboard.
89
90 config HID_CHICONY
91 tristate "Chicony" if EMBEDDED
92 depends on USB_HID
93 default !EMBEDDED
94 ---help---
95 Support for Chicony Tactical pad.
96
97 config HID_CYPRESS
98 tristate "Cypress" if EMBEDDED
99 depends on USB_HID
100 default !EMBEDDED
101 ---help---
102 Support for cypress mouse and barcode readers.
103
104 config DRAGONRISE_FF
105 tristate "DragonRise Inc. force feedback support"
106 depends on USB_HID
107 select INPUT_FF_MEMLESS
108 ---help---
109 Say Y here if you want to enable force feedback support for DragonRise Inc.
110 game controllers.
111
112 config HID_EZKEY
113 tristate "Ezkey" if EMBEDDED
114 depends on USB_HID
115 default !EMBEDDED
116 ---help---
117 Support for Ezkey BTC 8193 keyboard.
118
119 config HID_KYE
120 tristate "Kye" if EMBEDDED
121 depends on USB_HID
122 default !EMBEDDED
123 ---help---
124 Support for Kye/Genius Ergo Mouse.
125
126 config HID_GYRATION
127 tristate "Gyration" if EMBEDDED
128 depends on USB_HID
129 default !EMBEDDED
130 ---help---
131 Support for Gyration remote control.
132
133 config HID_KENSINGTON
134 tristate "Kensington" if EMBEDDED
135 depends on USB_HID
136 default !EMBEDDED
137 ---help---
138 Support for Kensington Slimblade Trackball.
139
140 config HID_LOGITECH
141 tristate "Logitech" if EMBEDDED
142 depends on USB_HID
143 default !EMBEDDED
144 ---help---
145 Support for Logitech devices that are not fully compliant with HID standard.
146
147 config LOGITECH_FF
148 bool "Logitech force feedback"
149 depends on HID_LOGITECH
150 select INPUT_FF_MEMLESS
151 help
152 Say Y here if you have one of these devices:
153 - Logitech WingMan Cordless RumblePad
154 - Logitech WingMan Cordless RumblePad 2
155 - Logitech WingMan Force 3D
156 - Logitech Formula Force EX
157 - Logitech MOMO Force wheel
158
159 and if you want to enable force feedback for them.
160 Note: if you say N here, this device will still be supported, but without
161 force feedback.
162
163 config LOGIRUMBLEPAD2_FF
164 bool "Logitech Rumblepad 2 force feedback"
165 depends on HID_LOGITECH
166 select INPUT_FF_MEMLESS
167 help
168 Say Y here if you want to enable force feedback support for Logitech
169 Rumblepad 2 devices.
170
171 config HID_MICROSOFT
172 tristate "Microsoft" if EMBEDDED
173 depends on USB_HID
174 default !EMBEDDED
175 ---help---
176 Support for Microsoft devices that are not fully compliant with HID standard.
177
178 config HID_MONTEREY
179 tristate "Monterey" if EMBEDDED
180 depends on USB_HID
181 default !EMBEDDED
182 ---help---
183 Support for Monterey Genius KB29E.
184
185 config HID_NTRIG
186 tristate "NTrig" if EMBEDDED
187 depends on USB_HID
188 default !EMBEDDED
189 ---help---
190 Support for N-Trig touch screen.
191
192 config HID_PANTHERLORD
193 tristate "Pantherlord devices support" if EMBEDDED
194 depends on USB_HID
195 default !EMBEDDED
196 ---help---
197 Support for PantherLord/GreenAsia based device support.
198
199 config PANTHERLORD_FF
200 bool "Pantherlord force feedback support"
201 depends on HID_PANTHERLORD
202 select INPUT_FF_MEMLESS
203 help
204 Say Y here if you have a PantherLord/GreenAsia based game controller
205 or adapter and want to enable force feedback support for it.
206
207 config HID_PETALYNX
208 tristate "Petalynx" if EMBEDDED
209 depends on USB_HID
210 default !EMBEDDED
211 ---help---
212 Support for Petalynx Maxter remote control.
213
214 config HID_SAMSUNG
215 tristate "Samsung" if EMBEDDED
216 depends on USB_HID
217 default !EMBEDDED
218 ---help---
219 Support for Samsung InfraRed remote control.
220
221 config HID_SONY
222 tristate "Sony" if EMBEDDED
223 depends on USB_HID
224 default !EMBEDDED
225 ---help---
226 Support for Sony PS3 controller.
227
228 config HID_SUNPLUS
229 tristate "Sunplus" if EMBEDDED
230 depends on USB_HID
231 default !EMBEDDED
232 ---help---
233 Support for Sunplus wireless desktop.
234
235 config GREENASIA_FF
236 tristate "GreenAsia (Product ID 0x12) force feedback support"
237 depends on USB_HID
238 select INPUT_FF_MEMLESS
239 ---help---
240 Say Y here if you have a GreenAsia (Product ID 0x12) based game controller
241 (like MANTA Warrior MM816 and SpeedLink Strike2 SL-6635) or adapter
242 and want to enable force feedback support for it.
243
244 config HID_TOPSEED
245 tristate "TopSeed Cyberlink remote control support" if EMBEDDED
246 depends on USB_HID
247 default !EMBEDDED
248 ---help---
249 Say Y if you have a TopSeed Cyberlink remote control.
250
251 config THRUSTMASTER_FF
252 tristate "ThrustMaster devices support"
253 depends on USB_HID
254 select INPUT_FF_MEMLESS
255 help
256 Say Y here if you have a THRUSTMASTER FireStore Dual Power 2 or
257 a THRUSTMASTER Ferrari GT Rumble Force or Force Feedback Wheel.
258
259 config ZEROPLUS_FF
260 tristate "Zeroplus based game controller support"
261 depends on USB_HID
262 select INPUT_FF_MEMLESS
263 help
264 Say Y here if you have a Zeroplus based game controller.
265
266 endmenu
267
268 endif # HID_SUPPORT