From a96762da0cfcbe27f18febb84797269cd9faf791 Mon Sep 17 00:00:00 2001 From: =?utf8?q?Jan=20Kl=C3=B6tzke?= Date: Sat, 6 Jun 2015 16:58:13 -0300 Subject: [PATCH] [media] mantis: add remote control support MIME-Version: 1.0 Content-Type: text/plain; charset=utf8 Content-Transfer-Encoding: 8bit The embedded UART is apparently used to receive decoded IR (RC5?) codes. Forward these scan codes to the RC framework and (where known) add corresponding mapping tables to translate them into regular keys. This patch has been tested on a TechniSat CableStar HD2. The mappings of other rc-maps were taken from Christoph Pinkl's patch (http://patchwork.linuxtv.org/patch/7217/) and the s2-liplianin repository. The major difference to Christoph's patch is a reworked interrupt handling of the UART because the RX interrupt is apparently level triggered and requires masking until the FIFO is read by the UART worker. Signed-off-by: Jan Klötzke Signed-off-by: Mauro Carvalho Chehab --- Reading git-format-patch failed