LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Software (https://www.linuxquestions.org/questions/linux-software-2/)
-   -   alsa in kernel and package (https://www.linuxquestions.org/questions/linux-software-2/alsa-in-kernel-and-package-228143/)

shanenin 09-08-2004 08:56 AM

alsa in kernel and package
 
If I manuallly want to install alsa, do I still need to build it in my kernel? Would that be a bad thing would they conflict?

Bruce Hill 09-08-2004 09:16 AM

From the instructions at www.alsa-project.org for all soundcards:
Quote:

You must turn on the sound support soundcore module. This is in the kernel. Look in the sound drivers directory and it should be the first option. Most people enable the module setting. That way you can load and unload the module manually if you have multiple soundcards/devices or if you intend to debug or use cutting edge software which may cause your drivers to halt sometimes. Of course it also means you have more control of your system.
So what you need to do is enable that module, and then install ALSA according to the
instructions for your card on their website.

S.B. 09-08-2004 12:08 PM

I have a simple, stupid question:

What is meant by 'Look in the sound drivers directory'? Where can I turn the sound support soundcore module on/off?
I'm running SuSE 9.1

Bruce Hill 09-08-2004 10:46 PM

Quote:

Originally posted by S.B.
I have a simple, stupid question:

What is meant by 'Look in the sound drivers directory'? Where can I turn the sound support soundcore module on/off?
I'm running SuSE 9.1

That is not a stupid question, but if you need to ask it, you're not ready to
recompile your kernel without help. Take a look at this file:
Code:

root@paul:/home/mingdao# pico /usr/src/linux/.config
<snipped unrelated, earlier portion>
#
# Sound
#
CONFIG_SOUND=m  <--- sound support soundcore module
# CONFIG_SOUND_ALI5455 is not set
# CONFIG_SOUND_BT878 is not set
# CONFIG_SOUND_CMPCI is not set
# CONFIG_SOUND_EMU10K1 is not set
# CONFIG_SOUND_FUSION is not set
# CONFIG_SOUND_CS4281 is not set
# CONFIG_SOUND_ES1370 is not set
# CONFIG_SOUND_ES1371 is not set
# CONFIG_SOUND_ESSSOLO1 is not set
# CONFIG_SOUND_MAESTRO is not set
# CONFIG_SOUND_MAESTRO3 is not set
# CONFIG_SOUND_FORTE is not set
# CONFIG_SOUND_ICH is not set
# CONFIG_SOUND_RME96XX is not set
# CONFIG_SOUND_SONICVIBES is not set
# CONFIG_SOUND_TRIDENT is not set
# CONFIG_SOUND_MSNDCLAS is not set
# CONFIG_SOUND_MSNDPIN is not set
# CONFIG_SOUND_VIA82CXXX is not set
# CONFIG_SOUND_OSS is not set
# CONFIG_SOUND_AD1980 is not set
# CONFIG_SOUND_WM97XX is not set

#
<snipped unrelated, later portion>

That is the kernel config file from my computer. I have recompiled the
kernel and removed support for every sound card, and as the ALSA
instructions suggest, compiled soundcore support as a module.

There are two guides that I'll suggest you read to learn about recompilng
your kernel. Read them thoroughly before attempting this. I like the
first one especially well, because it has a lot of information - specifically
how to gather information about your hardware. To recompile your kernel
properly, you must know your hardware intimately.
http://www.digitalhermit.com/linux/K...ild-HOWTO.html
http://www.linuxquestions.org/questi...threadid=73436

Disclaimer: For S.B. - your distribution (SuSE) does not do things in what
has been conveyed to me as "the normal Linux way," so be aware that ymmv.
As for the thread starter, I believe that since Gentoo is a source-based distro,
the same info as for Slackware will apply.

S.B. 09-09-2004 01:35 AM

Thanks for the reply!

I will read the descriptions and see if I can apply the knowledge to some of my problems.


All times are GMT -5. The time now is 12:58 AM.