From: "André AUZI" <aauzi@users.sourceforge.net>
To: video4linux-list@redhat.com
Subject: PATCH: Add remote control support for ITEMS ITV-301 PCI Stereo TV Tuner [2/2]
Date: Mon, 12 May 2008 23:06:02 +0200 [thread overview]
Message-ID: <4828B13A.4070606@users.sourceforge.net> (raw)
Hi list,
here's the second patch which adds the remote control support for the
mentioned card.
Regards,
Andre
# HG changeset patch
# User Andre Auzi <aauzi@users.sourceforge.net>
# Date 1210624981 -7200
# Node ID e8de7c0a8b65064815782f2d655fbb5c4092bc94
# Parent 73ccafbb571a2678f115635339e540a97c301e5f
Add remote control support for ITEMS ITV-301 PCI Stereo TV Tuner
From: Andre Auzi <aauzi@users.sourceforge.net>
Signed-off-by: Andre Auzi <aauzi@users.sourceforge.net>
diff -r 73ccafbb571a -r e8de7c0a8b65
linux/drivers/media/video/saa7134/saa7134-cards.c
--- a/linux/drivers/media/video/saa7134/saa7134-cards.c Mon May 12
22:08:59 2008 +0200
+++ b/linux/drivers/media/video/saa7134/saa7134-cards.c Mon May 12
22:43:01 2008 +0200
@@ -5697,6 +5697,7 @@ int saa7134_board_init1(struct saa7134_d
case SAA7134_BOARD_BEHOLD_505FM:
case SAA7134_BOARD_BEHOLD_507_9FM:
case SAA7134_BOARD_GENIUS_TVGO_A11MCE:
+ case SAA7134_BOARD_ITEMS_ITV301:
dev->has_remote = SAA7134_REMOTE_GPIO;
break;
case SAA7134_BOARD_FLYDVBS_LR300:
diff -r 73ccafbb571a -r e8de7c0a8b65
linux/drivers/media/video/saa7134/saa7134-input.c
--- a/linux/drivers/media/video/saa7134/saa7134-input.c Mon May 12
22:08:59 2008 +0200
+++ b/linux/drivers/media/video/saa7134/saa7134-input.c Mon May 12
22:43:01 2008 +0200
@@ -423,6 +423,18 @@ int saa7134_input_init1(struct saa7134_d
mask_keydown = 0xf00000;
polling = 50; /* ms */
break;
+ case SAA7134_BOARD_ITEMS_ITV301:
+ ir_codes = ir_codes_manli;
+ mask_keycode = 0x00001f00;
+ mask_keyup = 0x00004000;
+ polling = 12; /* ms : has to be fast enough to
sample auto
+ * repeat sequences - Nyquist and
Shannon
+ * said so (or something quite similar).
+ * We must trust them.
+ * Tuned to have at minimun one no
change
+ * for each key state when auto
repeat is
+ * active.
+ */
}
if (NULL == ir_codes) {
printk("%s: Oops: IR config error [card=%d]\n",
--
video4linux-list mailing list
Unsubscribe mailto:video4linux-list-request@redhat.com?subject=unsubscribe
https://www.redhat.com/mailman/listinfo/video4linux-list
reply other threads:[~2008-05-12 21:06 UTC|newest]
Thread overview: [no followups] expand[flat|nested] mbox.gz Atom feed
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=4828B13A.4070606@users.sourceforge.net \
--to=aauzi@users.sourceforge.net \
--cc=video4linux-list@redhat.com \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox