Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 2 Mar 2005 12:14:57 +0100
From:      Marwan Burelle <Marwan.Burelle@lri.fr>
To:        Rob <spamrefuse@yahoo.com>
Cc:        FreeBSD Stable <freebsd-stable@freebsd.org>
Subject:   Re: kernel config: sound device with or without quotes
Message-ID:  <20050302111457.GB97448@pc5-179.lri.fr>
In-Reply-To: <20050302104641.44708.qmail@web54004.mail.yahoo.com>
References:  <20050302104641.44708.qmail@web54004.mail.yahoo.com>

next in thread | previous in thread | raw e-mail | index | archive | help

--WhfpMioaduB5tiZL
Content-Type: text/plain; charset=us-ascii
Content-Disposition: inline
Content-Transfer-Encoding: quoted-printable

On Wed, Mar 02, 2005 at 02:46:41AM -0800, Rob wrote:
> In /usr/src/sys/conf/NOTES is the list of supported
> sound devices. I get confused by the pressence and
> absence of quotes here. Are these quotes only
> decoration, or really needed. For example:
>=20
> device          "snd_ad1816"
> device          snd_cmi
>=20
> If they are needed, it confuses me why one sound
> device needs quotes, and another doesn't?
>=20
> How does that affect the use of loading them in
> /boot/loader.conf? How about following two:
>=20
> snd_ad1816_load=3D"YES"
> snd_cmi_load=3D"YES"
>=20
> Is that OK?

Yes, but this two different ways of configuring sound.

If you add "device snd_..." in your kernel's config file, you add it
directly to the kernel.

If you use loader.conf, you load the module at boot time, you don't
need to recompile your kernel.

I'm not sure, but if you directly add device to your kernel, the
module won't be built, and even if it's built, you have no reason to
load the module.

My 2c ...

--=20
Burelle Marwan,
Equipe Bases de Donnees - LRI
http://www.cduce.org
(burelle@lri.fr | Marwan.Burelle@ens.fr)
--WhfpMioaduB5tiZL
Content-Type: application/pgp-signature
Content-Disposition: inline

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.0 (FreeBSD)

iD8DBQFCJaAxI+2UvUKfgvgRAvnhAJ9e5kb5JfEwLK6mA3W/gK/YKUyoOgCfV6hF
UQ9goxqY3zI7QdIBVjqSYS8=
=swMi
-----END PGP SIGNATURE-----

--WhfpMioaduB5tiZL--



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