Re: CS5530 Alsa driver fails

From: Alan Cox
Date: Wed Aug 01 2007 - 18:01:19 EST


> I will give up. I didn't checked code earlier. This driver is using SMM. Probably
> firmware isn't what it should be, or I have overwritten it when I was flashing
> Linux. I see in datasheet that it isn't possible to write driver in other way.
> Sadly sound card is generating SMI only.

The 5530 in native mode only generates SMI. I've always felt however that
if you make the buffers big enough you ought to be able to drive it off
the 1KHz timer tick by polling. Interesting project.

You btw won't have removed the SMM firmware or the box wouldn't boot. The
5530 uses SMM to emulate some of the most basic PC components including
the VGA video. If your box has VSA2 then VSA2 firmware has some kind of
hooks to allow a native sound driver to take over and to reroute the
interrupts without SB emulation. I don't have the docs for VSA2 but the
horribly big natsemi provided audio driver does show how to do it.

Alan
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/