diff options
Diffstat (limited to 'drivers/hid')
-rw-r--r-- | drivers/hid/Kconfig | 122 | ||||
-rw-r--r-- | drivers/hid/hid-core.c | 2 | ||||
-rw-r--r-- | drivers/hid/hid-ids.h | 2 |
3 files changed, 53 insertions, 73 deletions
diff --git a/drivers/hid/Kconfig b/drivers/hid/Kconfig index da64108de775..f5999a91614e 100644 --- a/drivers/hid/Kconfig +++ b/drivers/hid/Kconfig | |||
@@ -17,25 +17,6 @@ config HID | |||
17 | tristate "Generic HID support" | 17 | tristate "Generic HID support" |
18 | depends on INPUT | 18 | depends on INPUT |
19 | default y | 19 | default y |
20 | select HID_A4TECH if !EMBEDDED | ||
21 | select HID_APPLE if !EMBEDDED | ||
22 | select HID_BELKIN if !EMBEDDED | ||
23 | select HID_BRIGHT if !EMBEDDED | ||
24 | select HID_CHERRY if !EMBEDDED | ||
25 | select HID_CHICONY if !EMBEDDED | ||
26 | select HID_CYPRESS if !EMBEDDED | ||
27 | select HID_DELL if !EMBEDDED | ||
28 | select HID_EZKEY if !EMBEDDED | ||
29 | select HID_GYRATION if !EMBEDDED | ||
30 | select HID_LOGITECH if !EMBEDDED | ||
31 | select HID_MICROSOFT if !EMBEDDED | ||
32 | select HID_MONTEREY if !EMBEDDED | ||
33 | select HID_PANTHERLORD if !EMBEDDED | ||
34 | select HID_PETALYNX if !EMBEDDED | ||
35 | select HID_SAMSUNG if !EMBEDDED | ||
36 | select HID_SONY if !EMBEDDED | ||
37 | select HID_SUNPLUS if !EMBEDDED | ||
38 | |||
39 | ---help--- | 20 | ---help--- |
40 | A human interface device (HID) is a type of computer device that | 21 | A human interface device (HID) is a type of computer device that |
41 | interacts directly with and takes input from humans. The term "HID" | 22 | interacts directly with and takes input from humans. The term "HID" |
@@ -102,89 +83,86 @@ config HID_COMPAT | |||
102 | If unsure, say Y. | 83 | If unsure, say Y. |
103 | 84 | ||
104 | config HID_A4TECH | 85 | config HID_A4TECH |
105 | tristate "A4 tech" | 86 | tristate "A4 tech" if EMBEDDED |
106 | default m | ||
107 | depends on USB_HID | 87 | depends on USB_HID |
88 | default y | ||
108 | ---help--- | 89 | ---help--- |
109 | Support for A4 tech X5 and WOP-35 / Trust 450L mice. | 90 | Support for A4 tech X5 and WOP-35 / Trust 450L mice. |
110 | 91 | ||
111 | config HID_APPLE | 92 | config HID_APPLE |
112 | tristate "Apple" | 93 | tristate "Apple" if EMBEDDED |
113 | default m | ||
114 | depends on (USB_HID || BT_HIDP) | 94 | depends on (USB_HID || BT_HIDP) |
95 | default y | ||
115 | ---help--- | 96 | ---help--- |
116 | Support for some Apple devices which less or more break | 97 | Support for some Apple devices which less or more break |
117 | HID specification. | 98 | HID specification. |
118 | 99 | ||
119 | Say Y here if you want support for the special keys (Fn, Numlock) on | 100 | Say Y here if you want support for keyboards of Apple iBooks, PowerBooks, |
120 | Apple iBooks, PowerBooks, MacBooks, MacBook Pros and aluminum USB | 101 | MacBooks, MacBook Pros and Apple Aluminum. |
121 | keyboards. | ||
122 | |||
123 | If unsure, say M. | ||
124 | 102 | ||
125 | config HID_BELKIN | 103 | config HID_BELKIN |
126 | tristate "Belkin" | 104 | tristate "Belkin" if EMBEDDED |
127 | default m | ||
128 | depends on USB_HID | 105 | depends on USB_HID |
106 | default y | ||
129 | ---help--- | 107 | ---help--- |
130 | Support for Belkin Flip KVM and Wireless keyboard. | 108 | Support for Belkin Flip KVM and Wireless keyboard. |
131 | 109 | ||
132 | config HID_BRIGHT | 110 | config HID_BRIGHT |
133 | tristate "Bright" | 111 | tristate "Bright" if EMBEDDED |
134 | default m | ||
135 | depends on USB_HID | 112 | depends on USB_HID |
113 | default y | ||
136 | ---help--- | 114 | ---help--- |
137 | Support for Bright ABNT-2 keyboard. | 115 | Support for Bright ABNT-2 keyboard. |
138 | 116 | ||
139 | config HID_CHERRY | 117 | config HID_CHERRY |
140 | tristate "Cherry" | 118 | tristate "Cherry" if EMBEDDED |
141 | default m | ||
142 | depends on USB_HID | 119 | depends on USB_HID |
120 | default y | ||
143 | ---help--- | 121 | ---help--- |
144 | Support for Cherry Cymotion. | 122 | Support for Cherry Cymotion keyboard. |
145 | 123 | ||
146 | config HID_CHICONY | 124 | config HID_CHICONY |
147 | tristate "Chicony" | 125 | tristate "Chicony" if EMBEDDED |
148 | default m | ||
149 | depends on USB_HID | 126 | depends on USB_HID |
127 | default y | ||
150 | ---help--- | 128 | ---help--- |
151 | Support for Chicony Tactical pad. | 129 | Support for Chicony Tactical pad. |
152 | 130 | ||
153 | config HID_CYPRESS | 131 | config HID_CYPRESS |
154 | tristate "Cypress" | 132 | tristate "Cypress" if EMBEDDED |
155 | default m | ||
156 | depends on USB_HID | 133 | depends on USB_HID |
134 | default y | ||
157 | ---help--- | 135 | ---help--- |
158 | Support for Cypress mouse and barcodes. | 136 | Support for cypress mouse and barcode readers. |
159 | 137 | ||
160 | config HID_DELL | 138 | config HID_DELL |
161 | tristate "Dell" | 139 | tristate "Dell" if EMBEDDED |
162 | default m | ||
163 | depends on USB_HID | 140 | depends on USB_HID |
141 | default y | ||
164 | ---help--- | 142 | ---help--- |
165 | Support for Dell W7658. | 143 | Support for quirky Dell HID hardware that require |
144 | special LED handling (W7658 and SK8115 models) | ||
166 | 145 | ||
167 | config HID_EZKEY | 146 | config HID_EZKEY |
168 | tristate "Ezkey" | 147 | tristate "Ezkey" if EMBEDDED |
169 | default m | ||
170 | depends on USB_HID | 148 | depends on USB_HID |
149 | default y | ||
171 | ---help--- | 150 | ---help--- |
172 | Support for Ezkey mouse and barcodes. | 151 | Support for Ezkey BTC 8193 keyboard. |
173 | 152 | ||
174 | config HID_GYRATION | 153 | config HID_GYRATION |
175 | tristate "Gyration" | 154 | tristate "Gyration" if EMBEDDED |
176 | default m | ||
177 | depends on USB_HID | 155 | depends on USB_HID |
156 | default y | ||
178 | ---help--- | 157 | ---help--- |
179 | Support for Gyration remote. | 158 | Support for Gyration remote control. |
180 | 159 | ||
181 | config HID_LOGITECH | 160 | config HID_LOGITECH |
182 | tristate "Logitech" | 161 | tristate "Logitech" if EMBEDDED |
183 | default m | ||
184 | depends on USB_HID | 162 | depends on USB_HID |
163 | default y | ||
185 | ---help--- | 164 | ---help--- |
186 | Support for some Logitech devices which breaks less or more | 165 | Support for Logitech devices that are not fully compliant with HID standard. |
187 | HID specification. | ||
188 | 166 | ||
189 | config LOGITECH_FF | 167 | config LOGITECH_FF |
190 | bool "Logitech force feedback" | 168 | bool "Logitech force feedback" |
@@ -211,28 +189,26 @@ config LOGIRUMBLEPAD2_FF | |||
211 | Rumblepad 2 devices. | 189 | Rumblepad 2 devices. |
212 | 190 | ||
213 | config HID_MICROSOFT | 191 | config HID_MICROSOFT |
214 | tristate "Microsoft" | 192 | tristate "Microsoft" if EMBEDDED |
215 | default m | ||
216 | depends on USB_HID | 193 | depends on USB_HID |
194 | default y | ||
217 | ---help--- | 195 | ---help--- |
218 | Support for some Microsoft devices which breaks less or more | 196 | Support for Microsoft devices that are not fully compliant with HID standard. |
219 | HID specification. | ||
220 | 197 | ||
221 | config HID_MONTEREY | 198 | config HID_MONTEREY |
222 | tristate "Monterey" | 199 | tristate "Monterey" if EMBEDDED |
223 | default m | ||
224 | depends on USB_HID | 200 | depends on USB_HID |
201 | default y | ||
225 | ---help--- | 202 | ---help--- |
226 | Support for Monterey Genius KB29E. | 203 | Support for Monterey Genius KB29E. |
227 | 204 | ||
228 | config HID_PANTHERLORD | 205 | config HID_PANTHERLORD |
229 | tristate "Pantherlord devices support" | 206 | tristate "Pantherlord devices support" if EMBEDDED |
230 | default m | ||
231 | depends on USB_HID | 207 | depends on USB_HID |
208 | default y | ||
232 | ---help--- | 209 | ---help--- |
233 | Support for PantherLord/GreenAsia based device support. | 210 | Support for PantherLord/GreenAsia based device support. |
234 | 211 | ||
235 | |||
236 | config PANTHERLORD_FF | 212 | config PANTHERLORD_FF |
237 | bool "Pantherlord force feedback support" | 213 | bool "Pantherlord force feedback support" |
238 | depends on HID_PANTHERLORD | 214 | depends on HID_PANTHERLORD |
@@ -242,32 +218,32 @@ config PANTHERLORD_FF | |||
242 | or adapter and want to enable force feedback support for it. | 218 | or adapter and want to enable force feedback support for it. |
243 | 219 | ||
244 | config HID_PETALYNX | 220 | config HID_PETALYNX |
245 | tristate "Petalynx" | 221 | tristate "Petalynx" if EMBEDDED |
246 | default m | ||
247 | depends on USB_HID | 222 | depends on USB_HID |
223 | default y | ||
248 | ---help--- | 224 | ---help--- |
249 | Support for Petalynx Maxter remote. | 225 | Support for Petalynx Maxter remote control. |
250 | 226 | ||
251 | config HID_SAMSUNG | 227 | config HID_SAMSUNG |
252 | tristate "Samsung" | 228 | tristate "Samsung" if EMBEDDED |
253 | default m | ||
254 | depends on USB_HID | 229 | depends on USB_HID |
230 | default y | ||
255 | ---help--- | 231 | ---help--- |
256 | Support for Samsung IR remote. | 232 | Support for Samsung InfraRed remote control. |
257 | 233 | ||
258 | config HID_SONY | 234 | config HID_SONY |
259 | tristate "Sony" | 235 | tristate "Sony" if EMBEDDED |
260 | default m | ||
261 | depends on USB_HID | 236 | depends on USB_HID |
237 | default y | ||
262 | ---help--- | 238 | ---help--- |
263 | Support for Sony PS3 controller. | 239 | Support for Sony PS3 controller. |
264 | 240 | ||
265 | config HID_SUNPLUS | 241 | config HID_SUNPLUS |
266 | tristate "Sunplus" | 242 | tristate "Sunplus" if EMBEDDED |
267 | default m | ||
268 | depends on USB_HID | 243 | depends on USB_HID |
244 | default y | ||
269 | ---help--- | 245 | ---help--- |
270 | Support for Sunplus WDesktop input device. | 246 | Support for Sunplus wireless desktop. |
271 | 247 | ||
272 | config THRUSTMASTER_FF | 248 | config THRUSTMASTER_FF |
273 | tristate "ThrustMaster devices support" | 249 | tristate "ThrustMaster devices support" |
diff --git a/drivers/hid/hid-core.c b/drivers/hid/hid-core.c index 8a7d9dbb4d07..721a36d97582 100644 --- a/drivers/hid/hid-core.c +++ b/drivers/hid/hid-core.c | |||
@@ -1518,6 +1518,8 @@ static const struct hid_device_id hid_ignore_list[] = { | |||
1518 | { HID_USB_DEVICE(USB_VENDOR_ID_PANJIT, 0x0003) }, | 1518 | { HID_USB_DEVICE(USB_VENDOR_ID_PANJIT, 0x0003) }, |
1519 | { HID_USB_DEVICE(USB_VENDOR_ID_PANJIT, 0x0004) }, | 1519 | { HID_USB_DEVICE(USB_VENDOR_ID_PANJIT, 0x0004) }, |
1520 | { HID_USB_DEVICE(USB_VENDOR_ID_SOUNDGRAPH, USB_DEVICE_ID_SOUNDGRAPH_IMON_LCD) }, | 1520 | { HID_USB_DEVICE(USB_VENDOR_ID_SOUNDGRAPH, USB_DEVICE_ID_SOUNDGRAPH_IMON_LCD) }, |
1521 | { HID_USB_DEVICE(USB_VENDOR_ID_SOUNDGRAPH, USB_DEVICE_ID_SOUNDGRAPH_IMON_LCD2) }, | ||
1522 | { HID_USB_DEVICE(USB_VENDOR_ID_SOUNDGRAPH, USB_DEVICE_ID_SOUNDGRAPH_IMON_LCD3) }, | ||
1521 | { HID_USB_DEVICE(USB_VENDOR_ID_TENX, USB_DEVICE_ID_TENX_IBUDDY1) }, | 1523 | { HID_USB_DEVICE(USB_VENDOR_ID_TENX, USB_DEVICE_ID_TENX_IBUDDY1) }, |
1522 | { HID_USB_DEVICE(USB_VENDOR_ID_TENX, USB_DEVICE_ID_TENX_IBUDDY2) }, | 1524 | { HID_USB_DEVICE(USB_VENDOR_ID_TENX, USB_DEVICE_ID_TENX_IBUDDY2) }, |
1523 | { HID_USB_DEVICE(USB_VENDOR_ID_THRUSTMASTER, 0xb300) }, | 1525 | { HID_USB_DEVICE(USB_VENDOR_ID_THRUSTMASTER, 0xb300) }, |
diff --git a/drivers/hid/hid-ids.h b/drivers/hid/hid-ids.h index aad9ed1b406e..d9a1ba920c23 100644 --- a/drivers/hid/hid-ids.h +++ b/drivers/hid/hid-ids.h | |||
@@ -354,6 +354,8 @@ | |||
354 | 354 | ||
355 | #define USB_VENDOR_ID_SOUNDGRAPH 0x15c2 | 355 | #define USB_VENDOR_ID_SOUNDGRAPH 0x15c2 |
356 | #define USB_DEVICE_ID_SOUNDGRAPH_IMON_LCD 0x0038 | 356 | #define USB_DEVICE_ID_SOUNDGRAPH_IMON_LCD 0x0038 |
357 | #define USB_DEVICE_ID_SOUNDGRAPH_IMON_LCD2 0x0036 | ||
358 | #define USB_DEVICE_ID_SOUNDGRAPH_IMON_LCD3 0x0034 | ||
357 | 359 | ||
358 | #define USB_VENDOR_ID_SUN 0x0430 | 360 | #define USB_VENDOR_ID_SUN 0x0430 |
359 | #define USB_DEVICE_ID_RARITAN_KVM_DONGLE 0xcdab | 361 | #define USB_DEVICE_ID_RARITAN_KVM_DONGLE 0xcdab |