Re: device snd_ds1

From: Andrew Wiles <adw_at_jara23.co.uk>
Date: Mon, 04 Oct 2004 16:21:40 +0100
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_at_freebsd.org mailing list
> http://lists.freebsd.org/mailman/listinfo/freebsd-current
> To unsubscribe, send any mail to "freebsd-current-unsubscribe_at_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.
Received on Mon Oct 04 2004 - 13:21:45 UTC

This archive was generated by hypermail 2.4.0 : Wed May 19 2021 - 11:38:15 UTC