From owner-freebsd-questions@FreeBSD.ORG Mon Dec 13 04:01:52 2004 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 0D9C016A4CE for ; Mon, 13 Dec 2004 04:01:52 +0000 (GMT) Received: from out004.verizon.net (out004pub.verizon.net [206.46.170.142]) by mx1.FreeBSD.org (Postfix) with ESMTP id 9474143D46 for ; Mon, 13 Dec 2004 04:01:51 +0000 (GMT) (envelope-from reso3w83@verizon.net) Received: from ringworm.mechee.com ([4.26.84.7]) by out004.verizon.net (InterMail vM.5.01.06.06 201-253-122-130-106-20030910) with ESMTP id <20041213040150.EKMX8290.out004.verizon.net@ringworm.mechee.com> for ; Sun, 12 Dec 2004 22:01:50 -0600 Received: by ringworm.mechee.com (Postfix, from userid 1001) id 9AC192CE766; Sun, 12 Dec 2004 17:39:03 -0800 (PST) From: "Michael C. Shultz" To: freebsd-questions@freebsd.org Date: Sun, 12 Dec 2004 17:39:02 -0800 User-Agent: KMail/1.7.1 References: <41BCF040.4090202@vesterman.com> In-Reply-To: <41BCF040.4090202@vesterman.com> MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: 7bit Content-Disposition: inline Message-Id: <200412121739.02589.reso3w83@verizon.net> X-Authentication-Info: Submitted using SMTP AUTH at out004.verizon.net from [4.26.84.7] at Sun, 12 Dec 2004 22:01:50 -0600 Subject: Re: sound works with kldload, but not /boot/loader.conf? X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 13 Dec 2004 04:01:52 -0000 On Sunday 12 December 2004 05:28 pm, Robert William Vesterman wrote: > Hi, > > I just tried playing a WAV file using xmms (this is the first time > I've tried anything with sound on my installation). It issued a very > generic error message, telling me things like "make sure your device > is installed". I did some research (mostly in the FreeBSD handbook), > and eventually got my sound working by doing a "kldload snd_driver". > > I then changed /boot/loader.conf to contain the line: > > snd_driver_load="YES" > > So that I wouldn't have to "kldload snd_driver" every time. After > rebooting, xmms acted like it was playing the song - no error > message, equalizer lights happily jumping around, et cetera - but no > sound came out. > > If I try "kldload snd_driver" at this point, it says that snd_driver > is already loaded. If I comment out the line from /boot/loader.conf, > reboot and do a "kldload snd_driver", the sound works fine (as it did > before). > > So, am I doing something wrong? Is there a way to get the > /boot/loader.conf line to work? Is there anything else I could > investigate? > > If it's just screwed up and that's all there is to it, could I just > manually put "kldload snd_driver" into some automatic startup script? > If so, what is the appropriate script? > > Thanks, > > Bob Vesterman. > I use /usr/local/etc/rc.d/START.sh taht conatins the following: echo kldload snd_driver kldload snd_driver -Mike