Re: [OSS] Add CXT48 to modem black list in ac97

From: Herbert Xu
Date: Thu Apr 14 2005 - 08:11:12 EST


On Wed, Apr 13, 2005 at 11:59:24PM +0200, SuD (Alex) wrote:
>
> As a result, if i insert "snd-intel8x0" it will detect a soundcard (pci
> 0:0:1f.5), but if insert instead
> "snd-intel8x0M" it will detect a modem (pci 0:0:1f.6).
> If a modem is detected i get errors like: "MC'97 0 converters and GPIO
> not ready (0x1)", and not sure how to test it.
> If i load both modules only the first will work. The second will give an
> probe error -13 (EACCES?), because it has been marked as audio device,
> but also marked as _SKIP_AUDIO (ac97_codec.c:1862), or viceversa.

Thanks for testing.

It would appear then that ALSA doesn't have a magic solution :)
It'll always treat the codec as a sound card when the sound module
is loaded.

Alan, you seem to be the one who added the original code to
i810_audio to skip the modem codecs. Does this actually
do anything for OSS? That is, are there any modem drivers out
there that will work with OSS drivers?

If not, then I'd suggest that we simply remove the modem checks
from the OSS Code.

Cheers,
--
Visit Openswan at http://www.openswan.org/
Email: Herbert Xu ~{PmV>HI~} <herbert@xxxxxxxxxxxxxxxxxxx>
Home Page: http://gondor.apana.org.au/~herbert/
PGP Key: http://gondor.apana.org.au/~herbert/pubkey.txt
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/