Hello,

I am running a dual processor system with Debian unstable and the 
2.4.17 kernel. I have an Audiophile 2496 installed and I have compiled
the ALSA drivers from the 0.9+0beta10-5 alsa-source debian package. 

ALSA seems to be installed okay. However, when I attempt to play 
sounds using aplay or adjust levels using alsamixer, my machine
freezes and I must do a hard power off. :^(

Browsing the list archives, I found that Dan Zaharevitz was having
a similar problem. Jaroslav Kysela responded with the following 
patch:

---------------------------------------------------------------------
Oops, it seems that there is missing unlock for the I2C bus spinlock.
Could you try the latest CVS sources or this patch?

Index: cs8427.c
===================================================================
RCS file: /cvsroot/alsa/alsa-driver/lowlevel/i2c/cs8427.c,v
retrieving revision 1.6
retrieving revision 1.7
diff -u -r1.6 -r1.7
--- cs8427.c    2001/10/12 10:43:19     1.6
+++ cs8427.c    2001/12/16 17:51:57     1.7
@@ -262,6 +262,7 @@
        }
 #endif

+       snd_i2c_unlock(bus);
        if (r_cs8427)
                *r_cs8427 = device;
        return 0;
---------------------------------------------------------------------

I applied this patch and recompiled the ALSA drivers. This got me a 
little further: whereas before my computer froze as soon as I started
aplay, now I was able to run aplay without freezing immediately. But
I am still having problems with intermittent freezes. Using alsamixer
to adjust levels will result in a freeze pretty quickly, as will aplay
if I use it a few times in a row.

I am willing to fire up a debugger and find the exact places the freezes
are occurring if that will help, but I thought I would ask if there
are any known problems before I do that.

Thanks,

Ryan Shaw



_______________________________________________
Alsa-user mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/alsa-user

Reply via email to