[alsa-devel] size of snd_hda_intel
tiwai at suse.de
Tue Oct 7 14:36:23 CEST 2008
At Tue, 7 Oct 2008 08:28:49 -0400,
Jon Smirl wrote:
> 2008/10/7 Takashi Iwai <tiwai at suse.de>:
> > At Mon, 6 Oct 2008 21:29:32 -0400,
> > Jon Smirl wrote:
> >> 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.
> > You mean AOA?
> > ASoC doesn't do any dynamic module handling by itself, AFAIK.
> This lets you load another module from intel_hda:
> request_module("%s", module_name);
As mentioned, it's no fundamental solution.
The real problem is that the driver has too many stuff that
can be trimmed down.
More information about the Alsa-devel