On Sun, 16 Dec 2001, Dan Zaharevitz wrote:
> I am running a dual processor system with Redhat 7.2 and the Redhat
> version of the 2.4.9-13 kernel. I have two sound cards, a AudioPCI
> (ens1371) and a Audiophile 2496. I have installed many versions
> of ALSA, the latest attempt with 0.9.0beta10 and I get similar results,
> namely that the AudioPCI card works fine, while the 2496 not only
> doesn't work, but completely freezes the machine. I'm hardly an expert,
> but there is nothing that seems out of the ordinary with the compile,
> modules.conf, lsmod, sndstat, or any other info that I've read about
> on alsa-users. I've focused on one simple command that will freeze
> the system: "alsactl store 1". I've used gdb to track down where the
> freeze occurs and it is at line 148 in control_hw.c in the library. (See
> below). Any help at all would be appreciated. It is very frustrating to
> be constantly using the power switch when trying to debug.
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;
Jaroslav
-----
Jaroslav Kysela <[EMAIL PROTECTED]>
SuSE Linux http://www.suse.com
ALSA Project http://www.alsa-project.org
_______________________________________________
Alsa-user mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/alsa-user