Re: Oops in set_spdif_output in i810_audio

From: SuD (Alex)
Date: Sun Apr 03 2005 - 18:42:51 EST


Triffid Hunter wrote:

try turning off your internal modem in bios until someone works out whats going on here

* It's one of those modern bios, no way of configuring that.

* It seems to me that it detects only 1 card with 1 only codec which is the sound card (sound works if i avoid the null pointer oops). So one of the problems is the wrong detection.
Googling i found that jgarzik already got a patch for this (ac97_codec.c:158):
+ {0x43585430, "CXT48", &default_ops, AC97_DELUDED_MODEM },

* About fixing i810_probe/i810_ac97_init, the safest and simplest solution may be changing "continue" for "break" (i810_audio.c:3089), i.e. give up scanning for sound codecs when the first modem is found. I don't if that would prevent any real-world device from working, but the alternative is add a lot of checks everywhere.

See you.
-
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/