diff options
author | David Härdeman <david@hardeman.nu> | 2010-11-25 16:36:27 -0500 |
---|---|---|
committer | Mauro Carvalho Chehab <mchehab@redhat.com> | 2010-12-29 05:16:58 -0500 |
commit | 801c73c04ad57689dc9b47baf62cbb23f954d987 (patch) | |
tree | 38ecfa2b548e4aa6bb881971e7f23e43ac4a30d1 /drivers/media/rc/Kconfig | |
parent | dea8a39fb569c23084c857ccdbf70a95ea3bf7dc (diff) |
[media] rc-core: add loopback driver
This patch adds a loopback driver to rc-core which I've found useful for
running scripted tests of different parts of rc-core without having to
fiddle with real hardware.
Basically it emulates hardware with a learning and a non-learning
receiver and two transmitters (which correspond to the two
receivers). TX data that is sent is fed back as input on the
corresponding receiver, which allows for debugging of IR decoders,
keymaps, etc.
Signed-off-by: David Härdeman <david@hardeman.nu>
Acked-by: Jarod Wilson <jarod@redhat.com>
Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>
Diffstat (limited to 'drivers/media/rc/Kconfig')
-rw-r--r-- | drivers/media/rc/Kconfig | 13 |
1 files changed, 13 insertions, 0 deletions
diff --git a/drivers/media/rc/Kconfig b/drivers/media/rc/Kconfig index 42b4feb0e7f9..3785162f928e 100644 --- a/drivers/media/rc/Kconfig +++ b/drivers/media/rc/Kconfig | |||
@@ -177,4 +177,17 @@ config IR_WINBOND_CIR | |||
177 | To compile this driver as a module, choose M here: the module will | 177 | To compile this driver as a module, choose M here: the module will |
178 | be called winbond_cir. | 178 | be called winbond_cir. |
179 | 179 | ||
180 | config RC_LOOPBACK | ||
181 | tristate "Remote Control Loopback Driver" | ||
182 | depends on RC_CORE | ||
183 | ---help--- | ||
184 | Say Y here if you want support for the remote control loopback | ||
185 | driver which allows TX data to be sent back as RX data. | ||
186 | This is mostly useful for debugging purposes. | ||
187 | |||
188 | If you're not sure, select N here. | ||
189 | |||
190 | To compile this driver as a module, choose M here: the module will | ||
191 | be called rc_loopback. | ||
192 | |||
180 | endif #RC_CORE | 193 | endif #RC_CORE |