PDA

View Full Version : Alsa in kernel 2.6



da_x
12-28-2003, 05:51 PM
:( HI all
I would like to install kernel 2.6 on my knoppix 3.3 and i would like to know how i make alsa to work because i didn't manage to do it does i need to set alsa in my kernel config as module or static .
I ve download the last driver from alsa but when i compile it i have :

Compiler: gcc (GCC) 3.2.3 (Debian)
checking for built-in ALSA... "yes"
configure: error: You have built-in ALSA in your kernel

:roll:
Thx

debi
12-28-2003, 07:52 PM
Hi,
I'm also despairing with Alsa and kernel 2.6.
I have built it as a module, but i think it doesnt matter.
You have alsa built-in in your kernel so you dont need to download the driver again.
Also dont forget to check if the modules are loaded.

For my part they are loaded and i am in the audio group but there is no sound at all. Have i forgotten something. Is there any howto?

Stephen
12-28-2003, 09:08 PM
Do either of you have alsa-base, alsa-utils and alsaconf installed? You need these in addition to compiling the modules in the kernel.

da_x
12-28-2003, 10:14 PM
In fact i 'd rather not to compile them in kernel because i i can t upgrade them :idea:

Stephen
12-28-2003, 10:18 PM
In fact i 'd rather not to compile them in kernel because i i can t upgrade them :idea:

That is the way you do it with kernel 2.6 you do not need to compile the modules seperately anymore. This however does not stop you from using the latest alsa you just do not have to compile the modules everytime you upgrade alsa you just upgrade the base package the kernel uses its own driver modules.

da_x
12-30-2003, 01:53 AM
thx
i ve got sound now but i need to be root to listen music :twisted:

Stephen
12-30-2003, 02:30 AM
thx
i ve got sound now but i need to be root to listen music :twisted:

Are you a member of the audio group check with groups in an console window if not then as root adduser user_name audio and logout and back in for the change to take effect.

debi
12-30-2003, 09:17 PM
I installed the packages too, but the /etc/init.d/alsa file is missing. There can i find it?

Stephen
12-30-2003, 10:17 PM
I installed the packages too, but the /etc/init.d/alsa file is missing. There can i find it?

Which packages did you install and what versions are they? I did not have to do anything for that file it was already installed when the packages were and the same should have happened on your machine.

da_x
12-31-2003, 01:03 PM
thx all
when i compile kernel i put alsa as module
and i download the last alsa lib and util and i install them don't try to iinstall alsa-driver it's already on kernel and i reinstall xmms

debi
12-31-2003, 01:40 PM
I try to use version 1.0.0rc2
i've installed first alsa-lib and then alsa-utils. But the file is missing.

Stephen
12-31-2003, 08:48 PM
I try to use version 1.0.0rc2
i've installed first alsa-lib and then alsa-utils. But the file is missing.

You need the alsa-base I mentioned above as well that contains the file you need.



snipped all kinds of not revelant output

HappyTux:/home/stephen# dpkg -S alsa
alsa-base: /usr/share/doc/alsa-base
alsa-base: /etc/init.d/alsa
alsa-base: /usr/share/doc/alsa-base/changelog.Debian.gz
libasound2: /usr/share/alsa/cards/GUS.conf
alsa-modules-2.4.23.031202: /lib/modules/2.4.23.031202/alsa/snd-emux-synth.o
alsa-base: /usr/share/doc/alsa-base/copyright
alsa-base: /etc/alsa/modutils
alsa-modules-2.4.23.031202: /lib/modules/2.4.23.031202/alsa/snd-seq-midi-event.o
alsa-modules-2.4.23.031202, alsa-base: /var/lib/alsa-base
alsa-base: /etc/devfs/conf.d/alsa
libasound2: /usr/share/alsa/cards/ICE1712.conf


As you can see the file is in the alsa-base package.

debi
01-01-2004, 02:18 AM
Well, the base package was already there, but i removed it dit a purge and reinstalled it again. Now the file is there and i have sound.

THANKS