Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations IamaSherpa on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

No more Alsaconf

Status
Not open for further replies.

redletterrocko

Programmer
Aug 8, 2005
53
US
Alright, I USED to know where to do this, but that's before I didn't touch a computer for two years except to email (was in various third world countries...) Anyway, I have my sound working on my new Inspiron 6000 (you'll remember the cd audio post I made a bit ago), but for some reason, my alsaconf isn't staying permanent, so everytime I boot my computer, I have to rerun alsaconf and insert the driver for my Intel ac97 sound card. Where is the file that I put this in so that it loads automatically? I thought it was /etc/modules, but I'm afraid to put that in there for fear that I may barnes something completely. Could someone help me out?
 
I use Debian. However, there is nothing in /usr/share/alsa that looks of any use to me. There is a alsa.conf script that looks like it runs when alsaconf is run through command line. Where do I just tell it to load the module on startup. I see that it recognizes the device on boot, and alsa starts, but the two don't seem to get married until I say "You may now kiss the bride." I just want all that automated.
 
I have an alsa starter in /etc/init.d/alsa and it is loaded at /etc/rc3.d/S12alsa and also in /etc/rc5.d/S12alsa

BTW, I use Ubuntu (debian based).

Cheers.

Chacal, Inc.[wavey]
 
That looks like a script as well. What exactly do I need to put in the /etc/init.d/alsa script that would load my driver. It's the snd_intel8x0 driver that needs to be loaded and configured. What do I need to get that to go on startup?
 
if you want to load the module snd_intel8x0 at boot time you need to insert it in the /etc/modules.conf

BTW, I have 2 files:

/etc/modprobe.d/alsa-base
/etc/modutils/alsabase

in both files I have these lines at the end of the files:
[tt]
# Prevent abnormal drivers from grabbing index 0
options snd-atiixp-modem index=-2
options snd-bt87x index=-2
options snd-intel8x0m index=-2
options snd-via82xx-modem index=-2
[/tt]

I use the same module BTW.



Chacal, Inc.[wavey]
 
I just issue a [tt]grep -R snd-intel8x0 *[/tt] in /etc and I got:

Code:
modprobe.d/alsa-base:install snd-intel8x0 modprobe --ignore-install snd-intel8x0 && /lib/alsa/modprobe-post-install snd-intel8x0
modprobe.d/alsa-base:options snd-intel8x0m index=-2
modutils/alsa-base:post-install snd-intel8x0 /lib/alsa/modprobe-post-install snd-intel8x0
modutils/alsa-base:options snd-intel8x0m index=-2

do you have them?

Chacal, Inc.[wavey]
 
I have all those entries, and yet I still have to run alsaconf in order for my sound card to work. alsaconf must be doing something else that I don't know about, because it doesn't work. However, I did notice this in the output of the console when I did it.

modinfo: could not find module snd
modinfo: could not find module snd
modinfo: could not find module snd
Unloading ALSA sound driver modules: snd-intel8x0 snd-ac97-codec


And then the rest of the output is after selecting it. I have it loading as a module instead of built into the kernel because alsaconf NEVER sees it when it's built in, and it still won't work. After viewing the dmesg, ALSA can't find and soundcards, and later on down the line, the sound drivers are loaded. Looks like I probably just need to rearrange the order in which they are called. What does everyone else think?
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top