Subject: Re: Sound Blaster 16 PnP
To: Gustavo Pamplona <pamplona@uai.com.br>
From: Hubert Feyrer <feyrer@rfhs8012.fh-regensburg.de>
List: tech-kern
Date: 05/26/2000 04:32:23
On Thu, 25 May 2000, Gustavo Pamplona wrote:
> All right, is everything configured, but when I boot the NetBSD system, at
> the momment of probbing the 'sb' device, the line input of my Sound Blaster
> board, go to the mute state.

AFAIK there's now way to tune this from the kernel config. 

What I've done is tune my audio and mixer config (e.g. with xmmix,
audioctl, mixerctl, ...), then (as root):

  audioctl -a >/etc/audio.conf
  mixerctl -a >/etc/mixer.conf

and put the following into rc.local to restore the settings on each boot:

  if [ -f /etc/mixer.conf ]; then
        echo -n ' mixer'; /usr/bin/mixerctl -w `cat /etc/mixer.conf` >/dev/null
  fi
  if [ -f /etc/audio.conf ]; then
        echo -n ' audio'; /usr/bin/audioctl -w `cat /etc/audio.conf`  >/dev/null 2>&1
  fi


 - Hubert

-- 
NetBSD - because Unix isn't just #include <linux.h>, i386, ELF, ...!