Standard sbc and pcm support in GENERIC kernel?

Matthew George mdg at secureworks.net
Fri Mar 5 14:54:07 PST 2004


On Wed, 3 Mar 2004, Freddie Cash wrote:

>
> I didn't really know which sound modules to use either.  Then someone
> mentioned /dev/sndstat to me and pointed me to the snd_driver.ko (5.x)
> and snd.ko (4.x) modules.  Loading this module loads every sound
> module that FreeBSD supports.  Then you look in the sndstat file to
> see which driver(s) the kernel determined works for your hardware.
> Then you just load those driver(s).  :)
>

Unfortunately, it's not always immediately obvious even with /dev/sndstat:

$ cat /dev/sndstat
FreeBSD Audio Driver (newpcm)
Installed devices:
pcm0: <Nvidia nForce> at io 0xe100, 0xe000 irq 11 bufsz 16384 (1p/1r/0v channels duplex default)


I was able to match the Nvidia nForce text to the output of `strings
snd_ich.ko`, but in this instance the output wasn't immediately indicative
of which module was actually being used ... =\

-- 
Matthew George
SecureWorks Technical Operations



More information about the freebsd-stable mailing list