View previous topic :: View next topic |
Author |
Message |
blueiceMD n00b
Joined: 04 Nov 2006 Posts: 15
|
Posted: Sat Nov 04, 2006 6:39 am Post subject: ALSA Drivers Compiled out of Kernel |
|
|
I compiled ALSA Sound Card driver into my Kernel and had some issues with them. I recompiled the Kernel to be without the driver. However, when I issue an LSMOD command, the modules associated with the AlSA Drviers listed:
snd_seq_device 5260 1 snd_seq
snd_pcm_oss 29984 0
snd_mixer_oss 13312 1 snd_pcm_oss
Does anyone know what is going on here? Also, what is the configuration file where modules to be loaded are specified? I remember editing it but do not recall where it is located. Thanks a lot for any assistance. _________________ - md |
|
Back to top |
|
|
mirojira l33t
Joined: 18 Feb 2006 Posts: 685
|
Posted: Sat Nov 04, 2006 7:53 am Post subject: |
|
|
If you want to use alsa-driver, in menuconfig enable Sound card support only. OSS and ALSA must be disabled. Add ALSA_CARDS to /etc/make.conf. Recompile kernel. Compile alsa-headers, alsa-lib, alsa-utils and alsa-driver. Run alsaconf and alsamixer. More info in http://www.gentoo.org/doc/en/alsa-guide.xml |
|
Back to top |
|
|
blueiceMD n00b
Joined: 04 Nov 2006 Posts: 15
|
Posted: Sun Nov 05, 2006 6:25 am Post subject: |
|
|
Do your instructions pertain to genkernel users? _________________ - md |
|
Back to top |
|
|
mirojira l33t
Joined: 18 Feb 2006 Posts: 685
|
Posted: Sun Nov 05, 2006 8:09 am Post subject: |
|
|
blueiceMD wrote: | Do your instructions pertain to genkernel users? |
Yes. I used to be genkernel user in the past too and it had worked. |
|
Back to top |
|
|
blueiceMD n00b
Joined: 04 Nov 2006 Posts: 15
|
Posted: Thu Nov 09, 2006 6:03 am Post subject: |
|
|
Hello, I have followed your instructions (aka the ones on the online guide), and there is still no sound coming out of my speakers. I do, however, here clicking noises from my speakers when I adjust the volume in the mixer, so there seems to be some sort of signal going through. I was wondering if you could suggest any other diagnostics to help remedy this problem. I would appreciate it a lot. Thanks. _________________ - md |
|
Back to top |
|
|
alligator421 Apprentice
Joined: 30 Jul 2003 Posts: 191
|
Posted: Thu Nov 09, 2006 3:10 pm Post subject: |
|
|
What's the driver of your soundcard ?
I suppose you want to use ALSA and not OSS.
/etc/modules.d/alsa is the file you should configure.
From the .config of kernel
Quote: |
#
# Sound
#
CONFIG_SOUND=m
#
# Advanced Linux Sound Architecture
#
# CONFIG_SND is not set
#
# Open Sound System
#
# CONFIG_SOUND_PRIME is not set
|
specify your sound card driver in /etc/make.conf
example :
Quote: |
ALSA_CARDS="intel8x0"
|
and emerge alsa-driver |
|
Back to top |
|
|
alligator421 Apprentice
Joined: 30 Jul 2003 Posts: 191
|
Posted: Thu Nov 09, 2006 3:13 pm Post subject: |
|
|
You should have something like that (depends on soundcard driver of course) :
lsmod
Quote: |
snd_seq_oss 29696 0
snd_seq_midi_event 5888 1 snd_seq_oss
snd_seq 43856 4 snd_seq_oss,snd_seq_midi_event
snd_seq_device 6668 2 snd_seq_oss,snd_seq
snd_pcm_oss 38176 0
snd_mixer_oss 14848 1 snd_pcm_oss
snd_intel8x0 27676 0
snd_ac97_codec 91172 1 snd_intel8x0
snd_ac97_bus 1920 1 snd_ac97_codec
snd_pcm 65416 3 snd_pcm_oss,snd_intel8x0,snd_ac97_codec
snd_timer 17412 2 snd_seq,snd_pcm
snd 43876 9 snd_seq_oss,snd_seq,snd_seq_device,snd_pcm_oss,snd_mixer_oss,snd_intel8x0,snd_ac97_codec,snd_pcm,snd_timer
soundcore 6880 1 snd
snd_page_alloc 7816 2 snd_intel8x0,snd_pcm
|
|
|
Back to top |
|
|
blueiceMD n00b
Joined: 04 Nov 2006 Posts: 15
|
Posted: Thu Nov 09, 2006 5:02 pm Post subject: |
|
|
Alligator421, I have the line you mentioned appropriately set in /etc/make.conf, but I am not sure which .conf kernel file you are refering to. Can you please give the complete path so that I can check it for what you posted?
Also, here is my output for lsmod.
snd_intel8x0m 12044 0
snd_intel8x0 23196 0
snd_ac97_codec 67620 2 snd_intel8x0m,snd_intel8x0
snd_ac97_bus 2176 1 snd_ac97_codec
snd_pcm 47236 3 snd_intel8x0m,snd_intel8x0,snd_ac97_codec
snd_timer 14852 2 snd_seq,snd_pcm
snd 29432 7 snd_seq,snd_seq_device,snd_intel8x0m,snd_intel8x0,snd_ac97_codec,snd_pcm,snd_time
As you can see, it has considerably less items than what you indicate. Do you have any idea what is critical and missing? Thanks a lot. _________________ - md |
|
Back to top |
|
|
|