Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
ALSA Drivers Compiled out of Kernel
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Kernel & Hardware
View previous topic :: View next topic  
Author Message
blueiceMD
n00b
n00b


Joined: 04 Nov 2006
Posts: 15

PostPosted: Sat Nov 04, 2006 6:39 am    Post subject: ALSA Drivers Compiled out of Kernel Reply with quote

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
View user's profile Send private message
mirojira
l33t
l33t


Joined: 18 Feb 2006
Posts: 685

PostPosted: Sat Nov 04, 2006 7:53 am    Post subject: Reply with quote

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
View user's profile Send private message
blueiceMD
n00b
n00b


Joined: 04 Nov 2006
Posts: 15

PostPosted: Sun Nov 05, 2006 6:25 am    Post subject: Reply with quote

Do your instructions pertain to genkernel users?
_________________
- md
Back to top
View user's profile Send private message
mirojira
l33t
l33t


Joined: 18 Feb 2006
Posts: 685

PostPosted: Sun Nov 05, 2006 8:09 am    Post subject: Reply with quote

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
View user's profile Send private message
blueiceMD
n00b
n00b


Joined: 04 Nov 2006
Posts: 15

PostPosted: Thu Nov 09, 2006 6:03 am    Post subject: Reply with quote

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
View user's profile Send private message
alligator421
Apprentice
Apprentice


Joined: 30 Jul 2003
Posts: 191

PostPosted: Thu Nov 09, 2006 3:10 pm    Post subject: Reply with quote

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
View user's profile Send private message
alligator421
Apprentice
Apprentice


Joined: 30 Jul 2003
Posts: 191

PostPosted: Thu Nov 09, 2006 3:13 pm    Post subject: Reply with quote

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
View user's profile Send private message
blueiceMD
n00b
n00b


Joined: 04 Nov 2006
Posts: 15

PostPosted: Thu Nov 09, 2006 5:02 pm    Post subject: Reply with quote

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
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Kernel & Hardware All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum