[alsa-devel] size of snd_hda_intel

Jon Smirl jonsmirl at gmail.com
Tue Oct 7 03:29:32 CEST 2008

On Mon, Oct 6, 2008 at 4:28 AM, Vedran Miletić <rivanvx at gmail.com> wrote:
> I believe this isn't that easy. Here is why: iff you look at the
> ice1712/ice1724 driver, it doesn't detect dependencies when modprobed;
> that is, it loads, for example, ac97 codec and ak4xxx driver even if
> the card doesn't have any of that. Is it even possible to detect
> dependencies after modprobing?

The base intel hda module would include code to figure out which codec
is attached. It can then use loadmodule() to dynamically load it. ASOC
use the separate codec driver model.

It would look like a "hda" bus in sysfs with the "codec" module sitting on it.

> 2008/10/6 Jon Smirl <jonsmirl at gmail.com>:
>> snd_hda_intel         435,772
>> 435,772 bytes seems awfully large for an audio driver. The large size
>> seems to be due to having support for multiple codecs in the driver.
>> Could a generic  hda driver load the correct codec dynamically instead
>> of building them all in statically?
>> I have a Realtek codec.
>> --
>> Jon Smirl
>> jonsmirl at gmail.com
>> _______________________________________________
>> Alsa-devel mailing list
>> Alsa-devel at alsa-project.org
>> http://mailman.alsa-project.org/mailman/listinfo/alsa-devel
> --
> Vedran Miletić

Jon Smirl
jonsmirl at gmail.com

More information about the Alsa-devel mailing list