Date: Mon, 15 Sep 2003 01:02:19 -0400 From: jason <jason@ec.rr.com> To: liuyang99@earthlink.net Cc: freebsd-questions@freebsd.org Subject: Re: trouble with kernel Message-ID: <3F6547DB.9070709@ec.rr.com> In-Reply-To: <E19ylG9-00044S-00@scaup.mail.pas.earthlink.net> References: <E19ylG9-00044S-00@scaup.mail.pas.earthlink.net>
next in thread | previous in thread | raw e-mail | index | archive | help
Charlie wrote: >if i am trying to add my sound card device, and add the line device pcm into >kernel do i have to recompile it to make it work and if so how do i recompile? >_______________________________________________ >freebsd-questions@freebsd.org mailing list >http://lists.freebsd.org/mailman/listinfo/freebsd-questions >To unsubscribe, send any mail to "freebsd-questions-unsubscribe@freebsd.org" > > > You only need to recompile if you want the driver in the kernel. If you check /boot/kernel there are modules that can be loaded dynamicly so you never need to reboot to add or upgrade drivers(except for agp). If you have a sound blaster the best bet would be to add the line snd_pcm_load="YES" to /boot/loader.conf. This must be done as root. This will cause the driver to be loaded at every boot. Use $kldload snd_pcm.ko to load the driver now. Then use $kldstat to see if the driver is loaded. If that is not the driver you can keep loading and unloading, or check the document for which one to load. If you don't care and just want it to work use $kldload snd_driver.ko and snd_driver_load="YES". This will load all the supported sound drivers and if your card is supported you should now here the music. Check the handbook for more info and for details on getting multichannel sound if you want it, and everything you need to recompile if you want to. Jason
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?3F6547DB.9070709>