From alsa-devel-owner@alsa.jcu.cz  Mon Dec  7 12:40:59 1998
Received: from www.sprocketshop.com (root@usr2-ppp21.tranquility.net [206.156.230.176])
	by marvin.jcu.cz (8.9.1a/8.9.1) with ESMTP id MAA31733
	for <alsa-devel@alsa.jcu.cz>; Mon, 7 Dec 1998 12:36:03 +0100
Received: from pug1.sprocketshop.com (really [127.0.0.1]) by sprocketshop.com
	via in.smtpd with esmtp (ident kturvey using rfc1413)
	id <m0zmywC-000s1gC@www.sprocketshop.com> (Debian Smail3.2.0.101)
	for <alsa-devel@alsa.jcu.cz>; Mon, 7 Dec 1998 05:34:48 -0600 (EST) 
Message-Id: <m0zmywC-000s1gC@www.sprocketshop.com>
To: Jaroslav Kysela <perex@jcu.cz>
Cc: alsa-devel@alsa.jcu.cz
Subject: Re: Problems with alsa sound drivers for Creative Ensoniq AudioPCI 
In-reply-to: Your message of "Mon, 30 Nov 1998 12:11:47 +0100."
             <Pine.LNX.3.96.981130120918.22051L-100000@entry.jcu.cz> 
Date: Mon, 07 Dec 1998 05:34:10 -0600
From: "Kenneth P. Turvey" <kturvey@pug1.sprocketshop.com>
Reply-To: alsa-devel@alsa.jcu.cz
Sender: alsa-devel-owner@alsa.jcu.cz
Precedence: list

In message <Pine.LNX.3.96.981130120918.22051L-100000@entry.jcu.cz>, Jaroslav Kysela writes:
[Snip]
>
>Looks like hardware problem.. Probably PCI latency timer needs to be
>set...
>
>Can you try this patch (on top 2.0.pre10p2)? Report me, please, if it
>helps.
>
>================ CUT
>--- es1370.c    1998/11/27 22:40:10     1.20
>+++ es1370.c    1998/11/30 11:09:00
>@@ -983,6 +983,7 @@
>        ensoniq_t *ensoniq;
>        snd_ctl_kswitch_t *kswitch;
>        unsigned short cmdw;
>+       unsigned char cmdb;
> 
>        ensoniq = (ensoniq_t *) snd_calloc(sizeof(ensoniq_t));
>        if (!ensoniq)
>@@ -1002,6 +1003,10 @@
>                cmdw |= PCI_COMMAND_IO | PCI_COMMAND_MASTER;
>                snd_pci_write_config_word(pci, PCI_COMMAND, cmdw);
>        }
>+       snd_pci_read_config_byte(pci, PCI_LATENCY_TIMER, &cmdb);
>+       if (cmdb < 32)
>+               cmdb = 32;
>+       snd_pci_write_config_byte(pci, PCI_LATENCY_TIMER, cmdb);
>        snd_ensoniq_proc_init(ensoniq);
>        if (!ensoniq->es1371) {
>                ensoniq->ctrl = ES_1370_CDC_EN | ES_1370_SERR_DISABLE | ES_1370_PCLKDIVO(ES_1370_SRT
>ODIV(8000));
>================ CUT
>

I tried the patch, but there wasn't any change.  The /proc/interrupts
file still indicates that the Ensoniq AudioPCI card is not producing any
interrupts.  Is there anything else I should be trying? 

Thanks for the help,

-- 
Kenneth P. Turvey <kturvey@SprocketShop.com> 


