Ryan Shaw wrote:
> 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 haven't really banged on my system since I applied the patch, so I'm 
not sure whether my system is behaving any differently than yours. I 
think I had a hard freeze when using asamixer, but I routinely use 
envy24control and I have not had a problem with that. I'm in the middle 
of a pile of other work, but I would be interested in what ever you find 
and I should be able to help with some testing in the not too distant 
future.

DanZ
-- 
  *   Dan Zaharevitz
  *   Camp Springs, MD
  *   [EMAIL PROTECTED]


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

Reply via email to