Re: [Alsa-user] cmi8330 ,again and again
Brought to you by:
perex
From: Bob Y. <pol...@mo...> - 2001-08-14 05:09:12
|
On Tue, 14 Aug 2001 09:10:50 +0800 "Kolja Biljakov" <krs...@li...> 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:ano...@cv...:/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 |