Just an FYI...

I am working with Dell Precision 210s with Crystal Semiconductor 4232 Sound
cards.
My Red Hat Linux (version 7.1 and 7.2) kept loading a sound module CS4232
and reconfiguring my /etc/modules.conf file to add in info for the CS4232
EVEN AFTER I successfully installed and configured the Alsa sound drivers
for the CS4236  (4236 not 4232) sound card. 

I would install the Alsa drivers and test the sound - it would work
perfectly and then reboot only to have the OS, at boot time, load the old
CS4232 module in and alter the /etc/modules.conf file.

Finally I found out that the /etc/rc.d/rc.sysinit script that runs before
the runlevel scripts had a ISAPNP TWEAK section that ran "sndconfig
--mungepnp" and that altered the /etc/modules.conf file. I have no idea what
--mungepnp does because I haven't looked at the snconfig source yet... but
it was the root of my problems. I commented out those 3 lines and now the
Alsa sound driver snd-cs4232.o module loads perfectly.

Here is the code section from /etc/rc.d/rc.sysinit:

# tweak isapnp settings if needed.
if [ -n "$PNP" -a  -f /proc/isapnp -a -x /sbin/sndconfig ]; then
    /sbin/sndconfig --mungepnp >/dev/null 2>&1
fi

# Load sound modules iff they need persistent DMA buffers
if grep -q "options sound dmabuf=1" /etc/modules.conf 2>/dev/null ; then
  RETURN=0
  alias=`/sbin/modprobe -c | awk '/^alias sound / { print $3 }'`
  if [ -n "$alias" -a "$alias" != "off" -a "$alias" != "/sbin/modprobe -c
cs4232"] ; then
      action $"Loading sound module ($alias): " modprobe $alias
      RETURN=$?
  fi
  alias=`/sbin/modprobe -c | awk '/^alias sound-slot-0 / { print $3 }'`
  if [ -n "$alias" -a "$alias" != "off" -a "$alias != "/sbin/modeprobe -c
cs4232"] ; then
      action $"Loading sound module ($alias): " modprobe $alias
      RETURN=$?
  fi


I included more than just the ISAPNP TWEAK section just for context..... I
added 3 # marks like this to stop it from messing with my /etc/modules.conf

# tweak isapnp settings if needed.
#if [ -n "$PNP" -a  -f /proc/isapnp -a -x /sbin/sndconfig ]; then
#    /sbin/sndconfig --mungepnp >/dev/null 2>&1
#fi

Hope that helps someone,
Chris


-------------------------------------------------------
This sf.net email is sponsored by: OSDN - Tired of that same old
cell phone?  Get a new here for FREE!
https://www.inphonic.com/r.asp?r=sourceforge1&refcode1=vs3390
_______________________________________________
Alsa-user mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/alsa-user

Reply via email to