From patchwork Sun Jun 12 20:25:12 2011 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Juergen Lock X-Patchwork-Id: 873212 Received: from vger.kernel.org (vger.kernel.org [209.132.180.67]) by demeter1.kernel.org (8.14.4/8.14.4) with ESMTP id p5CKQXYP009275 for ; Sun, 12 Jun 2011 20:26:34 GMT Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1751432Ab1FLU0Z (ORCPT ); Sun, 12 Jun 2011 16:26:25 -0400 Received: from gelbbaer.kn-bremen.de ([78.46.108.116]:45135 "EHLO smtp.kn-bremen.de" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751186Ab1FLU0Z (ORCPT ); Sun, 12 Jun 2011 16:26:25 -0400 Received: by smtp.kn-bremen.de (Postfix, from userid 10) id AD9581E00231; Sun, 12 Jun 2011 22:26:22 +0200 (CEST) Received: from triton8.kn-bremen.de (noident@localhost [127.0.0.1]) by triton8.kn-bremen.de (8.14.4/8.14.3) with ESMTP id p5CKPDCI063924; Sun, 12 Jun 2011 22:25:13 +0200 (CEST) (envelope-from nox@triton8.kn-bremen.de) Received: (from nox@localhost) by triton8.kn-bremen.de (8.14.4/8.14.3/Submit) id p5CKPDB9063923; Sun, 12 Jun 2011 22:25:13 +0200 (CEST) (envelope-from nox) From: Juergen Lock Date: Sun, 12 Jun 2011 22:25:12 +0200 To: linux-media@vger.kernel.org Cc: hselasky@c2i.net Subject: [PATCH] [media] af9015: setup rc keytable for LC-Power LC-USB-DVBT Message-ID: <20110612202512.GA63911@triton8.kn-bremen.de> MIME-Version: 1.0 Content-Disposition: inline User-Agent: Mutt/1.5.21 (2010-09-15) Sender: linux-media-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-media@vger.kernel.org X-Greylist: IP, sender and recipient auto-whitelisted, not delayed by milter-greylist-4.2.6 (demeter1.kernel.org [140.211.167.41]); Sun, 12 Jun 2011 20:26:34 +0000 (UTC) That's this tuner: http://www.lc-power.de/index.php?id=146&L=1 The credit card sized remote more or less works if I set remote=4, so I added the hash to get it autodetected. (`more or less' there meaning sometimes buttons are `stuck on repeat', i.e. ir-keytable -t keeps repeating the same scancode until i press another button.) Signed-off-by: Juergen Lock --- To unsubscribe from this list: send the line "unsubscribe linux-media" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html --- a/drivers/media/dvb/dvb-usb/af9015.c +++ b/drivers/media/dvb/dvb-usb/af9015.c @@ -735,6 +735,7 @@ static const struct af9015_rc_setup af90 { 0xb8feb708, RC_MAP_MSI_DIGIVOX_II }, { 0xa3703d00, RC_MAP_ALINK_DTU_M }, { 0x9b7dc64e, RC_MAP_TOTAL_MEDIA_IN_HAND }, /* MYGICTV U718 */ + { 0x5d49e3db, RC_MAP_DIGITTRADE }, /* LC-Power LC-USB-DVBT */ { } };