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

Herbert Xu
2005-04-14T13:09:46Z

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@gondor.apana.org.au>
Home Page: http://gondor.apana.org.au/~herbert/
PGP Key: http://gondor.apana.org.au/~herbert/pubkey.txt