public inbox for linux-media@vger.kernel.org
 help / color / mirror / Atom feed
* [PATCH] cx88: Add IR support to pcHDTV HD3000 & HD5500
@ 2009-03-01  1:29 Erik S. Beiser
  2009-03-04 22:24 ` Trent Piepho
  0 siblings, 1 reply; 4+ messages in thread
From: Erik S. Beiser @ 2009-03-01  1:29 UTC (permalink / raw)
  To: linux-media; +Cc: Mauro Carvalho Chehab

cx88: Add IR support to pcHDTV HD3000 & HD5500

Signed-off-by: Erik S. Beiser <erikb@bu.edu>

---

Idea originally from http://www.pchdtv.com/forum/viewtopic.php?t=1529
I made it into this small patch and added the HD3000 support also, which I have  I've actually
been using this for over a year, updating for new kernel versions.  I'm tired of doing so,
and would like to try and have it merged upstream -- I hope I got all the patch-mechanics
correct.  I just updated and tested it today on 2.6.28.7 vanilla.  Thanks.

--- linux/drivers/media/video/cx88/cx88-input.c.orig	2009-02-20 17:41:27.000000000 -0500
+++ linux/drivers/media/video/cx88/cx88-input.c	2009-02-28 15:58:34.000000000 -0500
@@ -226,6 +226,8 @@ int cx88_ir_init(struct cx88_core *core,
 	case CX88_BOARD_HAUPPAUGE_HVR3000:
 	case CX88_BOARD_HAUPPAUGE_HVR4000:
 	case CX88_BOARD_HAUPPAUGE_HVR4000LITE:
+	case CX88_BOARD_PCHDTV_HD3000:
+	case CX88_BOARD_PCHDTV_HD5500:
 		ir_codes = ir_codes_hauppauge_new;
 		ir_type = IR_TYPE_RC5;
 		ir->sampling = 1;
@@ -466,6 +468,8 @@ void cx88_ir_irq(struct cx88_core *core)
 	case CX88_BOARD_HAUPPAUGE_HVR3000:
 	case CX88_BOARD_HAUPPAUGE_HVR4000:
 	case CX88_BOARD_HAUPPAUGE_HVR4000LITE:
+	case CX88_BOARD_PCHDTV_HD3000:
+	case CX88_BOARD_PCHDTV_HD5500:
 		ircode = ir_decode_biphase(ir->samples, ir->scount, 5, 7);
 		ir_dprintk("biphase decoded: %x\n", ircode);
 		/*



^ permalink raw reply	[flat|nested] 4+ messages in thread

end of thread, other threads:[~2009-03-13  8:19 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2009-03-01  1:29 [PATCH] cx88: Add IR support to pcHDTV HD3000 & HD5500 Erik S. Beiser
2009-03-04 22:24 ` Trent Piepho
2009-03-06  3:23   ` Erik S. Beiser
2009-03-13  8:19     ` Trent Piepho

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox