Re: size of snd_hda_intel

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Mon, Oct 6, 2008 at 4:28 AM, Vedran Miletić <rivanvx@xxxxxxxxx> 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@xxxxxxxxx>:
>>>ismod
>> 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@xxxxxxxxx
>> _______________________________________________
>> Alsa-devel mailing list
>> Alsa-devel@xxxxxxxxxxxxxxxx
>> http://mailman.alsa-project.org/mailman/listinfo/alsa-devel
>>
>
>
>
> --
> Vedran Miletić
>



-- 
Jon Smirl
jonsmirl@xxxxxxxxx
_______________________________________________
Alsa-devel mailing list
Alsa-devel@xxxxxxxxxxxxxxxx
http://mailman.alsa-project.org/mailman/listinfo/alsa-devel


[Index of Archives]     [ALSA User]     [Linux Audio Users]     [Kernel Archive]     [Asterisk PBX]     [Photo Sharing]     [Linux Sound]     [Video 4 Linux]     [Gimp]     [Yosemite News]

  Powered by Linux