i have been around windows my whole life and decided to give linux a try. vmware makes the transition easier for me, so far anyway. i have been installing gentoo, learning tons of stuff, having a great time, until i decided to setup sound (with alsa).
i have been working on it the last two days. i have looked around through google, groups.google, vmware's site, linuxnewbie's forum, and the gentoo forum. i found several similar situations, which i thought would cure my problem, but tried them all and sometimes combinations of them and nothing helped (obviously). so lets get to the problem already,
please correct me if i am wrong on any of this:
-vmware emulates a non-pnp sb-16 sound card, io=0x220, irq=5, dma=1, dma16=7. (i dont understand those dma numbers. i learned though that the originals that vmware gave, 1 and 5, were wrong. i also left out a mpu_io=0x330 cause i heard that screwed things up also)
-on my kernel i have only sound support built in. i also have isa pnp built in.
-i followed all the gentoo insructions on installing alsa, and got some sound modules to use, in my case the snd-sb16 (right?).
-edited the modules.conf files (ie aliases and alsa) and ran update-modules so that the result modules conf file looks like:
- i checked my devfsd.conf file, and it is correct according to gentoo's docs....
...
alias char-major-14 sb
options sb io=0x220 irq=5 dma=1 dma16=7
alias sound sb
# ALSA portion
alias char-major-116 snd
options snd snd_cards_limit=1 snd_major=116
# OSS/Free portion
#alias char-major-14 soundcore
...
...
## ALSA portion
#alias snd-card-0 snd-sb-common
#alias snd-card-1 snd-sb16-csp
#alias snd-card-2 snd-sb16-dsp
alias snd-card-0 snd-sb16
options snd-card-sb16 snd_id=card1 snd_index=0 snd_isapnp=0
#alias snd-card-4 ens1371
#alias snd-card-5 ens1371
#alias snd-card-6 ens1371
#alias snd-card-7 ens1371
## alias snd-card-1 snd-ens1371
## OSS/Free portion
## alias sound-slot-0 snd-card-0
## alias sound-slot-1 snd-card-1
##
# OSS/Free portion - 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
## OSS/Free portion - card #2
## alias sound-service-1-0 snd-mixer-oss
## alias sound-service-1-3 snd-pcm-oss
## alias sound-service-1-12 snd-pcm-oss
alias /dev/mixer snd-mixer-oss
alias /dev/dsp snd-pcm-oss
alias /dev/midi snd-seq-oss
### update-modules: end processing /etc/modules.d/alsa
...
...
- i added alsasound at boot using the gentoo rc-update
each time i boot and alsa loads i get:
same happens if i just try to modprobe it. i have only been successful modprobeing snd-sb-common, snd-sb16-csp, snd-sb16-dsp, but i think those modules are just base modules for snd-sb16 to rely on. am i not setting the irq, dma, and io correctly?/lib/modules/2.4.19-gentoo-r7/kernel/sound/isa/sb/snd-sb16.o: init_module: No such device
/lib/modules/2.4.19-gentoo-r7/kernel/sound/isa/sb/snd-sb16.o: insmod /lib/modules/2.4.19-gentoo-r7/kernel/sound/isa/sb/snd-sb16.o failed
/lib/modules/2.4.19-gentoo-r7/kernel/sound/isa/sb/snd-sb16.o: insmod snd-sb16 failed
Hint: insmod errors can be caused by incorrect module parameters, including invalid IO or IRQ parameters.
You may find more information in syslog or the output from dmesg
i set up suse also, which had already had support for the sb16 or found it and installed it; reminded me of windows. so i looked around in the suse config files and modules and such, looking for the answer. that is where i got most of the stuff listed in the modules.conf. however in suse the modules were named something different like sb.o instead of snd-sb16.o. i did an lsmod in suse and found sb, sb_lib, and other sound stuff running like snd-pcm and such. isa-pnp was also running which im thinking was just a coincidence since vmwares sb16 is not pnp (right?). in the modules.conf are all the "sb" strings supposed to be "snd-sb16"? i tried replacing those strings with snd-sb16 and still got the same error, but that doesnt mean its not right.
if anyone could throw some clues my way id gladly dig in, im just runnin out of ideas.
sorry for the looooooooooonnnnnnggggggggggg message, and thanks in advance for your time and input !!!!!
-jeremy

