Mailing List archive

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

[linux-dvb] Re: tuner type not set



Wolfgang Wershofen wrote:
> 
[...] 
> Ok, I downloaded the 0.7.91-version of bttv. But how do I find out,
> which type of tuner my TT budget card has? Do I have to look at the
> card itself or is there a way to let some software show me that?
> 
> > The tuner (in the dvb package) is a slightly (?) modified version of the
> > original (?)  one, which is part of the bttv package.
> 
> Does this mean, i simply can replace the tuner.c in the dvb-driver with
> the tuner.c from bttv-package?

No, don't do that.

I wanted to express that you could found more information in the Readmes 
of the bttv package.

[O.K., the weather is not as good as possible, so I will describe it a
little more in detail.]

You can find in tuner.h lines like 

#define  TUNER_TEMIC_PAL 0 
#define  TUNER_PHILIPS_PAL_I 1
...

The numbers {0,1,...,n} are legal values for the parameter "type" in the
command line "insmode tuner type=...".

You can find in tuner.c lines like

static struct tunertype tuners[] ={
	{"Temic PAL", TEMIC, PAL,
		55000000,...
...

There is for each supported tuner type an item in the array. The tuner.{h|c}
files in the dvb driver are extented to support the tuners found on the
various dvb cards.
[AFAIK there are more differences, but the tuner.o out of the dvb package 
works for my bt8xx card, too.]

By doing "insmod tuner" the tuner type is detected automagically, at least
in recent version of the driver.
When it fails, either the type test fails or your tuner is not supported 
at all.

You mentioned, that you switched back to the siemens_0.8.x driver.
Is your card supported in this version?

My suggestions:

Use the card with 2.4.x/siemens_0.9.y and activate the debug output
[ "insmod xyz debug=1" ; wathever "modinfo -p xyz" helps].
You will find in the logs information regarding the tuner type.

Compare it to the lines in tuner.c in the siemens_0.8.x source.

Now is it up to you to do more investigations.

-- 
Frank












> BTW: Writing this mail, I found out that "insmod tuner.o type=x" from
> the DVB/driver directory seems to work as well, without modifying
> tuner.c. At least, I don't get the "tuner type not set" message anymore
> when I start dvbd, although tuning still doesn't work.
> 
> Any more suggestions?
> 
> -- 
> Best regards
> Wolfgang Wershofen                            mailto:wolfgang@wershofen.com
> 
> 
> 
> -- 
> Info:
> To unsubscribe send a mail to listar@linuxtv.org with "unsubscribe linux-dvb" as subject.
> 


-- 
Info:
To unsubscribe send a mail to listar@linuxtv.org with "unsubscribe linux-dvb" as subject.


Home | Main Index | Thread Index