Re: TV card detected wrongly by the kernel. Any chance to get this fixed?

Mauro Carvalho Chehab
2007-08-22T22:56:17Z

Manuel,

> > I have a BT878 based TV card (was sold by a german discounter some years
> > ago).
> >
> > Unfortunately this card gets detected wrongly and so I'm unable to watch
> > tv, if I allow the kernel to auto-detect the card.
> >
> > If I unload the module and reload it using the right "card=" value,
> then
> > anything works well. So one of the first steps, I do if I install a
> new
> > version of my distribution, is to place the "unload module and
> reload with
> > the right value" code to my "rc.local" file.
> >
> > Is there any chance to get this card added to the kernel, so the
> right
> > value gets auto-loaded?
>
> It might be possible, but the driver maintainer (Cc'ed) should know
> best.

Most cheap bt8xx boards don't have eeprom or other means for properly
detecting the board internals. For such boards, you need to specify
card=<nr>, otherwise the driver will use a generic "default" that may
not work.

The proper way for handling this is by adding at /etc/modprobe.conf
(or /etc/modules, depending on your distro) a line like:

options bttv card=<nr>

This way, every time the module will load, the modprobe tools will use
the proper options.

If your board have an unique PCI ID, we may add it to the driver,
avoiding this need. For this, we will need the results of the following
command:

lspci -vv -nn

Cheers,
Mauro