public inbox for linux-media@vger.kernel.org
 help / color / mirror / Atom feed
* [linux-dvb] why opensource will fail
@ 2008-09-13  6:28 Paul Chubb
  2008-09-13  9:43 ` [linux-dvb] Why my binary-only Win95 closed-source drivers trump your puny free-as-in-beer etc. [was: Re: why (etc.)] barry bouwsma
                   ` (2 more replies)
  0 siblings, 3 replies; 15+ messages in thread
From: Paul Chubb @ 2008-09-13  6:28 UTC (permalink / raw)
  To: linux dvb

Hi,
     now that I have your attention:-{)=

I believe that this community has a real problem. There appears to be 
little willingness to help and mentor newcomers. This will limit the 
effectiveness of the community because it will hinder expansion of 
people who are both willing and able to work on the code. Eventually 
this issue  will lead to the community dying simply because you have 
people leaving but few joining.

The card I was working on has been around for  a while now. There have 
been three attempts so far to get it working with Linux. Two in this 
community and one against the mcentral.de tree. Both attempts in this 
community have failed not because of a lack of willingness of the people 
involved to do the hard yards but because of the inability of the 
community to mentor and help newcomers.

The third attempt by a Czech programmer succeeded, however it is 
dependent on the mcentral.de tree and the author appears to have made no 
attempt to get the patch into the tree. The original instructions to 
produce a driver set are in Czech. However instructions in english for 
2.6.22 are available - ubuntu gutsy. I will soon be putting up 
instructions for 2.6.24 - hardy. They may even work  for later revisions 
since the big issue was incompatible versioning.

I understand from recent posts to this list that many in the community 
are disturbed by the existence of mcentral.de. Well every person from 
now on who wants to run the Leadtek Winfast DTV1800H will be using that 
tree. Since the card is excellent value for what it is, there should be 
lots of them. Not helping newcomers who are trying to add cards has led 
and will lead to increased fragmentation.

And before you say or think that we are all volunteers here, I am a 
volunteer also. I have spent close to 3 weeks on this code and it is 
very close to working. The biggest difference between working code in 
the mcentral.de tree and the patch I was working on is the firmware that 
is used.

Finally you might consider that if few developers are prepared to work 
on the v4l-dvb tree, then much of the fun will disappear because those 
few will have to do everything.

Cheers Paul

-- 
This message has been scanned for viruses and
dangerous content by MailScanner, and is
believed to be clean.


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

^ permalink raw reply	[flat|nested] 15+ messages in thread
* Re: [linux-dvb] xc3028 config issue. Re: Why I need to choose better Subject: headers [was: Re: Why (etc.)]
@ 2008-09-15 21:31 stev391
       [not found] ` <48D6C0BA.4090605@singlespoon.org.au>
  0 siblings, 1 reply; 15+ messages in thread
From: stev391 @ 2008-09-15 21:31 UTC (permalink / raw)
  To: Paul Chubb; +Cc: linux-dvb

> 
> Message: 5
> Date: Mon, 15 Sep 2008 16:39:24 +1000
> From: Paul Chubb <paulc@singlespoon.org.au>
> Subject: Re: [linux-dvb] xc3028 config issue. Re: Why I need to choose
> 	better Subject: headers [was: Re: Why (etc.)]
> To: Steven Toth <stoth@linuxtv.org>, linux dvb
> 	<linux-dvb@linuxtv.org>, 	mchehab@infradead.org
> Message-ID: <48CE031C.1000805@singlespoon.org.au>
> Content-Type: text/plain; charset=ISO-8859-1; format=flowed
> 
> Steven Toth wrote:
> >
> > Mauro, see question below.
> >
> > Paul Chubb wrote:
> >> Steven Toth wrote:
> >>> Paul Chubb wrote:
> >>>> Barry,
> >>>> I drew the line at porting the xc3028 tuner module from mcentral.de into v4l-dvb, so no 
> >>>> didn't solve the firmware issues. If you know what you are doing it should be trivial work 
> >>>> - just linking in yet another tuner module and then calling it like all the others. For me 
> >>>> because I don't know the code well it would take a week or two.
> >>>
> >>> No porting required.
> >>>
> >>> xc3028 tuner is already in the kernel, it should just be a case of configuring the 
> >>> attach/config structs correctly.
> >>>
> >>> - Steve
> >>>
> >> Steve,
> >>           I think we are talking about two different things. Yes the xc3028 tuner is 
> >> supported via tuner-xc2028 and works for many xc3028 based cards. This support uses the 
> >> xc3028-v27.fw file that contains say 80 firmware modules. This firmware was extracted from a 
> >> Haupage windows driver.
> >
> > Correct.
> >
> > (I changed the subject by the way)
> >
> >>
> >> I believe that the 1800H has some incompatibility with this firmware. The mcentral.de tree 
> >> has a different firmware loading and tuner support module for xc3028 that loads individual 
> >> firmware modules - you literally put twenty or thirty files into /lib/firmware. This firmware 
> >> is the standard firmware from xceive before the card manufacturers get to it. Comparing the 
> >> dmesg listing from a working mcentral.de setup and the non-working v4l tree the only thing 
> >> that leaps out is the different firmware. If I was continuing the next step would be to port 
> >> that tuner module into the v4l code and set it up in the normal way.
> >
> > the v27.fw file does contain the correct firmware, so the fact that the inkernel tuner driver 
> > isn't select the correct version (or that it needs a hint in the config struct) is probably a 
> > very small fix.
> >
> > Mauro (cc'd) generally maintains that driver and he should be able to help. My suggestion is 
> > that you cut/paste the attach/config struct from your leadtek code into this email thread. 
> > From you email address I guess you're trying to get DVB-T 7MHz working in Australia. Mauro can 
> > review it.
> >
> > Ideally, we'd point you at a different card struct for the same tuner that we know works in 
> > Australia, so you build the leadtek config struct based on something that we know works.
> >
> > Mauro, what should the attach/config struct look like for a xc2028/3028 tune in Australia? Can 
> > you point to a working example or suggest a change?
> >
> > Regards,
> >
> > - Steve
> >
> >
> >
> >
> static struct zl10353_config cx88_dtv1800h = {
>         .demod_address = (0x1e >> 1),
>         .no_tuner = 1,
> };
> 
> case CX88_BOARD_WINFAST_DTV1800H:
>                  dev->dvb.frontend = dvb_attach(zl10353_attach,
>                                                 &cx88_dtv1800h,
>                                                 &dev->core->i2c_adap);
>                  if (dev->dvb.frontend != NULL) {
>                     struct dvb_frontend *fe;
>                     struct xc2028_config cfg = {
>                        .i2c_adap  = &dev->core->i2c_adap,
>                        .i2c_addr  = 0x61,
>                        .video_dev = dev->core,
>                                  .callback  = cx88_xc3028_callback,
>                     };
>                     static struct xc2028_ctrl ctl = {
>                        .fname       = "xc3028-v27",
>                        .max_len     = 64,
>                    };
> 
>                    fe = dvb_attach(xc2028_attach, dev->dvb.frontend, &cfg);
>                    if (fe != NULL && fe->ops.tuner_ops.set_config != NULL)
>                        fe->ops.tuner_ops.set_config(fe, &ctl);
>                 }
>                 dev->dvb.frontend->ops.i2c_gate_ctrl = NULL;
>                 dev->dvb.frontend->ops.sleep = NULL;
>                 break;
> 
> This produces the following dmesg when attempting to scan
> 
---Snip---


Paul,

Here is the config I used for the DViCO Dual DVB Express, Leadtek Winfast PxDVR 3200 H and most of the Compro VideoMate E series. Note that this in the cx23885 driver. I live in Melbourne so it does definitely work with Australian frequencies.  As all these cards have the same demod and tuner it should be pretty similar config structs.

Key differences that may effect you are:
* .fname - I have the .fw after the file, but I don't think this is your problem as it loads the firmware from the file.
* .demod - XC3028_FE_ZARLINK456, this hepls the firmware loader load the correct firmware. Definitely try this one.

case CX23885_BOARD_DVICO_FUSIONHDTV_DVB_T_DUAL_EXP: {
		i2c_bus = &dev->i2c_bus[port->nr - 1];

		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  = &i2c_bus->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;

I hope this helps.

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@linuxtv.org
http://www.linuxtv.org/cgi-bin/mailman/listinfo/linux-dvb

^ permalink raw reply	[flat|nested] 15+ messages in thread

end of thread, other threads:[~2008-09-28  5:30 UTC | newest]

Thread overview: 15+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2008-09-13  6:28 [linux-dvb] why opensource will fail Paul Chubb
2008-09-13  9:43 ` [linux-dvb] Why my binary-only Win95 closed-source drivers trump your puny free-as-in-beer etc. [was: Re: why (etc.)] barry bouwsma
2008-09-13 10:35   ` Paul Chubb
2008-09-13 11:55     ` [linux-dvb] Why I need to choose better Subject: headers [was: Re: Why (etc.)] barry bouwsma
2008-09-13 20:25       ` Paul Chubb
2008-09-13 21:45         ` Steven Toth
2008-09-13 23:02           ` Paul Chubb
2008-09-14 14:50             ` [linux-dvb] xc3028 config issue. " Steven Toth
     [not found]       ` <alpine.LFD.1.10.0809151122480.16872@areia.chehab.org>
     [not found]         ` <141058d50809150800l73fe8b67qbc845cd6e01eafe2@mail.gmail.com>
2008-09-15 15:28           ` Christophe Thommeret
2008-09-21 15:07     ` [linux-dvb] Why my binary-only Win95 closed-source drivers trump your puny free-as-in-beer etc. [was: Re: why (etc.)] Markus Rechberger
2008-09-13 10:38 ` [linux-dvb] why opensource will fail Igor M. Liplianin
2008-09-13 20:31 ` Steven Toth
2008-09-13 22:48   ` Paul Chubb
  -- strict thread matches above, loose matches on Subject: below --
2008-09-15 21:31 [linux-dvb] xc3028 config issue. Re: Why I need to choose better Subject: headers [was: Re: Why (etc.)] stev391
     [not found] ` <48D6C0BA.4090605@singlespoon.org.au>
2008-09-28  5:30   ` Mauro Carvalho Chehab

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox