| From | Sent On | Attachments |
|---|---|---|
| Jorn Argelo | Mar 4, 2004 5:10 am | |
| Randy Pratt | Mar 4, 2004 5:11 am | |
| Robert Watson | Mar 4, 2004 8:59 am | |
| Rahul Siddharthan | Mar 4, 2004 11:41 am | |
| Mathew Kanner | Mar 4, 2004 12:05 pm | |
| Brandon D. Valentine | Mar 4, 2004 2:44 pm | |
| Dan Langille | Mar 4, 2004 3:26 pm | |
| Helge Oldach | Mar 5, 2004 12:36 am | |
| Daniel O'Connor | Mar 5, 2004 1:09 am | |
| Jorn Argelo | Mar 5, 2004 5:05 am | |
| Helge Oldach | Mar 5, 2004 5:08 am | |
| Mathew Kanner | Mar 5, 2004 6:16 am | |
| Daniel O'Connor | Mar 5, 2004 6:40 am | |
| Dag-Erling Smørgrav | Mar 5, 2004 6:56 am | |
| Helge Oldach | Mar 5, 2004 8:33 am | |
| David Raistrick | Mar 5, 2004 8:37 am | |
| David Raistrick | Mar 5, 2004 8:38 am | |
| Mathew Kanner | Mar 5, 2004 8:43 am | |
| David Raistrick | Mar 5, 2004 8:44 am | |
| Helge Oldach | Mar 5, 2004 8:58 am | |
| Daniel Lang | Mar 5, 2004 10:44 am | |
| Brandon D. Valentine | Mar 5, 2004 10:51 am | |
| Mathew Kanner | Mar 5, 2004 10:56 am | |
| John Baldwin | Mar 5, 2004 2:28 pm | |
| Avleen Vig | Mar 5, 2004 6:55 pm | |
| Dan Langille | Mar 5, 2004 6:58 pm | |
| Dan Langille | Mar 5, 2004 7:02 pm | |
| Avleen Vig | Mar 5, 2004 7:02 pm | |
| Jamie Bowden | Mar 5, 2004 9:26 pm | |
| Tijl Coosemans | Mar 6, 2004 4:54 am | |
| Kevin Oberman | Mar 6, 2004 4:54 am | |
| Randy Pratt | Mar 6, 2004 4:54 am | |
| Dag-Erling Smørgrav | Mar 6, 2004 6:05 am | |
| Dag-Erling Smørgrav | Mar 6, 2004 6:06 am | |
| Dag-Erling Smørgrav | Mar 6, 2004 6:07 am | |
| Mathew Kanner | Mar 6, 2004 7:58 am | |
| Helge Oldach | Mar 6, 2004 12:12 pm | |
| Narvi | Mar 7, 2004 11:57 am | |
| Narvi | Mar 7, 2004 12:00 pm | |
| Helge Oldach | Mar 8, 2004 12:47 am | |
| Daniel Lang | Mar 8, 2004 4:59 am |
| Subject: | Standard sbc and pcm support in GENERIC kernel? | |
|---|---|---|
| From: | Mathew Kanner (ma...@cnd.mcgill.ca) | |
| Date: | Mar 6, 2004 7:58:36 am | |
| List: | org.freebsd.freebsd-hackers | |
On Mar 05, Daniel Lang wrote:
Hi,
David Raistrick wrote on Fri, Mar 05, 2004 at 08:27:56AM -0800: [..]
kldload snd_driver
is of course the correct way to do it. FWIW, kldunload snd_driver does /not/ unload all of the modules that kldload snd_driver loads.
[..]
snd_driver is a module that contains _all_ drivers, thus you have the best chance to get sound working. Unloading it, will of course unload the whole module with all drivers. There is no way to leave one of the drivers in the kernel.
I agree, that there is not much documentation which driver module supports which sound device (or I was not successful to dig that up).
However, you can determine the correct module, by subsequently loading and unloading each individual driver module. The one which attached to your sound device and actually works (check /dev/sndstat as well) is obviously the correct one.
Not a very efficient way, but it works. :)
David and Daniel, First let me say that on my 5.x machine, kldunload snd_driver does unload all the modules (and detaches the drivers when applicable). In regards to how hard it is to know which module provides the driver, I've just added to -current the following,
mat@tube$ cat /dev/sndstat
FreeBSD Audio Driver (newpcm)
Installed devices:
pcm0: <CMedia CMI8738> at io 0xb800 irq 11 kld snd_cmi (1p/1r/0v channels duplex
default)
pcm1: <Creative EMU10K1> at io 0xb400 irq 5 kld snd_emu10k1 (4p/2r/0v channels
duplex)
So the installation procedure is, as root.
kldload snd_driver for each kld xxx in the output echo "xxx_load=\"YES\"" >> /boot/loader.conf
Does this seem reasonable?
--Mat
-- In general, a standard is very useful, whether it's de facto or du jour. - Microsoft's Greg Sullivan as misquoted by News.Com





