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" <jhhummel@xxxxxxxxxxx>
> To: stev391@xxxxxxxxx
> Subject: Re: [PATCH-TESTERS-REQUIRED] Leadtek Winfast PxDVR 3200 H - DVB	Only support
> Date: Fri, 15 Aug 2008 23:49:12 +1000
> 
> 
> On Fri, 2008-08-15 at 09:36 +1000, stev391@xxxxxxxxx wrote:
> > > ----- Original Message -----
> > > From: "Jonathan Hummel" <jhhummel@xxxxxxxxxxx>
> > > To: stev391@xxxxxxxxx
> > > Subject: Re: [PATCH-TESTERS-REQUIRED] Leadtek Winfast PxDVR 3200 H - DVB	Only support
> > > Date: Thu, 14 Aug 2008 21:18:17 +1000
> > > > > On Thu, 2008-08-14 at 07:49 +1000, stev391@xxxxxxxxx wrote:
> > > > > ----- Original Message -----
> > > > > From: "Jonathan Hummel" <jhhummel@xxxxxxxxxxx>
> > > > > To: stev391@xxxxxxxxx
> > > > > Subject: Re: [PATCH-TESTERS-REQUIRED] Leadtek Winfast PxDVR 3200 H - DVB	Only support
> > > > > Date: Wed, 13 Aug 2008 22:46:05 +1000
> > > > > > > On Tue, 2008-08-12 at 09:59 +1000, stev391@xxxxxxxxx wrote:
> > > > > > > ----- Original Message -----
> > > > > > > From: "Jonathan Hummel" <jhhummel@xxxxxxxxxxx>
> > > > > > > To: stev391@xxxxxxxxx
> > > > > > > Subject: Re: [PATCH-TESTERS-REQUIRED] Leadtek Winfast PxDVR 3200 H - DVB	Only support
> > > > > > > Date: Mon, 11 Aug 2008 23:36:25 +1000
> > > > > > > > > On Sun, 2008-08-10 at 11:42 +1000, stev391@xxxxxxxxx wrote:
> > > > > > > >
> > > > > > > >
> > > > > > > >         ----- 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!
> > > > > > > > Hi Stevhen, Mark,
> > > > > > > > > So you write your post at the bottom of the email?! well that does
> > > > > > > explain a lot, and does kinda make sense if your intending someone to
> > > > > > > pick it up halfway through. I just normaly read backwards when that
> > > > > > > happens to me.
> > > > > > > > As for the patch. I realised that it is patch -p1 (as in one) not -pl
> > > > > > > (as in bLoody &*^^* i can't believe i was using the wrong character)
> > > > > > > which explains why my patches never worked.
> > > > > > > So the patch applied all fine and that, and dmesg looks great, but I
> > > > > > > can't find anything by scanning. On my other card, the DTV2000H (rev J)
> > > > > > > it can scan in MythTV to find channels, and with me-TV, I think it just
> > > > > > > has a list which it picks from or something, tunes to that frequency to
> > > > > > > see if there is anything there. Can't do that with this card so far.
> > > > > > > Attached is the output from scan (or DVB scan) I don't know if it would
> > > > > > > be useful, but I don't know what is useful for such a problem.
> > > > > > > > cheers
> > > > > > > > Jon
> > > > > >
> > > > > > Jon,
> > > > > >
> > > > > > I'm sorry that I'm going to have to ask some silly questions:
> > > > > > * Does this card tune in windows to these frequencies?
> > > > > > * If so what signal level does it report?
> > > > > > * If you cannot do the above, can you double check that the aerial cable is connected 
> > > > > > correctly to your Antenna.
> > > > > >
> > > > > > Can you load the following modules with debug=1:
> > > > > > tuner_xc2028
> > > > > > zl10353
> > > > > > cx23885
> > > > > >
> > > > > > and attach the dmesg sections for registering the card, and any output while scanning.
> > > > > >
> > > > > > I will try this afternoon with MythTV, but my card was able to scan with the DVB scan.
> > > > > > I had not heard of Me TV prior to your email, I might install that as well and see how 
> > it > > > > works.
> > > > > >
> > > > > > I have a DTV1000T in the same system, from past experience this card requires a strong 
> > DVB > > > > signal while my PxDVR3200H gets drowned out with the same signal. So I have to 
> > install a > > 6dB > > or more attenuator before the card (This is due to a powered splitter 
> > installed in the > > roof > > providing too much signal, which if I remove my DTV1000T gets 
> > patchy reception). I > > wonder if > > this is the same in your case with the DTV2000H? (But 
> > if it works in windows > > reliably it > > should work in Linux).
> > > > > >
> > > > > > Regards,
> > > > > > Stephen.
> > > > > >
> > > > > > Hi Stephen,
> > > > > > I tired the above to no avail. The card works fine under windows (well
> > > > > as fine as anything can work under windows, as in, windows keeps
> > > > > stealing resources away from it resulting in jerky viewing in HD mode)
> > > > > and I can scan in windows too. I still cannot scan in Linux. I've
> > > > > atached the dmesg and scan outputs. (My appologies for no grep on the
> > > > > dmesg, I wasn't sure what to grep for). Is there a way to grab a
> > > > > frequency out of windows then dump that frequency into linux and see if
> > > > > the card recieves? just a thought that it might help to debug things.
> > > > > > Cheers
> > > > > > Jon
> > > >
> > > > Jon,
> > > >
> > > > The relevant sections of the dmesg will be everything from this line onwards:
> > > > cx23885 driver version 0.0.1 loaded
> > > >
> > > > The section I was looking for wasn't in the dmesg.  Please attempt the scan then give the 
> > > > dmesg output after this. (I think you gave me the reverse)
> > > > What I'm looking for is if the firmware loads correctly and what error messages.
> > > >
> > > > Also if you haven't done so already can you ensure that the modules mentioned above are 
> > loaded > > with debug=1.
> > > > On ubuntu this performed in /etc/modprobe.../options with the following lines (modprobe or 
> > > > something similar):
> > > > options zl10353 debug=1
> > > > options tuner_xc2038 debug=1
> > > > options cx23885 debug=1
> > > >
> > > > The either restart or reload these modules.
> > > > Note this will generate a lot of messages, so when not testing the card put a "#" in front 
> > of > > it to comment it out.
> > > >
> > > > Regards,
> > > > Stephen
> > > >
> > > >
> > > > -- Be Yourself @ mail.com!
> > > > Choose From 200+ Email Addresses
> > > > Get a Free Account at www.mail.com
> > > >
> > > Hi Stephen
> > > > Turns out that if you use that patch that allows you to use your linux
> > > drive from windows doesn't recognise user permisions. Made editing
> > > modprobe options easier seeing it was already loaded :)
> > > Yes I did think I did it in reverse, her it is in the order you wanted.
> > > Seems to be an issue with the Zarlink chip.
> > > > Thanks
> > > > Jon
> >
> > Jon,
> >
> > You are missing the firmware file, xc2028-v27.fw
> >
> > If you have this file already, you need to copy it into /lib/firmware/`uname -r`/  (the "uname 
> > -r" command will give you the kernel name/version you are currently running)
> >
> > If you do not have the firmware yet, to obtain it open up the extract_xc3028.pl in the 
> > linux/Documentation/video4linux/ within the source directory.
> >
> > Regards,
> > Stephen.
> >
> >
> 
> Hi Stephen,
> Pause, 
> Yeap, that did the trick! Would that be a bug in Ubuntu, not having that
> firmware. Should I submit a bug report for that?
> 
> cheers
> 
> Jon

Jon,
As this driver is not in Ubuntu, I don't think it should already have the firmware, however if you can find a driver that is included already that requires this firmware then I think a bug report would be a good idea.

I'm glad that we got this sorted.

Regards,

Stephen.

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


_______________________________________________
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