Re: support for WinFast DTV1800 H

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 




Hi,

Just wondering whether anyone else has had any experience trying to get the WinFast DTV1800 H  card to work? Or has any advice on how to do so?

I'm happy to have a go at implementing support for this card (hopefully in some ways it is fairly similar to the DTV1000, although it has analogue tuners too...), but could do with some pointers of where to start.

Cheers,
Jono

Some info about the card (please ask if there is some other info I can get) -

Homepage:
http://www.leadtek.com/usa/tv_tuner/overview.asp?lineid=6&pronameid=315


"lspci -v" output:

04:03.0 Multimedia video controller: Conexant CX23880/1/2/3 PCI Video and Audio Decoder (rev 05)
        Subsystem: LeadTek Research Inc. Unknown device 6654
        Flags: bus master, medium devsel, latency 32, IRQ 23
        Memory at dc000000 (32-bit, non-prefetchable) [size=16M]
        Capabilities: [44] Vital Product Data
        Capabilities: [4c] Power Management version 2

04:03.1 Multimedia controller: Conexant CX23880/1/2/3 PCI Video and Audio Decoder [Audio Port] (rev 05)
        Subsystem: LeadTek Research Inc. Unknown device 6654
        Flags: bus master, medium devsel, latency 32, IRQ 23
        Memory at db000000 (32-bit, non-prefetchable) [size=16M]
        Capabilities: [4c] Power Management version 2

04:03.2 Multimedia controller: Conexant CX23880/1/2/3 PCI Video and Audio Decoder [MPEG Port] (rev 05)
        Subsystem: LeadTek Research Inc. Unknown device 6654
        Flags: bus master, medium devsel, latency 32, IRQ 23
        Memory at da000000 (32-bit, non-prefetchable) [size=16M]
        Capabilities: [4c] Power Management version 2







I have perhaps got a little further, see my additions to dvb source ("hg diff") below, and corresponding "/var/log/messages" after "make install" and reboot...  maybe someone can help me from here?

A question I have is: do the "inputs" in the code below correspond to physical inputs on the back of the card? The names suggest this, but maybe I'm wrong...

I'm not sure about the tuner type either - it was just a guess, based on the fact that the tuner must be able to decode analogue and digital signals, since the card supports both.


Cheers,
Jono

"hg diff":

diff -r 5cd49ffd9004 linux/drivers/media/video/cx88/cx88-cards.c
--- a/linux/drivers/media/video/cx88/cx88-cards.c       Sat May 26 10:45:28 2007 -0300
+++ b/linux/drivers/media/video/cx88/cx88-cards.c       Sun May 27 22:08:28 2007 +0800
@@ -895,6 +895,38 @@ struct cx88_board cx88_boards[] = {
                }},
                .mpeg           = CX88_MPEG_DVB,
        },
+       [CX88_BOARD_WINFAST_DTV1800] = {
+               .name           = "WinFast DTV1800-H",
+               .tuner_type     = TUNER_PHILIPS_FM1216ME_MK3,
+               //      .tuner_type     = TUNER_ABSENT,
+               .radio_type     = UNSET,
+               .tuner_addr     = ADDR_UNSET,
+               .radio_addr     = ADDR_UNSET,
+               /*
+               .input          = {{
+                       .type   = CX88_VMUX_DVB,
+                       .vmux   = 0,
+               },{
+                       .type   = CX88_VMUX_COMPOSITE1,
+                       .vmux   = 1,
+               },{
+                       .type   = CX88_VMUX_SVIDEO,
+                       .vmux   = 2,
+               }},
+               */
+               .input          = {{
+                       .type   = CX88_VMUX_TELEVISION,
+                       .vmux   = 0,
+               },{
+                       .type   = CX88_VMUX_COMPOSITE1,
+                       .vmux   = 1,
+               },{
+                       .type   = CX88_VMUX_SVIDEO,
+                       .vmux   = 2,
+               }},
+               .mpeg           = CX88_MPEG_DVB,
+       },
        [CX88_BOARD_AVERTV_303] = {
                .name           = "AVerTV 303 (M126)",
                .tuner_type     = TUNER_PHILIPS_FM1216ME_MK3,
@@ -1531,6 +1563,10 @@ struct cx88_subid cx88_subids[] = {
                .subvendor = 0x107d,
                .subdevice = 0x665f,
                .card      = CX88_BOARD_WINFAST_DTV1000,
+       },{
+               .subvendor = 0x107d,
+               .subdevice = 0x6654,
+               .card      = CX88_BOARD_WINFAST_DTV1800,
        },{
                .subvendor = 0x1461,
                .subdevice = 0x000a,
diff -r 5cd49ffd9004 linux/drivers/media/video/cx88/cx88-dvb.c
--- a/linux/drivers/media/video/cx88/cx88-dvb.c Sat May 26 10:45:28 2007 -0300
+++ b/linux/drivers/media/video/cx88/cx88-dvb.c Sun May 27 14:00:15 2007 +0800
@@ -394,6 +394,7 @@ static int dvb_register(struct cx8802_de
        case CX88_BOARD_CONEXANT_DVB_T1:
        case CX88_BOARD_KWORLD_DVB_T_CX22702:
        case CX88_BOARD_WINFAST_DTV1000:
+       case CX88_BOARD_WINFAST_DTV1800:
                dev->dvb.frontend = dvb_attach(cx22702_attach,
                                               &connexant_refboard_config,
                                               &dev->core->i2c_adap);
diff -r 5cd49ffd9004 linux/drivers/media/video/cx88/cx88.h
--- a/linux/drivers/media/video/cx88/cx88.h     Sat May 26 10:45:28 2007 -0300
+++ b/linux/drivers/media/video/cx88/cx88.h     Sun May 27 13:40:45 2007 +0800
@@ -213,6 +213,7 @@ extern struct sram_channel cx88_sram_cha
 #define CX88_BOARD_TE_DTV_250_OEM_SWANN    55
 #define CX88_BOARD_HAUPPAUGE_HVR1300       56
 #define CX88_BOARD_ADSTECH_PTV_390         57
+#define CX88_BOARD_WINFAST_DTV1800         58

 enum cx88_itype {
        CX88_VMUX_COMPOSITE1 = 1,



/var/log/messages:

May 28 07:15:44 ditdot kernel: [   23.745499] Linux video capture interface: v2.00
May 28 07:15:44 ditdot kernel: [   23.855986] cx2388x v4l2 driver version 0.0.6 loaded
May 28 07:15:44 ditdot kernel: [   23.856070] ACPI: PCI Interrupt 0000:04:03.0[A] -> GSI 17 (level, low) -> IRQ 23
May 28 07:15:44 ditdot kernel: [   23.856109] CORE cx88[0]: subsystem: 107d:6654, board: WinFast DTV1800-H [card=58,autodetected]
May 28 07:15:44 ditdot kernel: [   23.856111] TV tuner 38 at 0x1fe, Radio tuner -1 at 0x1fe
May 28 07:15:44 ditdot kernel: [   23.866939] parport: PnPBIOS parport detected.
May 28 07:15:44 ditdot kernel: [   23.867014] parport0: PC-style at 0x378 (0x778), irq 7, dma 3 [PCSPP,TRISTATE,COMPAT,ECP,DMA]
May 28 07:15:44 ditdot kernel: [   23.890608] cx2388x cx88-mpeg Driver Manager version 0.0.6 loaded
May 28 07:15:44 ditdot kernel: [   23.935058] cx2388x alsa driver version 0.0.6 loaded
May 28 07:15:44 ditdot kernel: [   24.021947] cx88[0]/0: found at 0000:04:03.0, rev: 5, irq: 23, latency: 32, mmio: 0xdc000000
May 28 07:15:44 ditdot kernel: [   24.049470] tuner 1-0061: chip found @ 0xc2 (cx88[0])
May 28 07:15:44 ditdot kernel: [   24.049522] tuner 1-0061: type set to 38 (Philips PAL/SECAM multi (FM1216ME MK3))
May 28 07:15:44 ditdot kernel: [   24.049525] tuner 1-0061: type set to 38 (Philips PAL/SECAM multi (FM1216ME MK3))
May 28 07:15:44 ditdot kernel: [   24.062885] cx88[0]/0: registered device video0 [v4l2]
May 28 07:15:44 ditdot kernel: [   24.062910] cx88[0]/0: registered device vbi0
May 28 07:15:44 ditdot kernel: [   24.064029] cx88[0]/2: cx2388x 8802 Driver Manager
May 28 07:15:44 ditdot kernel: [   24.064055] ACPI: PCI Interrupt 0000:04:03.2[A] -> GSI 17 (level, low) -> IRQ 23
May 28 07:15:44 ditdot kernel: [   24.064065] cx88[0]/2: found at 0000:04:03.2, rev: 5, irq: 23, latency: 32, mmio: 0xda000000
May 28 07:15:44 ditdot kernel: [   24.064837] ACPI: PCI Interrupt 0000:04:03.1[A] -> GSI 17 (level, low) -> IRQ 23
May 28 07:15:44 ditdot kernel: [   24.064866] cx88[0]/1: CX88x/0: ALSA support for cx2388x boards
May 28 07:15:44 ditdot kernel: [   24.084915] ACPI: PCI Interrupt 0000:80:01.0[A] -> GSI 17 (level, low) -> IRQ 23
May 28 07:15:44 ditdot kernel: [   24.173335] cx2388x dvb driver version 0.0.6 loaded
May 28 07:15:44 ditdot kernel: [   24.173341] cx8802_register_driver() ->registering driver type=dvb access=shared
May 28 07:15:44 ditdot kernel: [   24.173345] CORE cx88[0]: subsystem: 107d:6654, board: WinFast DTV1800-H [card=58]
May 28 07:15:44 ditdot kernel: [   24.173348] cx88[0]/2: cx2388x based dvb card
May 28 07:15:44 ditdot kernel: [   24.220319] cx22702_readreg: readreg error (ret == -121)
May 28 07:15:44 ditdot kernel: [   24.220363] cx88[0]: frontend initialization failed
May 28 07:15:44 ditdot kernel: [   24.220366] cx8802_dvb_probe dvb_register failed err = -1
May 28 07:15:44 ditdot kernel: [   24.373937] input: ImPS/2 Logitech Wheel Mouse as /class/input/input3
May 28 07:15:44 ditdot kernel: [   24.532882] lp0: using parport0 (interrupt-driven).
May 28 07:15:44 ditdot kernel: [   24.542022] cx2388x dvb driver version 0.0.6 loaded
May 28 07:15:44 ditdot kernel: [   24.542027] cx8802_register_driver() ->registering driver type=dvb access=shared
May 28 07:15:44 ditdot kernel: [   24.542030] CORE cx88[0]: subsystem: 107d:6654, board: WinFast DTV1800-H [card=58]
May 28 07:15:44 ditdot kernel: [   24.542088] cx88[0]/2: cx2388x based dvb card
May 28 07:15:44 ditdot kernel: [   24.543082] cx22702_readreg: readreg error (ret == -121)
May 28 07:15:44 ditdot kernel: [   24.543118] cx88[0]: frontend initialization failed
May 28 07:15:44 ditdot kernel: [   24.543120] cx8802_dvb_probe dvb_register failed err = -1

_______________________________________________
linux-dvb mailing list
linux-dvb@xxxxxxxxxxx
http://www.linuxtv.org/cgi-bin/mailman/listinfo/linux-dvb

[Index of Archives]     [Linux Media]     [Video 4 Linux]     [Asterisk]     [Samba]     [Xorg]     [Xfree86]     [Linux USB]

  Powered by Linux