You are here: DesktopBSD Wiki Portal » doc » snd-driver
If you would like to clean up the unused driver loaded on system start-up, you can do as follows:
$more /dev/sndstat
This will give something like:
FreeBSD Audio Driver (newpcm) Installed devices: pcm0: <SiS 7012> at io 0xd400, 0xd800 irq 18 bufsz 16384 kld snd_ich (1p/1r/4v channels duplex default)
The interesting part here is what it says pcm0 is (in this case the SiS 7012) and the “snd_ich” right after kld. The latter is the name of the driver currently attached to your soundcard.
You can now modify your /boot/loader.conf : Comment out the line: snd_driver_load=“YES” Add the line: snd_ich_load=“YES”
Notice that I'm using snd_ich here, because my card uses that driver. If your output from the above $more /dev/sndstat gives you another driver name, you should of course use that.
Now you system doesn't load all drivers, but just the one needed.
/A