mirror of https://lore.kernel.org/lkml/
 help / color / mirror / Atom feed
From: Mauro Carvalho Chehab <mchehab@infradead.org>
To: Manuel Reimer <Manuel.Spam@nurfuerspam.de>
Cc: Adrian Bunk <bunk@kernel.org>,
	linux-kernel@vger.kernel.org, v4l-dvb-maintainer@linuxtv.org
Subject: Re: TV card detected wrongly by the kernel. Any chance to get this fixed?
Date: Wed, 22 Aug 2007 19:55:57 -0300	[thread overview]
Message-ID: <1187823357.7104.25.camel@gaivota> (raw)
In-Reply-To: <20070822215148.GL30705@stusta.de>


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


  reply	other threads:[~2007-08-22 22:56 UTC|newest]

Thread overview: 5+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2007-08-22 21:08 Manuel Reimer
2007-08-22 21:51 ` Adrian Bunk
2007-08-22 22:55   ` Mauro Carvalho Chehab [this message]
2007-08-23 15:23     ` Manuel Reimer
2007-08-24 15:37       ` Mauro Carvalho Chehab

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=1187823357.7104.25.camel@gaivota \
    --to=mchehab@infradead.org \
    --cc=Manuel.Spam@nurfuerspam.de \
    --cc=bunk@kernel.org \
    --cc=linux-kernel@vger.kernel.org \
    --cc=v4l-dvb-maintainer@linuxtv.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox

all inboxes | Powered by JetHome®