V4L (0990): Enable IR support for the Nova-S-Plus
authorSteven Toth <stoth@hauppauge.com>
Mon, 9 Jan 2006 17:25:02 +0000 (15:25 -0200)
committerMauro Carvalho Chehab <mchehab@brturbo.com.br>
Mon, 9 Jan 2006 17:25:02 +0000 (15:25 -0200)
- Enable IR support for the Nova-S-Plus.

Signed-off-by: Steven Toth <stoth@hauppauge.com>
Signed-off-by: Michael Krufky <mkrufky@m1k.net>
Signed-off-by: Mauro Carvalho Chehab <mchehab@brturbo.com.br>
Documentation/video4linux/CARDLIST.cx88
drivers/media/video/cx88/cx88-cards.c
drivers/media/video/cx88/cx88-input.c

index ba269e6f3410ceb6aa481b93c1c03c7f43b4afae..739a343e5275aac1ee4fd3598e052bb6664f545b 100644 (file)
@@ -35,5 +35,5 @@
  34 -> ATI HDTV Wonder                                     [1002:a101]
  35 -> WinFast DTV1000-T                                   [107d:665f]
  36 -> AVerTV 303 (M126)                                   [1461:000a]
- 37 -> Hauppauge Nova-S-Plus DVB-S                         [0070:9200]
- 38 -> Hauppauge Nova-SE2 DVB-S                            [0070:9202]
+ 37 -> Hauppauge Nova-S-Plus DVB-S                         [0070:9201,0070:9202]
+ 38 -> Hauppauge Nova-SE2 DVB-S                            [0070:9200]
index d738ea8c6f5e3a6970480183115bb363f5b8d9be..1976e04d8ace15a1d6616f514bfc3ba5568295a9 100644 (file)
@@ -1078,11 +1078,15 @@ struct cx88_subid cx88_subids[] = {
        },{
                .subvendor = 0x0070,
                .subdevice = 0x9200,
+               .card      = CX88_BOARD_HAUPPAUGE_NOVASE2_S1,
+       },{
+               .subvendor = 0x0070,
+               .subdevice = 0x9201,
                .card      = CX88_BOARD_HAUPPAUGE_NOVASPLUS_S1,
        },{
                .subvendor = 0x0070,
                .subdevice = 0x9202,
-               .card      = CX88_BOARD_HAUPPAUGE_NOVASE2_S1,
+               .card      = CX88_BOARD_HAUPPAUGE_NOVASPLUS_S1,
        },
 };
 const unsigned int cx88_idcount = ARRAY_SIZE(cx88_subids);
index 461019dca90101262f502c6dc44dcfea45882b27..d7e9813384d86030764c1c9aca965b85eff71bf8 100644 (file)
@@ -388,6 +388,8 @@ int cx88_ir_init(struct cx88_core *core, struct pci_dev *pci)
                break;
        case CX88_BOARD_HAUPPAUGE:
        case CX88_BOARD_HAUPPAUGE_DVB_T1:
+       case CX88_BOARD_HAUPPAUGE_NOVASE2_S1:
+       case CX88_BOARD_HAUPPAUGE_NOVASPLUS_S1:
                ir_codes = ir_codes_hauppauge_new;
                ir_type = IR_TYPE_RC5;
                ir->sampling = 1;
@@ -567,6 +569,8 @@ void cx88_ir_irq(struct cx88_core *core)
                break;
        case CX88_BOARD_HAUPPAUGE:
        case CX88_BOARD_HAUPPAUGE_DVB_T1:
+       case CX88_BOARD_HAUPPAUGE_NOVASE2_S1:
+       case CX88_BOARD_HAUPPAUGE_NOVASPLUS_S1:
                ircode = ir_decode_biphase(ir->samples, ir->scount, 5, 7);
                ir_dprintk("biphase decoded: %x\n", ircode);
                if ((ircode & 0xfffff000) != 0x3000)