All of lore.kernel.org
 help / color / mirror / Atom feed
From: Gerd Knorr <kraxel@bytesex.org>
To: Holger Waechtler <holger@qanu.de>,
	dvb list <linux-dvb@linuxtv.org>,
	alsa-devel@lists.sourceforge.net
Subject: Problem with Avermedia 771
Date: Fri, 15 Oct 2004 12:11:19 +0200	[thread overview]
Message-ID: <20041015101119.GH3866@bytesex> (raw)
In-Reply-To: <416ED29A.7060200@qanu.de>

  Hi guys,

We are talking about the bt878 second PCI function here.  On some analog
cards it is used to capture audio, some dvb cards use it to transfer
MPEG streams.  Problem is that both alsa and dvb want grab the device ...

Cc'ing both involved devel mailing lists ...

> >>Audio DMA channel, and the snd_bt87x module has already taken that over -

> Sure.  Want me to add a:
>               printk("dvb_bt8xx: if you have the ALSA bt87x audio driver "
>                      "installed, try removing it.\n");

Yep, that should improve things.

I think it would be even better if the alsa driver checks the PCI
Subsystem ID of the card in question to figure whenever it should try to
attach to the device or not.  With the dvb driver that already happens
indirectly through bttv (bttv knows which ones are DVB cards and which
ones are not).

The list of DVB card ID's isn't that long at the moment (from bttv):

	// DVB cards (using pci function .1 for mpeg data xfer)
	{ 0x01010071, BTTV_NEBULA_DIGITV, "Nebula Electronics DigiTV" },
	{ 0x07611461, BTTV_AVDVBT_761,    "AverMedia AverTV DVB-T" },
	{ 0x002611bd, BTTV_TWINHAN_DST,   "Pinnacle PCTV SAT CI" },
	{ 0x00011822, BTTV_TWINHAN_DST,   "Twinhan VisionPlus DVB-T" },
	{ 0xfc00270f, BTTV_TWINHAN_DST,   "ChainTech digitop DST-1000 DVB-S" },
	{ 0x07711461, BTTV_AVDVBT_771,    "AVermedia DVB-T 771" },
	{ 0xdb1018ac, BTTV_DVICO_DVBT_LITE,    "DVICO FusionHDTV DVB-T Lite" },
            ^^^^      subsystem device
                ^^^^  subsystem vendor

The alsa driver could either blacklist those or use a whitelist.  The
whitelist approach probably is more work, but would have the advantage
that the driver could also filter out analog tv cards where you don't
get any useful audio data out of the card.  And there is at least one
DVB card which can't be identified by PCI Subsystem ID because it hasn't
one, the whitelist approach would catch that one as well.

Comments?

  Gerd

-- 
return -ENOSIG;

       reply	other threads:[~2004-10-15 10:11 UTC|newest]

Thread overview: 20+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
     [not found] <416ED29A.7060200@qanu.de>
2004-10-15 10:11 ` Gerd Knorr [this message]
2004-10-15 11:03   ` Problem with Avermedia 771 Jaroslav Kysela
2004-10-15 11:58     ` [Alsa-devel] " Holger Waechtler
2004-10-18 13:01     ` Gerd Knorr
2004-10-18 14:50       ` Takashi Iwai
2004-10-19 16:13         ` Gerd Knorr
2004-10-20 13:06           ` Takashi Iwai
2004-10-20 13:17             ` Takashi Iwai
2004-10-20 15:02               ` Clemens Ladisch
2004-10-20 15:20                 ` Takashi Iwai
2004-10-21  7:22                   ` Clemens Ladisch
2004-10-21  8:59                     ` [Alsa-devel] " Gerd Knorr
2004-10-21 10:05                     ` Takashi Iwai
2004-10-21 10:18                       ` Gerd Knorr
2004-10-21 10:38                         ` Takashi Iwai
2004-10-21 11:43                           ` Gerd Knorr
2004-10-21 12:11                             ` Takashi Iwai
2004-10-21 16:36                               ` Takashi Iwai
2004-10-25  9:36                               ` Clemens Ladisch
2004-10-20 15:27               ` Gerd Knorr

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=20041015101119.GH3866@bytesex \
    --to=kraxel@bytesex.org \
    --cc=alsa-devel@lists.sourceforge.net \
    --cc=holger@qanu.de \
    --cc=linux-dvb@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 an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.