From: Gerd Knorr <kraxel@bytesex.org>
To: Linus Torvalds <torvalds@osdl.org>, Andrew Morton <akpm@osdl.org>,
Kernel List <linux-kernel@vger.kernel.org>
Subject: [patch] bttv input update
Date: Wed, 10 Mar 2004 12:47:26 +0100 [thread overview]
Message-ID: <20040310114726.GA29785@bytesex.org> (raw)
Hi,
This patch adds infrared remote support for a few more bt878-based TV cards.
Gerd
diff -up linux-2.6.4-rc3/drivers/media/video/ir-kbd-gpio.c linux/drivers/media/video/ir-kbd-gpio.c
--- linux-2.6.4-rc3/drivers/media/video/ir-kbd-gpio.c 2004-03-10 09:52:44.264872030 +0100
+++ linux/drivers/media/video/ir-kbd-gpio.c 2004-03-10 09:55:37.226323606 +0100
@@ -279,14 +279,18 @@ static int ir_probe(struct device *dev)
switch (sub->core->type) {
case BTTV_AVERMEDIA:
case BTTV_AVPHONE98:
+ case BTTV_AVERMEDIA98:
ir_codes = ir_codes_avermedia;
ir->mask_keycode = 0xf80000;
ir->mask_keydown = 0x010000;
break;
- case BTTV_WINFAST2000:
- ir_codes = winfast_codes;
- ir->mask_keycode = 0x8f8;
- break;
+
+ case BTTV_PXELVWPLTVPAK:
+ ir_codes = ir_codes_pixelview;
+ ir->mask_keycode = 0x003e00;
+ ir->mask_keyup = 0x010000;
+ ir->polling = 50; // ms
+ break;
case BTTV_PV_BT878P_9B:
case BTTV_PV_BT878P_PLUS:
ir_codes = ir_codes_pixelview;
@@ -294,6 +298,17 @@ static int ir_probe(struct device *dev)
ir->mask_keyup = 0x008000;
ir->polling = 50; // ms
break;
+
+ case BTTV_WINFAST2000:
+ ir_codes = winfast_codes;
+ ir->mask_keycode = 0x8f8;
+ break;
+ case BTTV_MAGICTVIEW061:
+ case BTTV_MAGICTVIEW063:
+ ir_codes = winfast_codes;
+ ir->mask_keycode = 0x0008e000;
+ ir->mask_keydown = 0x00200000;
+ break;
}
if (NULL == ir_codes) {
kfree(ir);
--
Es geht darum, daß ein Haufen Scriptkiddies gerade dabei sind, USENET in
Bunt neu zu erfinden, und sie derzeit einen Haufen Fehler neu machen,
die schon seit 20 Jahren nicht mehr Gegenstand der Forschung sind.
-- Kristian Köhntopp über blogs und blogger
reply other threads:[~2004-03-10 12:20 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=20040310114726.GA29785@bytesex.org \
--to=kraxel@bytesex.org \
--cc=akpm@osdl.org \
--cc=linux-kernel@vger.kernel.org \
--cc=torvalds@osdl.org \
/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