Hi, I have made some sort of progress. When trying to play I wav file (which should be saying "side right") I can get it to say "side" and then loop over that instead of just looping over "si si si si si", this by modifying the period/buffer time/size. But it'll still loop over the sound again and again. If I issue the flag --test-position it will sometimes play the entire wav file, looping first over "side" a few times and then over "right". But it'll give me xrun errors with quite ridiculous time out errors (several million ms). I also get write errors every now and again (line 1442 in aplay.c) regardless of what flags I give to aplay. I'm guessing it's some problem with the driver writing to the sound card, could it be timing errors or perhaps some problems with the fact that the machine is running in big endian mode? Regards Leon Ljunggren On Mon, Feb 9, 2009 at 1:45 PM, Leon Ljunggren <leon.ljunggren@xxxxxxxxx> wrote: > Hi, > > I have a CS4281 controller with a CS4297A codec on a ipdx425 ARM > (running in big endian mode) system with Linux 2.6.20.3 and I'm having > some problem getting the sound to work correctly. > > I have cross compiled the driver, lib and utility package and insmoded > the modules without any complaints and I have set up the asoundrc file > according to http://www.alsa-project.org/main/index.php/Matrix:Module-cs4281. > But when I try to initialize the card with alsactl init I get: > > Unknown hardware: "CS4281" "Cirrus Logic CS4299 rev 4" > "AC97a:43525934" "0x0000" "0x0000" > Hardware is initialized using a guess method > > Yet channels and such seems to be turned on correctly when I check it > with amixer. However when I try to play a wav file using aplay (for > example the Side_Right.wav that comes with alsa) all sound I get is a > stuttering "Sa sa sa sa sa sa sa" that eventually turns into a "id id > id id id id id..." and just continue like that seemingly forever. > > Anyone that could give me some advice on what I might have done wrong > or forgotten? > > Thanks > /Leon Ljunggren > ------------------------------------------------------------------------------ Create and Deploy Rich Internet Apps outside the browser with Adobe(R)AIR(TM) software. With Adobe AIR, Ajax developers can use existing skills and code to build responsive, highly engaging applications that combine the power of local resources and data with the reach of the web. Download the Adobe AIR SDK and Ajax docs to start building applications today-http://p.sf.net/sfu/adobe-com _______________________________________________ Alsa-user mailing list Alsa-user@xxxxxxxxxxxxxxxxxxxxx https://lists.sourceforge.net/lists/listinfo/alsa-user