From patchwork Tue Jun 22 14:10:02 2010 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Mario Latronico X-Patchwork-Id: 107395 Received: from vger.kernel.org (vger.kernel.org [209.132.180.67]) by demeter.kernel.org (8.14.4/8.14.3) with ESMTP id o5MEA9fs004695 for ; Tue, 22 Jun 2010 14:10:09 GMT Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1758361Ab0FVOKH (ORCPT ); Tue, 22 Jun 2010 10:10:07 -0400 Received: from n22.bullet.mail.ukl.yahoo.com ([87.248.110.139]:48013 "HELO n22.bullet.mail.ukl.yahoo.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with SMTP id S1754236Ab0FVOKF convert rfc822-to-8bit (ORCPT ); Tue, 22 Jun 2010 10:10:05 -0400 Received: from [217.146.182.178] by n22.bullet.mail.ukl.yahoo.com with NNFMP; 22 Jun 2010 14:10:03 -0000 Received: from [87.248.111.148] by t4.bullet.ukl.yahoo.com with NNFMP; 22 Jun 2010 14:10:03 -0000 Received: from [127.0.0.1] by omp205.mail.ukl.yahoo.com with NNFMP; 22 Jun 2010 14:10:03 -0000 X-Yahoo-Newman-Property: ymail-3 X-Yahoo-Newman-Id: 672539.49597.bm@omp205.mail.ukl.yahoo.com Received: (qmail 26003 invoked by uid 60001); 22 Jun 2010 14:10:03 -0000 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=yahoo.it; s=s1024; t=1277215803; bh=RrbyXVhdDBioUW3iqbKDdTrY8k6J4Czvk2grh9BOaps=; h=Message-ID:X-YMail-OSG:Received:X-Mailer:Date:From:Subject:To:MIME-Version:Content-Type:Content-Transfer-Encoding; b=g6Ba0A4Dfy7giypJjK6WPNvMzKbzBQ56bzd5dampoSPAZ7gjq9CBx20C12Gak6ow8MJdHN998CrbcqLWnjC+NKoZEaWxm+ygqf3UnCSHWpXZ5IwPaoJ9KZHfBHY22Qogqm5ynODKTYa8lLL16uYTszSXIF2tn+wD85kmlwCulxg= DomainKey-Signature: a=rsa-sha1; q=dns; c=nofws; s=s1024; d=yahoo.it; h=Message-ID:X-YMail-OSG:Received:X-Mailer:Date:From:Subject:To:MIME-Version:Content-Type:Content-Transfer-Encoding; b=hbSx4KPamkxBAfy2Pkj10jg8zMghkjlYO8eusUazDmitRFbxGvgz7+3LYNCAmx4FT6OzVSjVQjH5CEUjjdVorHKACXRe8MyW0s6zbTDn5uqEkWt2AbWGgcFTqBb/T7d1DCmhcp9uPXmCxiE5xj1TVov5ITZe2WGlab3SF5P4GIo=; Message-ID: <138349.20974.qm@web28213.mail.ukl.yahoo.com> X-YMail-OSG: dqaG_4oVM1micSjOCHO2aer3ANLkRzupZR5CtNuK5FYkNUe YXdoqVmD6jTKeuFnFRpEattKzB1IEz_qGQthoPiYWrRUmnkBW0XcdgQH9Si9 VQPj2HU2sNjr9QokXGSsQaamtOFrvJ55IoezZ_gyf1.tYn6AN2jTn93Vo2Pr D63Cs_4sBCfIgRYa0e0AoloeNrviaFIMLx5p7fx7GgHGJJ6G_u1dmernP7gw 6WE2MO9taYvXzsVc- Received: from [89.96.48.225] by web28213.mail.ukl.yahoo.com via HTTP; Tue, 22 Jun 2010 07:10:02 PDT X-Mailer: YahooMailRC/397.8 YahooMailWebService/0.8.103.269680 Date: Tue, 22 Jun 2010 07:10:02 -0700 (PDT) From: Mario Latronico Subject: remote not working for Hauppauge HVR 1120 To: linux-media@vger.kernel.org MIME-Version: 1.0 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.3 (demeter.kernel.org [140.211.167.41]); Tue, 22 Jun 2010 14:10:10 +0000 (UTC) diff -r eb3a7341a233 linux/drivers/media/video/saa7134/saa7134-cards.c --- a/linux/drivers/media/video/saa7134/saa7134-cards.c Wed May 26 11:58:10 2010 -0300 +++ b/linux/drivers/media/video/saa7134/saa7134-cards.c Tue Jun 22 16:01:41 2010 +0200 @@ -7171,6 +7171,7 @@ saa7134_set_gpio(dev, 22, 0); msleep(10); saa7134_set_gpio(dev, 22, 1); + dev->has_remote = SAA7134_REMOTE_I2C; break; /* i2c remotes */ case SAA7134_BOARD_PINNACLE_PCTV_110i: diff -r eb3a7341a233 linux/drivers/media/video/saa7134/saa7134-input.c --- a/linux/drivers/media/video/saa7134/saa7134-input.c Wed May 26 11:58:10 2010 -0300 +++ b/linux/drivers/media/video/saa7134/saa7134-input.c Tue Jun 22 16:01:41 2010 +0200 @@ -1081,6 +1081,19 @@ info.addr = 0x71; #endif break; + case SAA7134_BOARD_HAUPPAUGE_HVR1120: +#if LINUX_VERSION_CODE < KERNEL_VERSION(2, 6, 30) + snprintf(ir->c.name, sizeof(ir->c.name), "HVR 1120"); + ir->get_key = get_key_hvr1110; + ir->ir_codes = RC_MAP_HAUPPAUGE_NEW; +#else + dev->init_data.name = "HVR 1120"; + dev->init_data.get_key = get_key_hvr1110; + dev->init_data.ir_codes = RC_MAP_HAUPPAUGE_NEW; + info.addr = 0x71; + break; +#endif + case SAA7134_BOARD_BEHOLD_607FM_MK3: case SAA7134_BOARD_BEHOLD_607FM_MK5: case SAA7134_BOARD_BEHOLD_609FM_MK3: