[EMAIL PROTECTED] wrote:
>
> Yes, following your advice, I downloaded the brand new tree and
> compiled it. SMP Abit VP6 with 2 PIII locks up whenever I launch the
> first numID of amixer contents (it makes search for configuration of
> cs8427 chip -Cirrus Logic-), or whenever launching any sound
> application: mpg123, kmid, kmidi, alsaplayer, aplay, xmms, everything.
> I have Kernel 2.4.7 RedHat 7.2
So you are using the ice1712 driver ?
Actually the bug has been fixed only on the ens1370 driver.
The same bug could appear on other drivers.
Actually, I really think that the problem is in the driver ice1712 in
this function:
static void snd_ice1712_ac97_write(ac97_t *ac97,
unsigned short reg,
unsigned short val)
{
ice1712_t *ice = (ice1712_t *)ac97->private_data;
int tm;
unsigned char old_cmd = 0;
for (tm = 0; tm < 0x10000; tm++) {
old_cmd = inb(ICEREG(ice, AC97_CMD));
if (old_cmd & (ICE1712_AC97_WRITE | ICE1712_AC97_READ))
continue;
if (!(old_cmd & ICE1712_AC97_READY))
continue;
break;
}
outb(reg, ICEREG(ice, AC97_INDEX));
outw(val, ICEREG(ice, AC97_DATA));
old_cmd &= ~(ICE1712_AC97_PBK_VSR | ICE1712_AC97_CAP_VSR);
outb(old_cmd | ICE1712_AC97_WRITE, ICEREG(ice, AC97_CMD));
for (tm = 0; tm < 0x10000; tm++)
if ((inb(ICEREG(ice, AC97_CMD)) & ICE1712_AC97_WRITE)
== 0)
break;
}
But, I too dumb to know how to modify it. :-/
> It freezes completely, I can not use mouse or keyboard.
Ok, it seems to be the same problem...
> How did you do to get console over net? (lp0 or eth0?)
I used my network card. But, you can also shut down X and try on your
own computer.
> Do I have to set up a network
> to get system calls?
>
> Card works with nosmp-option however, so it seems much like problem you
> had. Please HELP !!!!!!!!!
Well, hopes this help. :-/
Maybe this is stupid but could it be possible, to have some basic comon
functions as read/write, properly coded, in order to make it easier to
code sound cards drivers...
PS:
By the way, I just read the code of the driver of ens1370.c and I really
wonder why is there so much code specific for the ens1371 as there is a
file ens1371.c ????
Is it for history reasons ?
Regards
--
Emmanuel
The books that the world calls immoral are
the books that show the world its own shame.
-- Oscar Wilde
_______________________________________________
Alsa-devel mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/alsa-devel