[linux-dvb] [PATCH] Allow budget-ci to only listen to certain IR devices

David Härdeman david at hardeman.nu
Thu Sep 28 00:29:36 CEST 2006


The attached patch changes the IR function in budget-ci so that it reads 
all IR sequences from the MSP430 chip. This allows the code to ignore 
invalid RC5 codes and also allows it to decide which RC5 device code was 
used to send the command (which would fix the problem of using multiple 
RC5 remotes [0]).

Per default the driver still listens to commands from all devices, but 
using the ir_device parameter, it is possible to limit it to a single 
device (which is a good thing if there are other RC5 devices nearby).

Compiled and tested with a programmable remote using a number of 
different RC5 device codes.

This patch needs to be applied on top of the dynamic keymap patch posted 
earlier[1].

Signed-off-by: David Härdeman <david at hardeman.nu>

[0] http://www.linuxtv.org/mailinglists/linux-dvb/2004/03-2004/msg00721.html
[1] http://www.linuxtv.org/pipermail/linux-dvb/2006-September/013100.html

-- 
David Härdeman



More information about the linux-dvb mailing list