I'm resending the patch series as it seems that my initial attempt was not delivered to patchwork or linux-media list. Apologies for duplicate emails to people who may have received the first attempt. Patches 1 & 2 in this series introduce a simple sysfs file interface for reading and writing wakeup scancodes or ir samples to rc drivers. The interface is designed to be flexible yet easy enough to adapt to. It can support almost any kind of known wakeup scancode and sample formats. Patches 3-5 in the series port some existing drivers to use this interface. Changes in v2: - Added wakeup_protocols file to control which protocol to use with wakeup - Renamed interface to wakeup_code - Clean-up device attribute registration - Ported winbond-cir to use this interface - Brought interface closer to https://patchwork.linuxtv.org/patch/21625/ Antti Seppälä (5): rc-core: Add defintions needed for sysfs callback rc-core: Add support for reading/writing wakeup codes via sysfs rc-loopback: Add support for reading/writing wakeup scancodes via sysfs nuvoton-cir: Add support for reading/writing wakeup samples via sysfs winbond-cir: Add support for reading/writing wakeup scancodes via sysfs drivers/media/rc/nuvoton-cir.c | 118 +++++++++++++++++++++++++++ drivers/media/rc/nuvoton-cir.h | 2 + drivers/media/rc/rc-loopback.c | 40 +++++++++ drivers/media/rc/rc-main.c | 179 +++++++++++++++++++++++++++++++++++++---- drivers/media/rc/winbond-cir.c | 66 ++++++++++----- include/media/rc-core.h | 17 ++++ 6 files changed, 390 insertions(+), 32 deletions(-) -- 1.8.3.2 -- 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