From owner-freebsd-current@FreeBSD.ORG Mon Oct 4 15:21:45 2004 Return-Path: Delivered-To: freebsd-current@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 3E4B016A4D1 for ; Mon, 4 Oct 2004 15:21:45 +0000 (GMT) Received: from skynet.asgard.jara23.co.uk (asgard.jara23.co.uk [84.92.17.213]) by mx1.FreeBSD.org (Postfix) with ESMTP id ECC1443D45 for ; Mon, 4 Oct 2004 15:21:43 +0000 (GMT) (envelope-from adw@jara23.co.uk) Received: from [10.0.2.2] (nofate.asgard.jara23.co.uk [10.0.2.2]) (authenticated bits=0)i94FLfI7043601; Mon, 4 Oct 2004 16:21:41 +0100 (BST) (envelope-from adw@jara23.co.uk) Message-ID: <41616A84.4090901@jara23.co.uk> Date: Mon, 04 Oct 2004 16:21:40 +0100 From: Andrew Wiles User-Agent: Mozilla Thunderbird 0.8 (Windows/20040913) X-Accept-Language: en-us, en MIME-Version: 1.0 To: "J. W. Ballantine" References: <200410041335.i94DZkh24531@akiva.homer.att.com> In-Reply-To: <200410041335.i94DZkh24531@akiva.homer.att.com> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit X-Virus-Scanned: clamd / ClamAV version 0.75.1, clamav-milter version 0.75c on skynet.asgard.jara23.co.uk X-Virus-Status: Clean cc: freebsd-current@freebsd.org Subject: Re: device snd_ds1 X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: Discussions about the use of FreeBSD-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 04 Oct 2004 15:21:45 -0000 This is because a numeric value in the kernel config file is assumed to be a device count, to use this device write it as: device sound device "snd_ds1" Hope this helps, Andrew D Wiles J. W. Ballantine wrote: > I'm running a 5.3-BETA6 version, and trying to add sound to the system: > > FreeBSD tinlizzie.patmedia.net 5.3-BETA6 > FreeBSD 5.3-BETA6 #2: Thu Sep 30 17:33:55 EDT 2004 i386 > > and following the man snd_ds1 and NOTES, I added: > > device sound > device snd_ds1 > > at the end of the kernel configuration file. > > But, when I try to buildkernel KENRCONF=TINLIZZIE, I get: > > >>>>stage 1: configuring the kernel > > -------------------------------------------------------------- > cd /usr/src/sys/i386/conf; PATH=/usr/obj/usr/src/i386/legacy/usr/sbin:/usr/obj > /usr/src/i386/legacy/usr/bin:/usr/obj/usr/src/i386/legacy/usr/games:/usr/obj/us > r/src/i386/usr/sbin:/usr/obj/usr/src/i386/usr/bin:/usr/obj/usr/src/i386/usr/gam > es:/sbin:/bin:/usr/sbin:/usr/bin config -d /usr/obj/usr/src/sys/TINLIZZIE > /usr/src/sys/i386/conf/TINLIZZIE > config: Error: device "snd_ds" is unknown > config: Error: device "snd_ds" does not take a count > config: 2 errors > *** Error code 1 > > One of the early NOTES file had the snd_ds1 enclosed in quotes ("), > so I tried that and the kernel built. > > My question is are the man page and NOTES wrong and the quotes are > needed, or do I need to do something else to get the snd_ds1 driver > built into the kernel? > > Thanks > > Jim > > > _______________________________________________ > freebsd-current@freebsd.org mailing list > http://lists.freebsd.org/mailman/listinfo/freebsd-current > To unsubscribe, send any mail to "freebsd-current-unsubscribe@freebsd.org" > -- > This e-mail has been scanned by asgard.jara23.co.uk with ClamAV for known viruses. > For more infomration on ClamAV see http://www.clamav.net/ > > asgard.jara23.co.uk - Building the future on the ashes of the past. -- This e-mail has been scanned by asgard.jara23.co.uk with ClamAV for known viruses. For more infomration on ClamAV see http://www.clamav.net/ asgard.jara23.co.uk - Building the future on the ashes of the past.