From 449c1fcd86f5077d5076a955e65c07a7c4cbbf9d Mon Sep 17 00:00:00 2001 From: Heiner Kallweit Date: Mon, 8 Feb 2016 17:25:59 -0200 Subject: [PATCH] [media] media: rc: nuvoton: support reading / writing wakeup sequence via sysfs This patch adds a binary attribute /sys/class/rc/rc?/wakeup_data which allows to read / write the wakeup sequence. In combination with the core extension for exposing the most recent raw packet this allows to easily define and set a wakeup sequence. At least on my Zotac CI321 the BIOS resets the wakeup sequence at each boot to a factory default. Therefore I use a udev rule SUBSYSTEM=="rc", DRIVERS=="nuvoton-cir", ACTION=="add", RUN+="