On Mon, 26 Nov 2001 18:56:44 -0500 [EMAIL PROTECTED] (Nathan Stenzel) wrote:
> Ok. I think my computer decided to use the sb module for sound. > That works for the basics, but I want full-duplex and midi too. > I have no clue how to get it to use alsa instead of that sb module. > I know I need to use the snd-card-cmi8330 module for alsa. > I tend to do installs by RPM. > How do I go about setting up my system to use the required alsa module instead of whatever module it uses? > -- The CMI8330 can be made to work with Alsa, but it is not at all simple. I was only able to succeed in making playback work - not capture, which I think is impossible. Therefore, of course, full-duplex is out of the question. The midi synth in that chip is so pathetic I would forget about it and use Timidity instead. You will need to compile and install the Alsa modules, and create by hand a suitable /etc/modules.conf. I have appended the relevant part of the one I used to use at the end of this message....of course you will probably have to change the IRQ's, DMA and IOPORTs to suit your system. I got rid of my CMI8330 (it's really bad) and for only $10 bought an Ensoniq Audio PCI with ens1370 chipset on ebay - which sounds great and works 100% with Alsa. But if you really want to struggle, the following quote from an old email of mine may help you. The person I sent it to was able to get his CMI8330 working to the same extent as mine - i.e. playback only. -------------------------------------- On Tue, 14 Aug 2001 09:10:50 +0800 "Kolja Biljakov" <[EMAIL PROTECTED]> wrote: > Well,i tried it all,i have been trough half of the > alsa-user mailing list,done all sorts of things that > have been sujested but i can only play waw files > with "aplay -d1 file" > aplay file gives me no such device error. That's because device #0 (the default) is not enabled for playback by Alsa. You have to use device #1, by specifying it on the command line, or otherwise (see below). > Non alsa apps dont seem to work > mpg123 does not seem to work(Btw what device in /dev > does aplay use ) Non-Alsa apps will generally want to use /dev/dsp, which you will probably find is symlinked to /dev/dsp0. This will not work. If the app you want to use allows it, you can configure it to use /dev/adsp0 as an alternative device (XMMS can be configured to do this). Another solution is to replace the symlink /dev/dsp -> /dev/dsp0 with /dev/dsp -> /dev/adsp0 and that should get playback working with all non-Alsa apps. A more elegant solution is to use the CVS version of the 0.5.11 drivers, which has some patches. This version supports mapping of the 2 internal devices to different files in /dev for OSS emulation by means of a line in /etc/modules.conf like - options snd-pcm-oss snd_dsp_map=1 snd_adsp_map=0 To get this version from CVS, read the instructions for logging in to anonymous CVS on the downloads page at alsa-project.org, and then execute the following - cvs -z3 - d:pserver:[EMAIL PROTECTED]:/cvsroot/alsa co -rver-0-5-patches -P . The above is all one line, and the final <space><dot> is essential! This will download the complete source tree, and you can then compile the drivers using the cvscompile script you will find there. (The above information was all given to me by Takashi Iwai, to whom I am most grateful). I did all this, and playback of wav and mp3 files, and CD's works fine, with any application. However, I have still not gotten capture to work at all. One final point; make sure you have unmuted and raised levels in the 2nd mixer - use 'alsamixer -m1' to run it. Bob ------------------------------------------------------ extract from /etc/modules.conf alias char-major-116 snd alias snd-card-0 snd-card-cmi8330 alias char-major-14 soundcore 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 options snd snd_major=116 snd_cards_limit=1 snd_device_mode=0666 \ snd_device_gid=0 snd_device_uid=0 options snd-card-cmi8330 snd_index=0 snd_id=CMI8330 \ snd_wssport=0x530 snd_wssirq=11 snd_wssdma=0 \ snd_sbport=0x220 snd_sbirq=5 snd_sbdma8=1 snd_sbdma16=5 options snd-pcm-oss snd_dsp_map=1 snd_adsp_map=0 _______________________________________________ Alsa-user mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/alsa-user