From patchwork Wed Dec 29 14:49:34 2010 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Stefan Kriwanek X-Patchwork-Id: 439571 Received: from vger.kernel.org (vger.kernel.org [209.132.180.67]) by demeter1.kernel.org (8.14.4/8.14.3) with ESMTP id oBUMBEjv000490 for ; Thu, 30 Dec 2010 22:11:31 GMT Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1753350Ab0L2PI2 (ORCPT ); Wed, 29 Dec 2010 10:08:28 -0500 Received: from wp123.webpack.hosteurope.de ([80.237.132.130]:42020 "EHLO wp123.webpack.hosteurope.de" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1753258Ab0L2PI1 (ORCPT ); Wed, 29 Dec 2010 10:08:27 -0500 X-Greylist: IP, sender and recipient auto-whitelisted, not delayed by milter-greylist-4.2.3 (demeter1.kernel.org [140.211.167.41]); Thu, 30 Dec 2010 22:11:31 +0000 (UTC) X-Greylist: delayed 1124 seconds by postgrey-1.27 at vger.kernel.org; Wed, 29 Dec 2010 10:08:27 EST Received: from p5b337165.dip.t-dialin.net ([91.51.113.101] helo=[192.168.100.110]); authenticated by wp123.webpack.hosteurope.de running ExIM with esmtpsa (TLS1.0:DHE_RSA_AES_256_CBC_SHA1:32) id 1PXxLS-00030k-4W; Wed, 29 Dec 2010 15:49:42 +0100 Message-ID: <4D1B4A7E.20503@stefankriwanek.de> Date: Wed, 29 Dec 2010 15:49:34 +0100 From: Stefan Kriwanek User-Agent: Mozilla/5.0 (X11; U; Linux x86_64; en-US; rv:1.9.2.13) Gecko/20101208 Thunderbird/3.1.7 MIME-Version: 1.0 To: linux-media@vger.kernel.org Subject: support for IR remote TerraTec Cinergy T USB XXS X-Enigmail-Version: 1.1.2 X-bounce-key: webpack.hosteurope.de; mail@stefankriwanek.de; 1293635307; ad8a1f99; Sender: linux-media-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-media@vger.kernel.org diff -r abd3aac6644e linux/drivers/media/dvb/dvb-usb/dib0700_devices.c --- a/linux/drivers/media/dvb/dvb-usb/dib0700_devices.c Fri Jul 02 00:38:54 2010 -0300 +++ b/linux/drivers/media/dvb/dvb-usb/dib0700_devices.c Wed Dec 29 13:17:41 2010 +0100 @@ -831,6 +831,57 @@ { 0x4540, KEY_RECORD }, /* Font 'Size' for Teletext */ { 0x4541, KEY_SCREEN }, /* Full screen toggle, 'Hold' for Teletext */ { 0x4542, KEY_SELECT }, /* Select video input, 'Select' for Teletext */ + + /* Key codes for the Terratec Cinergy T USB XXS remote, copied from rc-nec-terratec-cinergy-xs.c + set dvb_usb_dib0700_ir_proto=0 */ + { 0x1401, KEY_POWER2 }, + { 0x1402, KEY_1 }, + { 0x1403, KEY_2 }, + { 0x1404, KEY_3 }, + { 0x1405, KEY_4 }, + { 0x1406, KEY_5 }, + { 0x1407, KEY_6 }, + { 0x1408, KEY_7 }, + { 0x1409, KEY_8 }, + { 0x140a, KEY_9 }, + { 0x140b, KEY_TUNER }, /* AV */ + { 0x140c, KEY_0 }, + { 0x140d, KEY_MODE }, /* A.B, alternatively match to KEY_AB? */ + { 0x140f, KEY_EPG }, /* EPG / GUIDE */ + { 0x1410, KEY_UP }, + { 0x1411, KEY_LEFT }, + { 0x1412, KEY_OK }, + { 0x1413, KEY_RIGHT }, + { 0x1414, KEY_DOWN }, + { 0x1416, KEY_INFO }, + { 0x1417, KEY_RED }, + { 0x1418, KEY_GREEN }, + { 0x1419, KEY_YELLOW }, + { 0x141a, KEY_BLUE }, + { 0x141b, KEY_CHANNELUP }, + { 0x141c, KEY_VOLUMEUP }, + { 0x141d, KEY_MUTE }, + { 0x141e, KEY_VOLUMEDOWN }, + { 0x141f, KEY_CHANNELDOWN }, + { 0x1440, KEY_PAUSE }, + { 0x1441, KEY_HOME }, + { 0x1442, KEY_MENU }, + { 0x1443, KEY_SUBTITLE }, + { 0x1444, KEY_TEXT }, + { 0x1445, KEY_DELETE }, + { 0x1446, KEY_TV }, + { 0x1447, KEY_DVD }, + { 0x1448, KEY_STOP }, + { 0x1449, KEY_VIDEO }, + { 0x144a, KEY_RADIO }, /* Music */ + { 0x144b, KEY_CAMERA }, /* Pic */ + { 0x144c, KEY_PLAY }, + { 0x144d, KEY_BACKSPACE }, + { 0x144e, KEY_REWIND }, + { 0x144f, KEY_FASTFORWARD }, + { 0x1454, KEY_LAST }, + { 0x1458, KEY_RECORD }, + { 0x145c, KEY_NEXT }, }; /* STK7700P: Hauppauge Nova-T Stick, AVerMedia Volar */