[PLUG] soundcard annoyance

Vincent Yau v_yau3 at hotmail.com
Sun Nov 14 05:52:22 UTC 2004


Hi:

I have a box that I upgraded to Fedora 2 (kernel 2.6.8) earlier
this summer.  I noticed after I upgraded that my soundcard
won't work until I run a tool from the gnome menu
that detects soundcard by playing a sound.  And then my audio would work 
fine.
I did not play much attention to it since I seldom  need the sound function
on this box.

This weekend, I upgraded another box to Fedora 3 (kernel 2.6.9) and
notice the exact same problem.  No sound until I
run that soundcard detection tool from the menu (which is a python script).

Running "alsactl restore" from the command line seems
to help (so I put his line in /etc/rc.d/rc.local) but not always reliable.
The most reliable mechanism is still running that soundcard detection tool 
under
my menu.

lspci detects the right sound card on both boxes.

/etc/modprobe.conf has a bunch of lines that
seems to relate to setting up the sound card.  But evidently,
it isn't working very well.

------------- modprobe.conf  -------------

alias parport_lowlevel parport_pc
alias usb-controller uhci-hcd
options sb support=1
alias eth0 via-rhine
alias usb-controller1 ehci-hcd
alias snd-card-0 snd-via82xx
install sound-slot-0 /sbin/modprobe --first-time --ignore-install 
sound-slot-0 && { /bin/aumix-minimal -f /etc/.aumixrc -L >/dev/null 2>&1 || 
:; }
remove sound-slot-0 { /bin/aumix-minimal -f /etc/.aumixrc -S >/dev/null 2>&1 
|| :; } ; /sbin/modprobe -r --first-time --ignore-remove sound-slot-0
options snd-card-0 index=0
install via82cxxx_audio /sbin/modprobe --ignore-install via82cxxx_audio && 
/usr/sbin/alsactl restore >/dev/null 2>&1 || :
remove via82cxxx_audio { /usr/sbin/alsactl store >/dev/null 2>&1 || : ; }; 
/sbin/modprobe -r --ignore-remove via82cxxx_audio
-----------------------------------------------------------


Can someone suggest why my box does not have audio until
I run that soundcard detection program?  Any tips on how
to fix this will be great.  Thanks!

--Vincent

_________________________________________________________________
Get ready for school! Find articles, homework help and more in the Back to 
School Guide! http://special.msn.com/network/04backtoschool.armx




More information about the PLUG mailing list