Thursday Jan 15 16:44:36 -0500 2004 Joe Budafuco <[EMAIL PROTECTED]> wrote:
> Hi:
> 
> Just finished installing Kernel 2.6.1 and the Alsa
> module.
> 
> Sound works great but everytime I reboot (and the
> modules are reloaded) the volumes are all set to zero
> and muted.  I have to run alsamixer and turn them back
> on.  Is there a config file for alsamixer that can be
> read when the module is loaded.  Looking at the man
> page for alsamixer I don't see and command line
> options that can set the volumes.
> 
> Any help here would be appreciated.
> 
> Thanks

I am running kernel 2.6.1 on Fedora Core 1. I installed 2.6.1 according to
the instructions in fedoranews.org (and took about 15 minutes). I
downloaded alsa (user space) components from freshrpms.net and finally
after reboot run alsaconf 1.0.1 (which set initial volume levels -- and
which it won't do one doesn't allow editing /etc/modprobe.conf...)

alsaconf edited /etc/modprobe.conf as:

# --- BEGIN: Generated by ALSACONF, do not edit. ---
# --- ALSACONF verion 1.0.1 ---
alias snd-card-0 snd-intel8x0
alias sound-slot-0 snd-intel8x0
# --- END: Generated by ALSACONF, do not edit. ---

I modified by hand:

# --- BEGIN: Generated by ALSACONF, do not edit. ---
# --- ALSACONF verion 1.0.1 ---
alias snd-card-0 snd-intel8x0
alias sound-slot-0 snd-intel8x0

install sound-slot-0 /usr/sbin/alsactl restore >/dev/null 2>&1 || :

alias sound-service-0-0 snd-mixer-oss
alias sound-service-0-1 snd-seq-oss
alias sound-service-0-3 snd-pcm-oss
alias sound-service-0-8 snd-seq-oss
alias sound-service-0-12 snd-pcm-oss
# --- END: Generated by ALSACONF, do not edit. ---

(I should not have edited the ALSACONF block, but...)

The `install sound-slot-0...' should read the previously saved
mixer settings. The interesting thing here is that 
alsa-utils-1.0.1-1.fr.i386.rpm contains:

/etc/rc.d/init.d/alsactl
/etc/rc0.d/S01alsactl
/etc/rc6.d/S01alsactl

which runs ...alsactl store... 

Now when I booted this machine, all mixer levels were zero.
There is at least 3 possibilities:

1) install sound-slot-0 /usr/sbin/alsactl restore >/dev/null 2>&1 || :
   doesn't work

2) At shutdown case if sound modules are never loaded, `restore' is not
   done, and `store' stores zero values (if alsactl always loads modules
   this doesn't happen)

3) At shutdown, the S01alsactl start is never run, so settings are never stored.

4) some other reason ;)


My sound usage is so minimal (and I have so many production windows open
just now) that I'm not interested to investigate this more just now. I hope
this helps others with same problems.

Tomi



-------------------------------------------------------
The SF.Net email is sponsored by EclipseCon 2004
Premiere Conference on Open Tools Development and Integration
See the breadth of Eclipse activity. February 3-5 in Anaheim, CA.
http://www.eclipsecon.org/osdn
_______________________________________________
Alsa-user mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/alsa-user

Reply via email to