Re: 2.5.50 - sound driver issues with i810_audio

Valdis.Kletnieks@vt.edu
Thu, 12 Dec 2002 00:51:08 -0500


--==_Exmh_902682968P
Content-Type: text/plain; charset=us-ascii

On Wed, 11 Dec 2002 17:59:28 EST, Doug Ledford said:

> This sounds like the problem some chipsets had with wrapping counters in
> the dma pointer read code. Basically, when the sg segment is advanced to
> the next segment, the offset counter would not be simultaneously cleared
> but instead would be momentarily delayed before the clear occured and a
> read at just the wrong time could result in us thinking that the buffer
> was a full sg segment farther than it was. There were changes made to the
> oss i810 driver around version 0.18 to solve this problem if I remember
> correctly. Similar code may be needed in the alsa driver, I'm not sure
> because I have looked at it or tried it (my machine with an i810 doesn't
> run 2.5 kernels).

Ahh... That would exactly explain what I was seeing, and why it worked under
2.4.18 for me, and gives me a good idea where to look (the relevant code in the
alsa and oss drivers is pretty similar, there's only so many ways to code a
ring buffer when the other part is cast in silicon. ;)

/Valdis

--==_Exmh_902682968P
Content-Type: application/pgp-signature

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.2.1 (GNU/Linux)
Comment: Exmh version 2.5 07/13/2001

iD8DBQE9+CPLcC3lWbTT17ARApG4AKCwxOQr4RzFkw9yZ3/1mKbbZvioKwCeP6ne
OiSR3or7ERGzmhrXPBDekDg=
=VrFk
-----END PGP SIGNATURE-----

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