Re: [PATCH-TESTERS-REQUIRED] Leadtek Winfast PxDVR 3200 H - DVB Only support

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

 





----- Original Message -----
From: "Jonathan Hummel"
To: stev391@xxxxxxxxx
Subject: Re: [PATCH-TESTERS-REQUIRED] Leadtek Winfast PxDVR 3200 H - DVB Only support
Date: Sat, 09 Aug 2008 21:48:21 +1000


Hi All,

Finnaly got some time to give the patch a go. I used the pacakges
Stephen, sent the link to, not Mark's. I cant't get past the attached
problem. The dmesg output is attached. I tried setting the card like
this:
/etc/modprobe.d/options file and add the line: options cx88xx card=11
I also tried the following two varients:
cx23885 card=11
cx23885 card=12

I also got what looked like an error message when applying the first
patch, something like "strip count 1 is not a number" (although 1 not
being a number would explain my difficulties with maths!)

Cheers

Jon

On Wed, 2008-08-06 at 07:33 +1000, stev391@xxxxxxxxx wrote:
> 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@xxxxxxxxx, linux-dvb@xxxxxxxxxxx
> 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
>
>
>
>
>
>


Jon,

The patch did not apply correctly as the dmesg should list an extra entry in card list (number 12), and it should have autodetected.

Attached is the newest copy of the patch (save this in the same directory that you use the following commands from), just to avoid confusion.
Following the following:
wget http://linuxtv.org/hg/~stoth/v4l-dvb/archive/2bade2ed7ac8.tar.gz
tar -xf 2bade2ed7ac8.tar.gz
cd v4l-dvb-2bade2ed7ac8
patch -p1 <../Leadtek_Winfast_PxDVR3200_H.diff
make
sudo make install
sudo make unload
sudo modprobe cx23885

Now the card should have been detected and you should have /dev/adapterN/ (where N is a number). If it hasn't been detected properly you should see a list of cards in dmesg with the card as number 12. Unload the module (sudo rmmod cx23885) and then load it with the option card=12 (sudo modprobe cx23885 card=12)

For further instructions on how to watch digital tv look at the wiki page (you need to create a channels.conf).

Regards,
Stephen

P.S.
Please make sure you cc the linux dvb mailing list, so if anyone else has the same issue we can work together to solve it.
Also the convention is to post your message at the bottom (I got caught by this one until recently).

--
Be Yourself @ mail.com!
Choose From 200+ Email Addresses
Get a Free Account at www.mail.com!

Attachment: Leadtek_Winfast_PxDVR3200_H.diff
Description: Binary data

_______________________________________________
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