At 13.45 30/09/2003 +0200, Jaroslav Kysela wrote: ...
But I think that we still need to investigate why the second reset of the CS8427 chip failed.
I have double checked your reset code comparing it with the latest data sheet, where the weird reset procedure is explained, and in my opinion your code is ok. May be this is just a one time procedure, which avoid the CS8427 startup problem only the first time it is executed? This seems to be loosely confirmed by the fact that if I unload the 8427 kernel module (downloading the ICE module first, which uses it) and then reload it, sometimes I get weird behaviours, with problems settings the period size/buffer size both by arecord and BruteFIR. I know, it seems an unrelated problem. I'm supposing here a failure in the 8427 code causing also a problem elsewhere.
Anyway, I still don't understand why this second reset is needed, base also on the rate value. When the SPDIF is the master clock the rate is defined by the input SPDIF stream, so comparing it with the rate requested by the program makes no sense to me. Of course I don't know the ALSA architecture enough to be sure that doing it it's really a bug.
Bye, -- Denis Sbragion InfoTecna Tel: +39 0362 805396, Fax: +39 0362 805404 URL: http://www.infotecna.it
------------------------------------------------------- This sf.net email is sponsored by:ThinkGeek Welcome to geek heaven. http://thinkgeek.com/sf _______________________________________________ Alsa-devel mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/alsa-devel