media: rc: nec decoder should not send both repeat and keycode
[linux-2.6-block.git] / drivers / media / rc / Kconfig
CommitLineData
b9e1486e
SY
1
2menuconfig RC_CORE
3 tristate "Remote Controller support"
e27d3811 4 depends on INPUT
b9e1486e
SY
5 ---help---
6 Enable support for Remote Controllers on Linux. This is
7 needed in order to support several video capture adapters,
8 standalone IR receivers/transmitters, and RF receivers.
9
10 Enable this option if you have a video capture board even
11 if you don't need IR, as otherwise, you may not be able to
12 compile the driver for your adapter.
cfec93f7 13
b9e1486e
SY
14 Say Y when you have a TV or an IR device.
15
16if RC_CORE
c455f5c8
MCC
17source "drivers/media/rc/keymaps/Kconfig"
18
19menuconfig RC_DECODERS
20 bool "Remote controller decoders"
21 depends on RC_CORE
22 default y
23
24if RC_DECODERS
4a62a5ab 25config LIRC
b4c184e5
MCC
26 tristate "LIRC interface driver"
27 depends on RC_CORE
4a62a5ab
JW
28
29 ---help---
30 Enable this option to build the Linux Infrared Remote
31 Control (LIRC) core device interface driver. The LIRC
32 interface passes raw IR to and from userspace, where the
ade321c5 33 LIRC daemon handles protocol decoding for IR reception and
4a62a5ab
JW
34 encoding for IR transmitting (aka "blasting").
35
94f74767
MCC
36config IR_LIRC_CODEC
37 tristate "Enable IR to LIRC bridge"
38 depends on RC_CORE
39 depends on LIRC
40 default y
41
42 ---help---
43 Enable this option to pass raw IR to and from userspace via
44 the LIRC interface.
45
46
995187be 47config IR_NEC_DECODER
897c7b3b 48 tristate "Enable IR raw decoder for the NEC protocol"
6bda9644 49 depends on RC_CORE
58aac2bf 50 select BITREVERSE
995187be
MCC
51 default y
52
53 ---help---
54 Enable this option if you have IR with NEC protocol, and
55 if the IR is decoded in software
db1423a6
MCC
56
57config IR_RC5_DECODER
897c7b3b 58 tristate "Enable IR raw decoder for the RC-5 protocol"
6bda9644 59 depends on RC_CORE
033608c1 60 select BITREVERSE
db1423a6
MCC
61 default y
62
63 ---help---
64 Enable this option if you have IR with RC-5 protocol, and
65 if the IR is decoded in software
784a4931
DH
66
67config IR_RC6_DECODER
68 tristate "Enable IR raw decoder for the RC6 protocol"
6bda9644 69 depends on RC_CORE
2135436a 70 select BITREVERSE
784a4931
DH
71 default y
72
73 ---help---
74 Enable this option if you have an infrared remote control which
75 uses the RC6 protocol, and you need software decoding support.
21677cfc 76
bf670f64
DH
77config IR_JVC_DECODER
78 tristate "Enable IR raw decoder for the JVC protocol"
6bda9644 79 depends on RC_CORE
f9839da0 80 select BITREVERSE
bf670f64
DH
81 default y
82
83 ---help---
84 Enable this option if you have an infrared remote control which
85 uses the JVC protocol, and you need software decoding support.
86
3fe29c89
DH
87config IR_SONY_DECODER
88 tristate "Enable IR raw decoder for the Sony protocol"
6bda9644 89 depends on RC_CORE
b66d2086 90 select BITREVERSE
3fe29c89
DH
91 default y
92
93 ---help---
94 Enable this option if you have an infrared remote control which
95 uses the Sony protocol, and you need software decoding support.
96
b32e7243
MCC
97config IR_SANYO_DECODER
98 tristate "Enable IR raw decoder for the Sanyo protocol"
99 depends on RC_CORE
100 default y
101
102 ---help---
103 Enable this option if you have an infrared remote control which
104 uses the Sanyo protocol (Sanyo, Aiwa, Chinon remotes),
105 and you need software decoding support.
106
1d184b0b
JH
107config IR_SHARP_DECODER
108 tristate "Enable IR raw decoder for the Sharp protocol"
109 depends on RC_CORE
110 default y
111
112 ---help---
113 Enable this option if you have an infrared remote control which
1b0621af
HK
114 uses the Sharp protocol (Sharp, Denon), and you need software
115 decoding support.
1d184b0b 116
f5f2cc64
JW
117config IR_MCE_KBD_DECODER
118 tristate "Enable IR raw decoder for the MCE keyboard/mouse protocol"
119 depends on RC_CORE
120 select BITREVERSE
121 default y
122
123 ---help---
124 Enable this option if you have a Microsoft Remote Keyboard for
125 Windows Media Center Edition, which you would like to use with
126 a raw IR receiver in your system.
1dee9b59
MM
127
128config IR_XMP_DECODER
129 tristate "Enable IR raw decoder for the XMP protocol"
130 depends on RC_CORE
131 select BITREVERSE
132 default y
133
134 ---help---
135 Enable this option if you have IR with XMP protocol, and
136 if the IR is decoded in software
c455f5c8 137endif #RC_DECODERS
f5f2cc64 138
b4c184e5
MCC
139menuconfig RC_DEVICES
140 bool "Remote Controller devices"
141 depends on RC_CORE
142
143if RC_DEVICES
144
9688efda 145config RC_ATI_REMOTE
3a7a6237 146 tristate "ATI / X10 based USB RF remote controls"
9688efda 147 depends on USB_ARCH_HAS_HCD
c34516e5 148 depends on RC_CORE
9688efda
AH
149 select USB
150 help
3a7a6237 151 Say Y here if you want to use an X10 based USB remote control.
9688efda 152 These are RF remotes with USB receivers.
3a7a6237
AH
153
154 Such devices include the ATI remote that comes with many of ATI's
155 All-In-Wonder video cards, the X10 "Lola" remote, NVIDIA RF remote,
156 Medion RF remote, and SnapStream FireFly remote.
157
9688efda
AH
158 This driver provides mouse pointer, left and right mouse buttons,
159 and maps all the other remote buttons to keypress events.
160
161 To compile this driver as a module, choose M here: the module will be
162 called ati_remote.
163
d322bf4a 164config IR_ENE
11b64d31 165 tristate "ENE eHome Receiver/Transceiver (pnp id: ENE0100/ENE02xxx)"
d322bf4a 166 depends on PNP
6bda9644 167 depends on RC_CORE
d322bf4a
JW
168 ---help---
169 Say Y here to enable support for integrated infrared receiver
11b64d31 170 /transceiver made by ENE.
d322bf4a
JW
171
172 You can see if you have it by looking at lspnp output.
11b64d31 173 Output should include ENE0100 ENE0200 or something similar.
d322bf4a
JW
174
175 To compile this driver as a module, choose M here: the
176 module will be called ene_ir.
177
a84fcdaa
GY
178config IR_HIX5HD2
179 tristate "Hisilicon hix5hd2 IR remote control"
180 depends on RC_CORE
181 help
842e39c0
DH
182 Say Y here if you want to use hisilicon hix5hd2 remote control.
183 To compile this driver as a module, choose M here: the module will be
184 called ir-hix5hd2.
a84fcdaa 185
842e39c0 186 If you're not sure, select N here
a84fcdaa 187
21677cfc
JW
188config IR_IMON
189 tristate "SoundGraph iMON Receiver and Display"
190 depends on USB_ARCH_HAS_HCD
6bda9644 191 depends on RC_CORE
21677cfc
JW
192 select USB
193 ---help---
194 Say Y here if you want to use a SoundGraph iMON (aka Antec Veris)
195 IR Receiver and/or LCD/VFD/VGA display.
196
197 To compile this driver as a module, choose M here: the
198 module will be called imon.
66e89522
JW
199
200config IR_MCEUSB
201 tristate "Windows Media Center Ed. eHome Infrared Transceiver"
202 depends on USB_ARCH_HAS_HCD
6bda9644 203 depends on RC_CORE
66e89522
JW
204 select USB
205 ---help---
206 Say Y here if you want to use a Windows Media Center Edition
207 eHome Infrared Transceiver.
208
209 To compile this driver as a module, choose M here: the
210 module will be called mceusb.
2c1101d5 211
620a32bb
JGS
212config IR_ITE_CIR
213 tristate "ITE Tech Inc. IT8712/IT8512 Consumer Infrared Transceiver"
214 depends on PNP
215 depends on RC_CORE
216 ---help---
217 Say Y here to enable support for integrated infrared receivers
218 /transceivers made by ITE Tech Inc. These are found in
219 several ASUS devices, like the ASUS Digimatrix or the ASUS
220 EEEBox 1501U.
221
222 To compile this driver as a module, choose M here: the
223 module will be called ite-cir.
224
9bdc79ea
JW
225config IR_FINTEK
226 tristate "Fintek Consumer Infrared Transceiver"
227 depends on PNP
228 depends on RC_CORE
229 ---help---
230 Say Y here to enable support for integrated infrared receiver
231 /transciever made by Fintek. This chip is found on assorted
232 Jetway motherboards (and of course, possibly others).
233
234 To compile this driver as a module, choose M here: the
235 module will be called fintek-cir.
236
12ddbadf
BG
237config IR_MESON
238 tristate "Amlogic Meson IR remote receiver"
239 depends on RC_CORE
240 depends on ARCH_MESON || COMPILE_TEST
241 ---help---
242 Say Y if you want to use the IR remote receiver available
243 on Amlogic Meson SoCs.
244
245 To compile this driver as a module, choose M here: the
246 module will be called meson-ir.
247
6691e7b9
SW
248config IR_MTK
249 tristate "Mediatek IR remote receiver"
250 depends on RC_CORE
251 depends on ARCH_MEDIATEK || COMPILE_TEST
252 ---help---
253 Say Y if you want to use the IR remote receiver available
254 on Mediatek SoCs.
255
256 To compile this driver as a module, choose M here: the
257 module will be called mtk-cir.
258
d322bf4a
JW
259config IR_NUVOTON
260 tristate "Nuvoton w836x7hg Consumer Infrared Transceiver"
931e39a1 261 depends on PNP
6bda9644 262 depends on RC_CORE
931e39a1
ML
263 ---help---
264 Say Y here to enable support for integrated infrared receiver
d322bf4a
JW
265 /transciever made by Nuvoton (formerly Winbond). This chip is
266 found in the ASRock ION 330HT, as well as assorted Intel
267 DP55-series motherboards (and of course, possibly others).
931e39a1
ML
268
269 To compile this driver as a module, choose M here: the
d322bf4a 270 module will be called nuvoton-cir.
931e39a1 271
2154be65
JW
272config IR_REDRAT3
273 tristate "RedRat3 IR Transceiver"
274 depends on USB_ARCH_HAS_HCD
275 depends on RC_CORE
bf139726
SY
276 select NEW_LEDS
277 select LEDS_CLASS
2154be65
JW
278 select USB
279 ---help---
280 Say Y here if you want to use a RedRat3 Infrared Transceiver.
281
282 To compile this driver as a module, choose M here: the
283 module will be called redrat3.
284
fe052da4
AS
285config IR_SPI
286 tristate "SPI connected IR LED"
287 depends on SPI && LIRC
288 ---help---
289 Say Y if you want to use an IR LED connected through SPI bus.
290
291 To compile this driver as a module, choose M here: the module will be
292 called ir-spi.
293
2c1101d5
JW
294config IR_STREAMZAP
295 tristate "Streamzap PC Remote IR Receiver"
296 depends on USB_ARCH_HAS_HCD
6bda9644 297 depends on RC_CORE
2c1101d5
JW
298 select USB
299 ---help---
300 Say Y here if you want to use a Streamzap PC Remote
301 Infrared Receiver.
302
303 To compile this driver as a module, choose M here: the
304 module will be called streamzap.
ade321c5 305
5b2e303f 306config IR_WINBOND_CIR
baf075ec
MCC
307 tristate "Winbond IR remote control"
308 depends on X86 && PNP
6bda9644 309 depends on RC_CORE
baf075ec
MCC
310 select NEW_LEDS
311 select LEDS_CLASS
baf075ec
MCC
312 select BITREVERSE
313 ---help---
314 Say Y here if you want to use the IR remote functionality found
315 in some Winbond SuperI/O chips. Currently only the WPCD376I
316 chip is supported (included in some Intel Media series
5b2e303f
DH
317 motherboards).
318
baf075ec 319 To compile this driver as a module, choose M here: the module will
5b2e303f
DH
320 be called winbond_cir.
321
b1c97193
SY
322config IR_IGORPLUGUSB
323 tristate "IgorPlug-USB IR Receiver"
324 depends on USB_ARCH_HAS_HCD
325 depends on RC_CORE
326 select USB
327 ---help---
328 Say Y here if you want to use the IgorPlug-USB IR Receiver by
329 Igor Cesko. This device is included on the Fit-PC2.
330
331 Note that this device can only record bursts of 36 IR pulses and
332 spaces, which is not enough for the NEC, Sanyo and RC-6 protocol.
333
334 To compile this driver as a module, choose M here: the module will
335 be called igorplugusb.
336
26ff6313
SY
337config IR_IGUANA
338 tristate "IguanaWorks USB IR Transceiver"
ac6eb458 339 depends on USB_ARCH_HAS_HCD
26ff6313
SY
340 depends on RC_CORE
341 select USB
342 ---help---
0797b480
SY
343 Say Y here if you want to use the IguanaWorks USB IR Transceiver.
344 Both infrared receive and send are supported. If you want to
345 change the ID or the pin config, use the user space driver from
346 IguanaWorks.
347
348 Only firmware 0x0205 and later is supported.
26ff6313
SY
349
350 To compile this driver as a module, choose M here: the module will
351 be called iguanair.
352
0938069f
SY
353config IR_TTUSBIR
354 tristate "TechnoTrend USB IR Receiver"
3ab2a83e 355 depends on USB_ARCH_HAS_HCD
0938069f
SY
356 depends on RC_CORE
357 select USB
358 select NEW_LEDS
359 select LEDS_CLASS
360 ---help---
361 Say Y here if you want to use the TechnoTrend USB IR Receiver. The
362 driver can control the led.
363
364 To compile this driver as a module, choose M here: the module will
365 be called ttusbir.
366
c332e847 367config IR_RX51
2ea4b442 368 tristate "Nokia N900 IR transmitter diode"
a92def1b 369 depends on (OMAP_DM_TIMER && PWM_OMAP_DMTIMER && ARCH_OMAP2PLUS || COMPILE_TEST) && RC_CORE
c332e847
TK
370 ---help---
371 Say Y or M here if you want to enable support for the IR
372 transmitter diode built in the Nokia N900 (RX51) device.
373
362b29ba 374 The driver uses omap DM timers for generating the carrier
c332e847
TK
375 wave and pulses.
376
54b29120
JH
377source "drivers/media/rc/img-ir/Kconfig"
378
801c73c0
DH
379config RC_LOOPBACK
380 tristate "Remote Control Loopback Driver"
381 depends on RC_CORE
382 ---help---
383 Say Y here if you want support for the remote control loopback
384 driver which allows TX data to be sent back as RX data.
385 This is mostly useful for debugging purposes.
386
387 If you're not sure, select N here.
388
389 To compile this driver as a module, choose M here: the module will
390 be called rc_loopback.
391
fd0f6851
RK
392config IR_GPIO_CIR
393 tristate "GPIO IR remote control"
394 depends on RC_CORE
c1301077 395 depends on (OF && GPIOLIB) || COMPILE_TEST
fd0f6851
RK
396 ---help---
397 Say Y if you want to use GPIO based IR Receiver.
398
399 To compile this driver as a module, choose M here: the module will
400 be called gpio-ir-recv.
401
24d79ebc
SY
402config IR_GPIO_TX
403 tristate "GPIO IR Bit Banging Transmitter"
404 depends on RC_CORE
405 depends on LIRC
406 ---help---
407 Say Y if you want to a GPIO based IR transmitter. This is a
408 bit banging driver.
409
410 To compile this driver as a module, choose M here: the module will
411 be called gpio-ir-tx.
412
db3df876
SY
413config IR_PWM_TX
414 tristate "PWM IR transmitter"
415 depends on RC_CORE
416 depends on LIRC
417 depends on PWM
418 ---help---
419 Say Y if you want to use a PWM based IR transmitter. This is
420 more power efficient than the bit banging gpio driver.
421
422 To compile this driver as a module, choose M here: the module will
423 be called pwm-ir-tx.
424
80f93c7b
SK
425config RC_ST
426 tristate "ST remote control receiver"
7155043c
MCC
427 depends on RC_CORE
428 depends on ARCH_STI || COMPILE_TEST
cfcffe39
HV
429 ---help---
430 Say Y here if you want support for ST remote control driver
431 which allows both IR and UHF RX.
432 The driver passes raw pulse and space information to the LIRC decoder.
80f93c7b 433
cfcffe39 434 If you're not sure, select N here.
80f93c7b 435
b4e3e59f 436config IR_SUNXI
cfcffe39
HV
437 tristate "SUNXI IR remote control"
438 depends on RC_CORE
439 depends on ARCH_SUNXI || COMPILE_TEST
440 ---help---
441 Say Y if you want to use sunXi internal IR Controller
442
443 To compile this driver as a module, choose M here: the module will
444 be called sunxi-ir.
b4e3e59f 445
fa5dc29c
SY
446config IR_SERIAL
447 tristate "Homebrew Serial Port Receiver"
448 depends on RC_CORE
449 ---help---
450 Say Y if you want to use Homebrew Serial Port Receivers and
451 Transceivers.
452
453 To compile this driver as a module, choose M here: the module will
454 be called serial-ir.
455
456config IR_SERIAL_TRANSMITTER
457 bool "Serial Port Transmitter"
458 default y
459 depends on IR_SERIAL
460 ---help---
461 Serial Port Transmitter support
462
e6626716
SY
463config IR_SIR
464 tristate "Built-in SIR IrDA port"
465 depends on RC_CORE
466 ---help---
467 Say Y if you want to use a IrDA SIR port Transceivers.
468
469 To compile this driver as a module, choose M here: the module will
470 be called sir-ir.
471
b429996c
SG
472config IR_ZX
473 tristate "ZTE ZX IR remote control"
474 depends on RC_CORE
475 depends on ARCH_ZX || COMPILE_TEST
476 ---help---
477 Say Y if you want to use the IR remote control available
478 on ZTE ZX family SoCs.
479
480 To compile this driver as a module, choose M here: the
481 module will be called zx-irdec.
482
b4c184e5 483endif #RC_DEVICES
b9e1486e
SY
484
485endif #RC_CORE