From mboxrd@z Thu Jan 1 00:00:00 1970 Return-path: Received: from 216.14.233.220.exetel.com.au ([220.233.14.216] helo=mail.carbonaro.org) by www.linuxtv.org with esmtp (Exim 4.63) (envelope-from ) id 1KQhaO-0001Mi-5F for linux-dvb@linuxtv.org; Wed, 06 Aug 2008 13:53:50 +0200 Date: Wed, 6 Aug 2008 21:27:40 +1000 (EST) From: Mark Carbonaro To: stev391@email.com Message-ID: <14455742.01218023586338.JavaMail.mark@trogdor.carbonaro.org> In-Reply-To: <20080805213349.C350B1CE835@ws1-6.us4.outblaze.com> MIME-Version: 1.0 Cc: linux-dvb@linuxtv.org Subject: Re: [linux-dvb] [PATCH-TESTERS-REQUIRED] Leadtek Winfast PxDVR 3200 H - DVB Only support List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Content-Type: multipart/mixed; boundary="===============0473177061==" Mime-version: 1.0 Sender: linux-dvb-bounces@linuxtv.org Errors-To: linux-dvb-bounces+mchehab=infradead.org@linuxtv.org List-ID: --===============0473177061== Content-Type: multipart/alternative; boundary="----=_Part_0_8087063.1218023586329" ------=_Part_0_8087063.1218023586329 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit Hi Stephen, So far so good, once I loaded the firmware for the tuner it all started working. dvbscan was able to pick up the pids on the various channels and mythtv was also able to tune the channels although I had to enter the transports manually as I would end up with some transport frequencies being 0 (ABC, SBS & channel 9 seem to not scan automatically), but then I have that problem with my Dvico hd plus also. The signal strenth is a little low which is causing frequent breakups, but that could just be the antenna outlet I am using (at the end of a long cable run) or the hardware itself, but it is sufficent for testing. I have been messing around for a few hours now, tuning, watching tv for a bit changes channels all over the place and so far I haven't seen any issues. I have not been able to replicate the card not being autodetected issue that you mention, just works for me everytime. If I find any issues I will certainly post them, please let me know if you need me to do anything specific and thanks for your effort in getting this working. Mark ----- Original Message ----- From: stev391@email.com To: "Mark Carbonaro" , "Jonathan Hummel" Cc: stev391@email.com, linux-dvb@linuxtv.org Sent: Wednesday, 6 August, 2008 7:33:49 AM (GMT+1000) Auto-Detected Subject: Re: [PATCH-TESTERS-REQUIRED] Leadtek Winfast PxDVR 3200 H - DVB Only support Mark, Jon, The patches I made were not against the v4l-dvb tip that is referenced in Mark's email below. I did this on purpose because there is a small amount of refactoring (recoding to make it better) being performed by Steven Toth and others. To get the version I used for the patch download (This is for the first initial patch [you can tell it is this one as the patch file mentions cx23885-sram in the path]): http://linuxtv.org/hg/~stoth/cx23885-sram/archive/tip.tar.gz For the second patch that emailed less then 12 hours ago download this version of drivers: http://linuxtv.org/hg/~stoth/v4l-dvb/archive/tip.tar.gz and then apply my patch (this patch mentions v4l-dvb). This version is a cleanup of the previous and uses the generic callback function. Other then that you are heading in the correct direction... Do either of you have the same issue I have that when the computer is first turned on the autodetect card feature doesn't work due to subvendor sub product ids of 0000? Or is just a faulty card that I have? Regards, Stephen. ----- Original Message ----- From: "Mark Carbonaro" To: "Jonathan Hummel" Subject: Re: [PATCH-TESTERS-REQUIRED] Leadtek Winfast PxDVR 3200 H - DVB Only support Date: Tue, 5 Aug 2008 23:47:46 +1000 (EST) Hi Mark, Forgive my ignorance/ newbie-ness, but what do I do with that patch code below? is there a tutorial or howto or something somewhere that will introduce me to this. I have done some programming, but nothing of this level. cheers Jon ----- Original Message ----- From: "Jonathan Hummel" To: "Mark Carbonaro" Cc: stev391@email.com, linux-dvb@linuxtv.org Sent: Tuesday, 5 August, 2008 10:21:11 PM (GMT+1000) Auto-Detected Subject: Re: [PATCH-TESTERS-REQUIRED] Leadtek Winfast PxDVR 3200 H - DVB Only support Hi Jon, Not a problem at all, I'm new to this myself, below is what went through and I may not be doing it the right way either. So if anyone would like to point out what I am doing wrong I would really appreciate it. The file that I downloaded was called v4l-dvb-2bade2ed7ac8.tar.bz2 which I downloaded from http://linuxtv.org/hg/~stoth/v4l-dvb/archive/tip.tar.bz2, I also saved the patch to the same location as the download. The patch didn't apply for me, so I manually patched applied the patches and created a new diff that should hopefully work for you also (attached and inline below). From what I could see the offsets in Stephens patch were a little off for this code snapshot but otherwise it is all good. I ran the following using the attached diff... tar -xjf v4l-dvb-2bade2ed7ac8.tar.bz2 cd v4l-dvb-2bade2ed7ac8 patch -p1 < ../Leadtek.Winfast.PxDVR.3200.H.2.diff Once the patch was applied I was then able to build and install the modules as per the instructions in the INSTALL file. I ran the following... make all sudo make install >>From there I could load the modules and start testing. I hope this helps you get started. Regards, Mark diff -Naur v4l-dvb-2bade2ed7ac8/linux/Documentation/video4linux/CARDLIST.cx23885 v4l-dvb2/linux/Documentation/video4linux/CARDLIST.cx23885 --- v4l-dvb-2bade2ed7ac8/linux/Documentation/video4linux/CARDLIST.cx23885 2008-08-05 11:18:19.000000000 +1000 +++ v4l-dvb2/linux/Documentation/video4linux/CARDLIST.cx23885 2008-08-05 23:27:32.000000000 +1000 @@ -10,3 +10,4 @@ 9 -> Hauppauge WinTV-HVR1400 [0070:8010] 10 -> DViCO FusionHDTV7 Dual Express [18ac:d618] 11 -> DViCO FusionHDTV DVB-T Dual Express [18ac:db78] + 12 -> Leadtek Winfast PxDVR3200 H [107d:6681] diff -Naur v4l-dvb-2bade2ed7ac8/linux/drivers/media/video/cx23885/Kconfig v4l-dvb2/linux/drivers/media/video/cx23885/Kconfig --- v4l-dvb-2bade2ed7ac8/linux/drivers/media/video/cx23885/Kconfig 2008-08-05 11:18:19.000000000 +1000 +++ v4l-dvb2/linux/drivers/media/video/cx23885/Kconfig 2008-08-05 23:37:51.000000000 +1000 @@ -15,6 +15,7 @@ select DVB_S5H1409 if !DVB_FE_CUSTOMISE select DVB_S5H1411 if !DVB_FE_CUSTOMISE select DVB_LGDT330X if !DVB_FE_CUSTOMISE + select DVB_ZL10353 if !DVB_FE_CUSTOMISE select MEDIA_TUNER_XC2028 if !DVB_FE_CUSTOMIZE select MEDIA_TUNER_TDA8290 if !DVB_FE_CUSTOMIZE select MEDIA_TUNER_TDA18271 if !DVB_FE_CUSTOMIZE diff -Naur v4l-dvb-2bade2ed7ac8/linux/drivers/media/video/cx23885/cx23885-cards.c v4l-dvb2/linux/drivers/media/video/cx23885/cx23885-cards.c --- v4l-dvb-2bade2ed7ac8/linux/drivers/media/video/cx23885/cx23885-cards.c 2008-08-05 11:18:19.000000000 +1000 +++ v4l-dvb2/linux/drivers/media/video/cx23885/cx23885-cards.c 2008-08-05 23:41:40.000000000 +1000 @@ -155,6 +155,10 @@ .portb = CX23885_MPEG_DVB, .portc = CX23885_MPEG_DVB, }, + [CX23885_BOARD_LEADTEK_WINFAST_PXDVR3200_H] = { + .name = "Leadtek Winfast PxDVR3200 H", + .portc = CX23885_MPEG_DVB, + }, }; const unsigned int cx23885_bcount = ARRAY_SIZE(cx23885_boards); @@ -230,6 +234,10 @@ .subvendor = 0x18ac, .subdevice = 0xdb78, .card = CX23885_BOARD_DVICO_FUSIONHDTV_DVB_T_DUAL_EXP, + },{ + .subvendor = 0x107d, + .subdevice = 0x6681, + .card = CX23885_BOARD_LEADTEK_WINFAST_PXDVR3200_H, }, }; const unsigned int cx23885_idcount = ARRAY_SIZE(cx23885_subids); @@ -353,6 +361,10 @@ if (command == 0) bitmask = 0x04; break; + case CX23885_BOARD_LEADTEK_WINFAST_PXDVR3200_H: + /* Tuner Reset Command */ + bitmask = 0x00070404; + break; case CX23885_BOARD_DVICO_FUSIONHDTV_7_DUAL_EXP: case CX23885_BOARD_DVICO_FUSIONHDTV_DVB_T_DUAL_EXP: if (command == 0) { @@ -492,6 +504,15 @@ mdelay(20); cx_set(GP0_IO, 0x000f000f); break; + case CX23885_BOARD_LEADTEK_WINFAST_PXDVR3200_H: + /* GPIO-2 xc3028 tuner reset */ + /* Put the parts into reset and back */ + cx_set(GP0_IO, 0x00040000); + mdelay(20); + cx_clear(GP0_IO, 0x00000004); + mdelay(20); + cx_set(GP0_IO, 0x00040004); + break; } } @@ -579,6 +600,7 @@ case CX23885_BOARD_HAUPPAUGE_HVR1200: case CX23885_BOARD_HAUPPAUGE_HVR1700: case CX23885_BOARD_HAUPPAUGE_HVR1400: + case CX23885_BOARD_LEADTEK_WINFAST_PXDVR3200_H: default: ts2->gen_ctrl_val = 0xc; /* Serial bus + punctured clock */ ts2->ts_clk_en_val = 0x1; /* Enable TS_CLK */ @@ -592,6 +614,7 @@ case CX23885_BOARD_HAUPPAUGE_HVR1800: case CX23885_BOARD_HAUPPAUGE_HVR1800lp: case CX23885_BOARD_HAUPPAUGE_HVR1700: + case CX23885_BOARD_LEADTEK_WINFAST_PXDVR3200_H: request_module("cx25840"); break; } diff -Naur v4l-dvb-2bade2ed7ac8/linux/drivers/media/video/cx23885/cx23885-dvb.c v4l-dvb2/linux/drivers/media/video/cx23885/cx23885-dvb.c --- v4l-dvb-2bade2ed7ac8/linux/drivers/media/video/cx23885/cx23885-dvb.c 2008-08-05 11:18:19.000000000 +1000 +++ v4l-dvb2/linux/drivers/media/video/cx23885/cx23885-dvb.c 2008-08-05 23:37:03.000000000 +1000 @@ -37,6 +37,7 @@ #include "tda8290.h" #include "tda18271.h" #include "lgdt330x.h" +#include "zl10353.h" #include "xc5000.h" #include "tda10048.h" #include "tuner-xc2028.h" @@ -502,6 +503,32 @@ } break; } + case CX23885_BOARD_LEADTEK_WINFAST_PXDVR3200_H: + i2c_bus = &dev->i2c_bus[0]; + + port->dvb.frontend = dvb_attach(zl10353_attach, + &dvico_fusionhdtv_xc3028, + &i2c_bus->i2c_adap); + if (port->dvb.frontend != NULL) { + struct dvb_frontend *fe; + struct xc2028_config cfg = { + .i2c_adap = &dev->i2c_bus[1].i2c_adap, + .i2c_addr = 0x61, + .video_dev = port, + .callback = cx23885_tuner_callback, + }; + static struct xc2028_ctrl ctl = { + .fname = "xc3028-v27.fw", + .max_len = 64, + .demod = XC3028_FE_ZARLINK456, + }; + + fe = dvb_attach(xc2028_attach, port->dvb.frontend, + &cfg); + if (fe != NULL && fe->ops.tuner_ops.set_config != NULL) + fe->ops.tuner_ops.set_config(fe, &ctl); + } + break; default: printk("%s: The frontend of your DVB/ATSC card isn't supported yet\n", dev->name); diff -Naur v4l-dvb-2bade2ed7ac8/linux/drivers/media/video/cx23885/cx23885.h v4l-dvb2/linux/drivers/media/video/cx23885/cx23885.h --- v4l-dvb-2bade2ed7ac8/linux/drivers/media/video/cx23885/cx23885.h 2008-08-05 11:18:19.000000000 +1000 +++ v4l-dvb2/linux/drivers/media/video/cx23885/cx23885.h 2008-08-05 23:37:33.000000000 +1000 @@ -66,6 +66,7 @@ #define CX23885_BOARD_HAUPPAUGE_HVR1400 9 #define CX23885_BOARD_DVICO_FUSIONHDTV_7_DUAL_EXP 10 #define CX23885_BOARD_DVICO_FUSIONHDTV_DVB_T_DUAL_EXP 11 +#define CX23885_BOARD_LEADTEK_WINFAST_PXDVR3200_H 12 /* Currently unsupported by the driver: PAL/H, NTSC/Kr, SECAM B/G/H/LC */ #define CX23885_NORMS (\ << Leadtek.Winfast.PxDVR.3200.H.2.diff >> -- Be Yourself @ mail.com! Choose From 200+ Email Addresses Get a Free Account at www.mail.com ! ------=_Part_0_8087063.1218023586329 Content-Type: text/html; charset=utf-8 Content-Transfer-Encoding: quoted-printable <= div style=3D'font-family: Times New Roman; font-size: 12pt; color: #000000'= >Hi Stephen,

So far so good, once I loaded the firmware for the tune= r it all started working.  dvbscan was able to pick up the pids on the= various channels and mythtv was also able to tune the channels although I = had to enter the transports manually as I would end up with some transport = frequencies being 0 (ABC, SBS & channel 9 seem to not scan automaticall= y), but then I have that problem with my Dvico hd plus also.

The sig= nal strenth is a little low which is causing frequent breakups, but that co= uld just be the antenna outlet I am using (at the end of a long cable run) = or the hardware itself, but it is sufficent for testing.

I have been= messing around for a few hours now, tuning, watching tv for a bit changes = channels all over the place and so far I haven't seen any issues.  I h= ave not been able to replicate the card not being autodetected issue that y= ou mention, just works for me everytime.

If I find any issues I will= certainly post them, please let me know if you need me to do anything spec= ific and thanks for your effort in getting this working.

Mark
----- Original Message -----
From: stev391@email.com
To: "Mark Carbo= naro" <mark@carbonaro.org>, "Jonathan Hummel" <jhhummel@bigpond.co= m>
Cc: stev391@email.com, linux-dvb@linuxtv.org
Sent: Wednesday, 6= August, 2008 7:33:49 AM (GMT+1000) Auto-Detected
Subject: Re: [PATCH-TE= STERS-REQUIRED] Leadtek Winfast PxDVR 3200 H - DVB Only support

Mark, Jon,

The patches I made were not against the v4l-dvb tip that = is referenced in Mark's email below.  I did this on purpose because th= ere is a small amount of refactoring (recoding to make it better) being per= formed by Steven Toth and others.

To get the version I used for the = patch download (This is for the first initial patch [you can tell it is thi= s one as the patch file mentions cx23885-sram in the path]):
http://linu= xtv.org/hg/~stoth/cx23885-sram/archive/tip.tar.gz

For the second pat= ch that emailed less then 12 hours ago download this version of drivers:http://linuxtv.org/hg/~stoth/v4l-dvb/archive/tip.tar.gz
and then apply = my patch (this patch mentions v4l-dvb). This version is a cleanup of the pr= evious and uses the generic callback function.

Other then that you a= re heading in the correct direction...

Do either of you have the sam= e issue I have that when the computer is first turned on the autodetect car= d feature doesn't work due to subvendor sub product ids of 0000? Or is just= a faulty card that I have?

Regards,

Stephen.
----- Original Message -----
From: "Mark Carbonaro"
To: "Jonathan Hummel"
Subject: Re: [PATCH-TESTERS-REQUIRED] Leadtek Winfast PxDVR 3200 H - DVB On= ly support
Date: Tue, 5 Aug 2008 23:47:46 +1000 (EST)


Hi Mark,

Forgive my ignorance/ newbie-ness, but what do I do with that patch code below? is there a tutorial or howto or something somewhere that will
introduce me to this. I have done some programming, but nothing of this
level.

cheers

Jon

----- Original Message -----
From: "Jonathan Hummel"
To: "Mark Carbonaro"
Cc: stev391@email.com, linux-dvb@linuxtv.org
Sent: Tuesday, 5 August, 2008 10:21:11 PM (GMT+1000) Auto-Detected
Subject: Re: [PATCH-TESTERS-REQUIRED] Leadtek Winfast PxDVR 3200 H
- DVB Only support

Hi Jon,

Not a problem at all, I'm new to this myself, below is what went
through and I may not be doing it the right way either. So if
anyone would like to point out what I am doing wrong I would really
appreciate it.

The file that I downloaded was called v4l-dvb-2bade2ed7ac8.tar.bz2
which I downloaded from
http://linuxtv.org/hg/~stoth/v4l-dvb/archive/tip.tar.bz2, I also
saved the patch to the same location as the download.

The patch didn't apply for me, so I manually patched applied the
patches and created a new diff that should hopefully work for you
also (attached and inline below). From what I could see the
offsets in Stephens patch were a little off for this code snapshot
but otherwise it is all good.

I ran the following using the attached diff...

tar -xjf v4l-dvb-2bade2ed7ac8.tar.bz2
cd v4l-dvb-2bade2ed7ac8
patch -p1 < ../Leadtek.Winfast.PxDVR.3200.H.2.diff

Once the patch was applied I was then able to build and install the
modules as per the instructions in the INSTALL file. I ran the
following...

make all
sudo make install

From there I could load the modules and start testing.

I hope this helps you get started.

Regards,
Mark






diff -Naur
v4l-dvb-2bade2ed7ac8/linux/Documentation/video4linux/CARDLIST.cx23885
v4l-dvb2/linux/Documentation/video4linux/CARDLIST.cx23885
---
v4l-dvb-2bade2ed7ac8/linux/Documentation/video4linux/CARDLIST.cx23885=09200= 8-08-05 11:18:19.000000000
+1000
+++
v4l-dvb2/linux/Documentation/video4linux/CARDLIST.cx23885=092008-08-05
23:27:32.000000000 +1000
@@ -10,3 +10,4 @@
9 -> Hauppauge WinTV-HVR1400 [0070:8010]=
10 -> DViCO FusionHDTV7 Dual Express [18ac:d618]=
11 -> DViCO FusionHDTV DVB-T Dual Express [18ac:db78]=
+ 12 -> Leadtek Winfast PxDVR3200 H [107d:6681]<= br> diff -Naur
v4l-dvb-2bade2ed7ac8/linux/drivers/media/video/cx23885/Kconfig
v4l-dvb2/linux/drivers/media/video/cx23885/Kconfig
---
v4l-dvb-2bade2ed7ac8/linux/drivers/media/video/cx23885/Kconfig=092008-08-05=
11:18:19.000000000 +1000
+++ v4l-dvb2/linux/drivers/media/video/cx23885/Kconfig=092008-08-05
23:37:51.000000000 +1000
@@ -15,6 +15,7 @@
=09select DVB_S5H1409 if !DVB_FE_CUSTOMISE
=09select DVB_S5H1411 if !DVB_FE_CUSTOMISE
=09select DVB_LGDT330X if !DVB_FE_CUSTOMISE
+=09select DVB_ZL10353 if !DVB_FE_CUSTOMISE
=09select MEDIA_TUNER_XC2028 if !DVB_FE_CUSTOMIZE
=09select MEDIA_TUNER_TDA8290 if !DVB_FE_CUSTOMIZE
=09select MEDIA_TUNER_TDA18271 if !DVB_FE_CUSTOMIZE
diff -Naur
v4l-dvb-2bade2ed7ac8/linux/drivers/media/video/cx23885/cx23885-cards.c
v4l-dvb2/linux/drivers/media/video/cx23885/cx23885-cards.c
---
v4l-dvb-2bade2ed7ac8/linux/drivers/media/video/cx23885/cx23885-cards.c=0920= 08-08-05 11:18:19.000000000
+1000
+++
v4l-dvb2/linux/drivers/media/video/cx23885/cx23885-cards.c=092008-08-05 23:41:40.000000000 +1000
@@ -155,6 +155,10 @@
=09=09.portb=09=09=3D CX23885_MPEG_DVB,
=09=09.portc=09=09=3D CX23885_MPEG_DVB,
=09},
+=09[CX23885_BOARD_LEADTEK_WINFAST_PXDVR3200_H] =3D {
+=09=09.name =3D "Leadtek Winfast PxDVR3200 H",
+=09=09.portc =3D CX23885_MPEG_DVB,
+=09},
};
const unsigned int cx23885_bcount =3D ARRAY_SIZE(cx23885_boards);

@@ -230,6 +234,10 @@
=09=09.subvendor =3D 0x18ac,
=09=09.subdevice =3D 0xdb78,
=09=09.card =3D CX23885_BOARD_DVICO_FUSIONHDTV_DVB_T_DUAL_EXP,
+=09},{
+=09=09.subvendor =3D 0x107d,
+=09=09.subdevice =3D 0x6681,
+=09=09.card =3D CX23885_BOARD_LEADTEK_WINFAST_PXDVR3200_H,
=09},
};
const unsigned int cx23885_idcount =3D ARRAY_SIZE(cx23885_subids);
@@ -353,6 +361,10 @@
=09=09if (command =3D=3D 0)
=09=09=09bitmask =3D 0x04;
=09=09break;
+=09case CX23885_BOARD_LEADTEK_WINFAST_PXDVR3200_H:
+=09=09/* Tuner Reset Command */
+=09=09bitmask =3D 0x00070404;
+=09=09break;
=09case CX23885_BOARD_DVICO_FUSIONHDTV_7_DUAL_EXP:
=09case CX23885_BOARD_DVICO_FUSIONHDTV_DVB_T_DUAL_EXP:
=09=09if (command =3D=3D 0) {
@@ -492,6 +504,15 @@
=09=09mdelay(20);
=09=09cx_set(GP0_IO, 0x000f000f);
=09=09break;
+=09case CX23885_BOARD_LEADTEK_WINFAST_PXDVR3200_H:
+=09=09/* GPIO-2 xc3028 tuner reset */
+=09=09/* Put the parts into reset and back */
+=09=09cx_set(GP0_IO, 0x00040000);
+=09=09mdelay(20);
+=09=09cx_clear(GP0_IO, 0x00000004);
+=09=09mdelay(20);
+=09=09cx_set(GP0_IO, 0x00040004);
+=09=09break;
=09}
}

@@ -579,6 +600,7 @@
=09case CX23885_BOARD_HAUPPAUGE_HVR1200:
=09case CX23885_BOARD_HAUPPAUGE_HVR1700:
=09case CX23885_BOARD_HAUPPAUGE_HVR1400:
+=09case CX23885_BOARD_LEADTEK_WINFAST_PXDVR3200_H:
=09default:
=09=09ts2->gen_ctrl_val =3D 0xc; /* Serial bus + punctured clock */ =09=09ts2->ts_clk_en_val =3D 0x1; /* Enable TS_CLK */
@@ -592,6 +614,7 @@
=09case CX23885_BOARD_HAUPPAUGE_HVR1800:
=09case CX23885_BOARD_HAUPPAUGE_HVR1800lp:
=09case CX23885_BOARD_HAUPPAUGE_HVR1700:
+=09case CX23885_BOARD_LEADTEK_WINFAST_PXDVR3200_H:
=09=09request_module("cx25840");
=09=09break;
=09}
diff -Naur
v4l-dvb-2bade2ed7ac8/linux/drivers/media/video/cx23885/cx23885-dvb.c
v4l-dvb2/linux/drivers/media/video/cx23885/cx23885-dvb.c
---
v4l-dvb-2bade2ed7ac8/linux/drivers/media/video/cx23885/cx23885-dvb.c=092008= -08-05 11:18:19.000000000
+1000
+++
v4l-dvb2/linux/drivers/media/video/cx23885/cx23885-dvb.c=092008-08-05
23:37:03.000000000 +1000
@@ -37,6 +37,7 @@
#include "tda8290.h"
#include "tda18271.h"
#include "lgdt330x.h"
+#include "zl10353.h"
#include "xc5000.h"
#include "tda10048.h"
#include "tuner-xc2028.h"
@@ -502,6 +503,32 @@
=09=09}
=09=09break;
=09}
+=09case CX23885_BOARD_LEADTEK_WINFAST_PXDVR3200_H:
+=09=09i2c_bus =3D &dev->i2c_bus[0];
+
+=09=09port->dvb.frontend =3D dvb_attach(zl10353_attach,
+=09=09=09=09=09=09&dvico_fusionhdtv_xc3028,
+=09=09=09=09=09=09&i2c_bus->i2c_adap);
+=09=09if (port->dvb.frontend !=3D NULL) {
+=09=09=09struct dvb_frontend *fe;
+=09=09=09struct xc2028_config cfg =3D {
+=09=09=09=09.i2c_adap =3D &dev->i2c_bus[1].i2c_adap,
+=09=09=09=09.i2c_addr =3D 0x61,
+=09=09=09=09.video_dev =3D port,
+=09=09=09=09.callback =3D cx23885_tuner_callback,
+=09=09=09};
+=09=09=09static struct xc2028_ctrl ctl =3D {
+=09=09=09=09.fname =3D "xc3028-v27.fw",
+=09=09=09=09.max_len =3D 64,
+=09=09=09=09.demod =3D XC3028_FE_ZARLINK456,
+=09=09=09};
+
+=09=09=09fe =3D dvb_attach(xc2028_attach, port->dvb.frontend,
+=09=09=09=09=09&cfg);
+=09=09=09if (fe !=3D NULL && fe->ops.tuner_ops.set_config !=3D = NULL)
+=09=09=09=09fe->ops.tuner_ops.set_config(fe, &ctl);
+=09=09}
+=09=09break;
=09default:
=09=09printk("%s: The frontend of your DVB/ATSC card isn't supported yet\= n",
=09=09 dev->name);
diff -Naur
v4l-dvb-2bade2ed7ac8/linux/drivers/media/video/cx23885/cx23885.h
v4l-dvb2/linux/drivers/media/video/cx23885/cx23885.h
---
v4l-dvb-2bade2ed7ac8/linux/drivers/media/video/cx23885/cx23885.h=092008-08-= 05
11:18:19.000000000 +1000
+++ v4l-dvb2/linux/drivers/media/video/cx23885/cx23885.h=092008-08-05
23:37:33.000000000 +1000
@@ -66,6 +66,7 @@
#define CX23885_BOARD_HAUPPAUGE_HVR1400 9
#define CX23885_BOARD_DVICO_FUSIONHDTV_7_DUAL_EXP 10
#define CX23885_BOARD_DVICO_FUSIONHDTV_DVB_T_DUAL_EXP 11
+#define CX23885_BOARD_LEADTEK_WINFAST_PXDVR3200_H 12

/* Currently unsupported by the driver: PAL/H, NTSC/Kr, SECAM B/G/H/LC */=
#define CX23885_NORMS (\
<< Leadtek.Winfast.PxDVR.3200.H.2.diff >>

--=20
Be Yourself @ mail.com!
Choose From 200+ Email Addresses
Get a Free Account at www.mail.com!
------=_Part_0_8087063.1218023586329-- --===============0473177061== Content-Type: text/plain; charset="us-ascii" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Content-Disposition: inline _______________________________________________ linux-dvb mailing list linux-dvb@linuxtv.org http://www.linuxtv.org/cgi-bin/mailman/listinfo/linux-dvb --===============0473177061==--