Re: [linux-audio-user] ALSA and usb-audio

New Message Reply About this list Date view Thread view Subject view Author view Other groups

Subject: Re: [linux-audio-user] ALSA and usb-audio
From: Joseph Zitt (jzitt_AT_metatronpress.com)
Date: Wed Jul 31 2002 - 02:31:59 EEST


OK, getting much closer now: I have ALSA installed to the point that I
can successfully play a WAV file with aplay.

I understand that as part of the next step I have to comment out or
remove lines from /etc/rc.d/rc.sysinit to keep the system from
installing the OSS drivers as it boots. I'm not clear, however, on
which lines to comment out. Grepping through the file, I see that this
chunk (lines 393 to 411 on my systems) is the only area where the
strings "snd" or "sound" occur:

# 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" ] ; then
      action $"Loading sound module ($alias): " modprobe sound
      RETURN=$?
  fi
  alias=`/sbin/modprobe -c | awk '/^alias sound-slot-0 / { print $3 }'`
  if [ -n "$alias" -a "$alias" != "off" ] ; then
      action $"Loading sound module ($alias): " modprobe sound-slot-0
      RETURN=$?
  fi
fi

Should I remove any or all of these?

I also understand that I should comment out some of the
/etc/rc.d/init/d/halt file. I'm guessing that it's in this chunk:

# Save mixer settings, here for lack of a better place.
grep -q "\(sparcaudio\|sound\)" /proc/devices
if [ $? = 0 -a -x /bin/aumix-minimal ]; then
   runcmd $"Saving mixer settings" /bin/aumix-minimal -f /etc/.aumixrc
-S
fi

...but not sure.

Any advice?

-- 
| josephzitt_AT_josephzitt.com                 http://www.josephzitt.com/ |
| http://www.metatronpress.com/jzitt/   http://www.mp3.com/josephzitt/ |
| == New book: Surprise Me with Beauty: the Music of Human Systems  == |
| Comma / Gray Code             Silence: the John Cage Discussion List |


New Message Reply About this list Date view Thread view Subject view Author view Other groups

This archive was generated by hypermail 2b28 : Wed Jul 31 2002 - 02:42:04 EEST