building kernel for ac97 sound card

Linux for blind general discussion blinux-list at redhat.com
Fri Oct 23 16:09:54 UTC 2020


Futher I just checked, the generic ASoC AC97 CODEC driver
can only  be built as a module. How come can you have it built-in
the kernel?

Didier

Le 23/10/2020 à 18:04, Didier Spaier a écrit :
> Here:
> 
> didier[~]$ zgrep -i ac97 /proc/config.gz  
> CONFIG_SND_AC97_CODEC=m
> CONFIG_SND_AC97_POWER_SAVE=y
> CONFIG_SND_AC97_POWER_SAVE_DEFAULT=0
> CONFIG_SND_SOC_AC97_BUS=y
> CONFIG_SND_SOC_AC97_CODEC=m
> CONFIG_AC97_BUS=m
> 
> Unless you are building a custom kernel I am a bit surprised:
> as far as I know pretty much all distributions ship kernels
> with ac97 provided as modules.
> 
> Didier
> 
> Le 23/10/2020 à 17:51, Linux for blind general discussion a écrit :
>> I think my mistake was having ac97 built into the kernel; could be ac97
>> doesn't like that housing.  I'll try rebuilding that as a module and see
>> if I get further.  The linux kernel configuration is so complex it's not
>> easy to know which things need to be in the kernel as built-ins and
>> which need to be modules.
>>
>> On Fri, 23 Oct 2020, Linux for blind general discussion wrote:
>>
>>> Date: Fri, 23 Oct 2020 10:22:10
>>> From: Linux for blind general discussion <blinux-list at redhat.com>
>>> To: Linux for blind general discussion <blinux-list at redhat.com>
>>> Subject: Re: building kernel for ac97 sound card
>>>
>>> The sound card drivers are modules, so just build the module if need be.
>>> Ac97 sounds pretty standard to me though, so I think it should be part of the
>>> standard setup already.
>>> The pc speaker is something else though.
>>> There is a module called pcspkr which allow the use of that.
>>> All pc's does not have a speaker though.
>>> Maybe I am missing something in your message?
>>> Regards, Willem
>>>
>>>
>>>
>>>
>>> On Fri, 23 Oct 2020, Linux for blind general discussion wrote:
>>>
>>>> I have an ac97 sound card and a c-media usb sound card on a system.  I
>>>> have only had success activating the pcspeaker when building a kernel for
>>>> gentoo.  I have no clue as to what to enable to get this done.  This is
>>>> even after having gone through lspci output and lsmod output with the
>>>> install-minimal dvd running the operating system  The speaker-test utility
>>>> puts out sound in the chroot environment and is silent after first boot
>>>> into the new environment made by the compiled kernel.





More information about the Blinux-list mailing list