On Wed, Jun 16, 2010 at 4:05 PM, Jarod Wilson <jarod@xxxxxxxxxxxx> wrote: > On Sun, Jun 13, 2010 at 4:29 PM, David Härdeman <david@xxxxxxxxxxx> wrote: >> With the current logic, each raw decoder needs to add a copy of the exact >> same sysfs code. This is both unnecessary and also means that (re)loading >> an IR driver after raw decoder modules have been loaded won't work as >> expected. >> >> This patch moves that logic into ir-raw-event and adds a single sysfs >> file per device. >> >> Reading that file returns something like: >> >> "rc5 [rc6] nec jvc [sony]" >> >> (with enabled protocols in [] brackets) >> >> Writing either "+protocol" or "-protocol" to that file will >> enable or disable the according protocol decoder. >> >> An additional benefit is that the disabling of a decoder will be >> remembered across module removal/insertion so a previously >> disabled decoder won't suddenly be activated again. The default >> setting is to enable all decoders. >> >> This is also necessary for the next patch which moves even more decoder >> state into the central raw decoding structs. >> >> Signed-off-by: David Härdeman <david@xxxxxxxxxxx> > > Acked-by: Jarod Wilson <jarod@xxxxxxxxxx> > Tested-by: Jarod Wilson <jarod@xxxxxxxxxx> > > Note that I was running a version rebased atop the linuxtv staging/rc > branch though. Found here: http://git.wilsonet.com//linux-2.6-ir-wip.git?a=commitdiff;h=e4166a6c70c4f9a06644ce8b4e9beeea7c336d90 -- Jarod Wilson jarod@xxxxxxxxxxxx -- 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