Hello, I've patched the cx88 driver to add the KWorld DVB-t card to it. Though the analogue inputs worked under the original as a generic/unknown card, this adds it as a specific device with a correct description of the inputs. I haven't done anything towards getting DVB out fo this card yet as I don't have any documentation for the cx23883 chip. Does anyone know where I can get this documentation from? I've attached two files, one is the start-up script I use to initialise the card in analogue mode, the second contains the diffs. Regards, Soyeb ===== email: soyeb@btinternet.com www: http://soyeb.homeip.net work: http://www.tertio.com )
Attachment:
setupTV
Description: setupTV
--- cx88-0.0.4.orig/cx88.h 2004-04-21 12:42:02.000000000 +0100 +++ cx88-0.0.4/cx88.h 2004-06-30 00:31:49.722770528 +0100 @@ -141,6 +141,7 @@ #define CX88_BOARD_MSI_TVANYWHERE 7 #define CX88_BOARD_WINFAST_DV2000 8 #define CX88_BOARD_LEADTEK_PVR2000 9 +#define CX88_BOARD_KWORLD_DVBT 10 enum cx88_itype { @@ -150,8 +151,10 @@ CX88_VMUX_COMPOSITE4 = 4, CX88_VMUX_TELEVISION = 5, CX88_VMUX_SVIDEO = 6, - CX88_VMUX_DEBUG = 7, - CX88_RADIO = 8, + CX88_VMUX_DVB = 7, + CX88_VMUX_DEBUG = 9, + CX88_VMUX_UNUSED = 10, + CX88_RADIO = 11, }; struct cx88_input { --- cx88-0.0.4.orig/cx88-video.c 2004-04-15 11:39:34.000000000 +0100 +++ cx88-0.0.4/cx88-video.c 2004-06-30 00:33:25.164261216 +0100 @@ -1636,7 +1636,9 @@ [ CX88_VMUX_COMPOSITE4 ] = "Composite4", [ CX88_VMUX_TELEVISION ] = "Television", [ CX88_VMUX_SVIDEO ] = "S-Video", + [ CX88_VMUX_DVB ] = "DVB", [ CX88_VMUX_DEBUG ] = "for debug only", + [ CX88_VMUX_UNUSED ] = "unused input", }; struct v4l2_input *i = arg; unsigned int n; --- cx88-0.0.4.orig/cx88-cards.c 2004-04-19 14:31:41.000000000 +0100 +++ cx88-0.0.4/cx88-cards.c 2004-06-30 00:32:23.729600704 +0100 @@ -200,6 +200,23 @@ .type = CX88_RADIO, }, }, + [CX88_BOARD_KWORLD_DVBT] = { + .name = "KWorld/VStream XPert DVB-t", + .tuner_type = UNSET, + .input = {{ + .type = CX88_VMUX_DVB, + .vmux = 0, + },{ + .type = CX88_VMUX_COMPOSITE1, + .vmux = 1, + },{ + .type = CX88_VMUX_SVIDEO, + .vmux = 2, + },{ + .type = CX88_VMUX_UNUSED, + .vmux = 3, + }}, + }, }; @@ -257,6 +274,10 @@ .subvendor = 0x1462, .subdevice = 0x8606, .card = CX88_BOARD_MSI_TVANYWHERE, + },{ + .subvendor = 0x17de, + .subdevice = 0x08a6, + .card = CX88_BOARD_KWORLD_DVBT, } }; const unsigned int cx88_idcount = ARRAY_SIZE(cx88_subids);