[linux-dvb] [PATCH-TESTERS-REQUIRED] Leadtek Winfast PxDVR 3200 H - DVB Only support

Mark Carbonaro mark at carbonaro.org
Tue Aug 5 23:50:15 CEST 2008


Stephen, 

I used the second patch you send through against http://linuxtv.org/hg/~stoth/v4l-dvb/archive/tip.tar.gz. 

The card came up first time and the drivers were loaded automatically by udev from a cold start, here is my output from dmesg 

CORE cx23885[0]: subsystem: 107d:6681, board: Leadtek Winfast PxDVR3200 H [card=12,autodetected] 
cx23885[0]: i2c bus 0 registered 
cx23885[0]: i2c bus 1 registered 
cx23885[0]: i2c bus 2 registered 
cx25840' 2-0044: cx25 0-21 found @ 0x88 (cx23885[0]) 
cx23885[0]: cx23885 based dvb card 
xc2028 1-0061: creating new instance 
xc2028 1-0061: type set to XCeive xc2028/xc3028 tuner 
DVB: registering new adapter (cx23885[0]) 
DVB: registering frontend 0 (Zarlink ZL10353 DVB-T)... 
cx23885_dev_checkrevision() Hardware revision = 0xb0 
cx23885[0]/0: found at 0000:03:00.0, rev: 2, irq: 16, latency: 0, mmio: 0xd3000000 

I have to head to work now, but I will so some testing this evening now that the driver seems to be working fine. 

Mark 

----- Original Message ----- 
From: stev391 at email.com 
To: "Mark Carbonaro" <mark at carbonaro.org>, "Jonathan Hummel" <jhhummel at bigpond.com> 
Cc: stev391 at email.com, linux-dvb at 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 at email.com, linux-dvb at 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 



More information about the linux-dvb mailing list