Quote:
Originally posted by narose
My sound card, Sound Blaster 16 I believe, isn't Linux supported. Where can I find a generic sound card driver for Linux?
Thanx!
|
(note some of this stuff is wrapped where it shold be one line)
This card has been supported with the oss sb module for -- im gona guess about 15 years
modprobe soundcore;modprobe soundlow;modprobe sb io=0x220 irq=5 dma=1 dma16=5 mpu_io=0x330 pnplegacy=1
you can try it with just the sb line and leave out the pnp if it's not pnp.
/etc/modules.conf for oss sb would be at minnimum
alias char-major-14 sb
alias sound-slot-0 sb
options modprobe sb io=0x220 irq=5 dma=1 dma16=5 mpu_io=0x330 pnplegacy=1
might need some more stuff can't remember
the alsa module also a part of the kernel is snd-sb16
the entire shpiel to load them might be
modprobe snd-sb16;modprobe snd-pcm-oss;modprobe snd-mixer-oss;modprobe snd-seq-oss
then unmute the apropriate channels using
alsamixer
the apropriate /etc/modules.conf (might need translating to more modern kernel ?) for snd-sb16
# ALSA portion
alias char-major-116 snd
alias snd-card-0 snd-sb16
# module options should go here
#If the card does not support isapnp, you MUST set isapnp=0 in the options, otherwise the module will not load.
options snd-sb16 index=0 id="SB-16" port=0x220 mpu_port=0x330 irq=5 dma8=1 dma16=5 isapnp=0
#If the card has default configuration, I think you can simplify this to
options snd-sb16 index=0 id="SB-16" isapnp=0
# OSS/Free portion
alias char-major-14 soundcore
alias sound-slot-0 snd-card-0
# card #1
alias sound-service-0-0 snd-mixer-oss
alias sound-service-0-1 snd-seq-oss
alias sound-service-0-3 snd-pcm-oss
alias sound-service-0-8 snd-seq-oss
alias sound-service-0-12 snd-pcm-oss
native devices portion
# ALSA portion
alias snd-card-0 snd-interwave
alias snd-card-1 snd-cmipci
options snd-cmipci id="first" enable_midi="1"
# OSS/Free portion
alias sound-slot-0 snd-card-0
alias sound-slot-1 snd-card-1
for oss emulation
# OSS/Free portion - card #1
alias sound-slot-0 snd-card-0
alias sound-service-0-0 snd-mixer-oss
alias sound-service-0-1 snd-seq-oss
alias sound-service-0-3 snd-pcm-oss
alias sound-service-0-8 snd-seq-oss
alias sound-service-0-12 snd-pcm-oss
# OSS/Free portion - card #2 (cmipci)
alias sound-slot-1 snd-card-1
alias sound-service-1-0 snd-mixer-oss
alias sound-service-1-3 snd-pcm-oss
alias sound-service-1-12 snd-pcm-oss
also for more fine grained controll
~/.asoundrc
Code:
pcm.sb16 {
type hw
card 0
}
ctl.sb16 {
type hw
card 0
}