The first patch of this series is just a cleanup. It also adds a debug message that can help to change IR support for Nebula to use the RC core raw decoders. The second patch is an attempt to generate IRQ's on both 0->1 and 1->0 transitions, required for the in-kernel decoders to work. Not sure if I did it right, as the conexant datasheet[1] is not very clear about how to enable GPINTR on both transitions. If the second patch works fine, it should be easy to convert the rc5_irq code to work like the saa7134 one, and remove the old RC5 decoder from bttv driver. People with Nebula DigiTV that want to help testing it: please apply the first patch, and load the bttv driver with remote debug enabled (modprobing bttv driver with ir_debug=1), and press some keys at the IR, using the original IR (or another RC5 IR). You should see some messages printed the kernel log (dmesg command shows them), like: bttv: RC5 IRQ: gap 1800000 us for mark bttv: RC5 IRQ: gap 1800000 us for mark bttv: RC5 IRQ: gap 1800000 us for mark bttv: RC5 IRQ: gap 1800000 us for mark If this goes well, please apply the second patch, re-compile/reload the modules and you should see also messages for space, if the patch goes well, something like: bttv: RC5 IRQ: gap 1800000 us for mark bttv: RC5 IRQ: gap 1800000 us for space bttv: RC5 IRQ: gap 1800000 us for mark bttv: RC5 IRQ: gap 1800000 us for space (the actual values for the gap will be different, as they'll depend on the amount of time spent between each printed line). The patches should be applied against the latest development tree, available at: http://git.linuxtv.org/media_tree.git Another alternative to test the patches is to use the media_build tree: http://git.linuxtv.org/media_build.git The media tree allows compilation against older kernels, but the backports may not be 100%. Please test both patches and give us a feedback. If both patches are fine, I'll write a patch porting Nebula IR support to use the RC core raw decoders. [1]http://www.conexant.com/servlets/DownloadServlet/DSH-200115-001.pdf?docid=116&revid=1 Mauro Carvalho Chehab (2): [media] bttv: remove custom_irq and gpioq from bttv struct [media] RFC: Enable IRQ's on both GPIO transitions drivers/media/video/bt8xx/bttv-driver.c | 6 ---- drivers/media/video/bt8xx/bttv-input.c | 41 +++++++++++++++++++----------- drivers/media/video/bt8xx/bttvp.h | 4 +-- 3 files changed, 27 insertions(+), 24 deletions(-) -- To unsubscribe from this list: send the line "unsubscribe linux-media" in the body of a message to majordomo@xxxxxxxxxxxxxxx More majordomo info at http://vger.kernel.org/majordomo-info.html