Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 04 Oct 2004 16:21:40 +0100
From:      Andrew Wiles <adw@jara23.co.uk>
To:        "J. W. Ballantine" <jwb@homer.att.com>
Cc:        freebsd-current@freebsd.org
Subject:   Re: device snd_ds1
Message-ID:  <41616A84.4090901@jara23.co.uk>
In-Reply-To: <200410041335.i94DZkh24531@akiva.homer.att.com>
References:  <200410041335.i94DZkh24531@akiva.homer.att.com>

next in thread | previous in thread | raw e-mail | index | archive | help
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.



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?41616A84.4090901>