Stan’s Obligatory Blog


Can you hear me now?

Filed under: — stan @ 2:44 pm

Put the old ISA SoundBlaster card back into moe. Had to put these lines into the kernel config:

device          pcm
device          sbc0    at isa? port 0x220 irq 10 drq 1 flags 0x15

Also, I had to go into the BIOS and tell it to reserver IRQ 10 for ‘legacy ISA’.

Then, ‘dmesg’ showed:

pcm0:  port 0xe400-0xe403,0xe000-0xe003,0xdc00-0xdcff irq 11 at device 7.5 on pci0
sbc0:  at port 0x220-0x22f irq 10 drq 1 flags 0x15 on isa0
pcm1:  on sbc0

Note that the SoundBlaster is on pcm1. Now I checked it:

moe# cd /dev
moe# cat sndstat
FreeBSD Audio Driver (newpcm)
Installed devices:
pcm0:  at io 0xdc00 irq 11 (1p/1r/0v channels duplex)
pcm1:  at io 0x220 irq 10 drq 1:5 bufsz 4096d (1p/1r/0v channels duplex)

When I tried ’sh MAKEDEV snd0′, nothing worked, but when I noticed that the SB was on pcm1, I did ’sh MAKEDEV snd1′ and then it all started working.

Powered by WordPress