From alsa-devel-owner@alsa.jcu.cz  Sun Oct 25 20:30:41 1998
Received: from cyphyn.219.org (nwhn-sh15-port78.snet.net [204.60.50.78])
	by marvin.jcu.cz (8.9.1a/8.9.1) with ESMTP id UAA28189
	for <alsa-devel@jcu.cz>; Sun, 25 Oct 1998 20:26:58 +0100
Received: from localhost (emng@localhost)
          by cyphyn.219.org (8.8.4/8.8.4) with SMTP
	  id OAA07842 for <alsa-devel@jcu.cz>; Sun, 25 Oct 1998 14:26:01 -0500
Date: Sun, 25 Oct 1998 14:26:01 -0500 (EST)
From: Fred Floberg <emng@geocities.com>
To: alsa-devel@jcu.cz
Subject: ES1371 in full-duplex (was Re: More ALSA Sequencer stuff)
In-Reply-To: <199810251726.MAA07417@cyphyn.219.org>
Message-ID: <Pine.LNX.3.95.981025132341.7420A-100000@cyphyn.219.org>
MIME-Version: 1.0
Content-Type: TEXT/PLAIN; charset=US-ASCII
Reply-To: alsa-devel@alsa.jcu.cz
Sender: alsa-devel-owner@alsa.jcu.cz
Precedence: list



On Sun, 25 Oct 1998 perex@jcu.cz wrote:

> On Sun, 25 Oct 1998, Fred Floberg wrote:
> 
> > I really hate to say this, but now I'm having trouble with
> > full-duplex audio and the AudioPCI card. I don't yet want to
> > report a bug, until I've had more time to verify that I'm not
> > doing something wrong in the code I'm writing (Csound w/ ALSA
> > driver support), but may I ask: Are there any known bugs in the
> > AudioPCI driver (especially in the case of full-duplex operation)?
> 
> If you have ES1371 you can expect some small trouble: I didn't test driver
> code very much for this chip (I don't have soundcard with this hardware).

Yeah, that's the chip I have. I've downloaded the postscript manual for
the ES1371 and 1370 from your ftp site and will see if I can find what's
wrong.

Below is a collection of reports from the ALSA lists about the ES1371 for
comparison purposes. Perhaps it'll help to expose the bug.

On my own machine:

# dmesg | grep es1371
snd: es1371: codec write timeout at 0x14 [0xffffffff]
<repeated many times>

On Sept 24, 1998 James Scott <jes23@cam.ac.uk> wrote:

> snd: es1371: codec write timeout at 0x1014 [0x0]
<repeated>

On Oct 25, 1998 Sean Cross <secross@whidbey.com> wrote:

> snd: es1371: codec read timeout (final) at 0xd414, reg = 0x1e [0x1c8000]
<repeated>

Audio is choppy in my simple full-duplex test program due, I imagine, to
the write timeouts. I haven't experienced a read timeout like Sean has
yet.


> For ES1370 is working full duplex (or full duplex + second playback
> channel together) very well...

Foiled again! That's just my luck :-)

> 						Jaroslav

I'll be happy to do any tests you recommend, Jaroslav, and report any
findings back to you.

Fred



