mirror of https://lore.kernel.org/lkml/
 help / color / mirror / Atom feed
From: Takashi Iwai <tiwai@suse.de>
To: twhitehe@uwo.ca
To: ALSA devel <alsa-devel@alsa-project.org>,
	Michael Cree <mcree@orcon.net.nz>,
	Krzysztof Helt <krzysztof.h1@wp.pl>,
	Rene Herman <rene.herman@keyaccess.nl>,
	linux-kernel@vger.kernel.org,
	Ivan Kokshaysky <ink@jurassic.park.msu.ru>,
	linux-alpha@vger.kernel.org
Subject: Re: [alsa-devel] [regression] 2.6.25-rc4 snd-es18xx broken on Alpha
Date: Mon, 17 Mar 2008 17:26:27 +0100	[thread overview]
Message-ID: <s5hskypnwp8.wl%tiwai@suse.de> (raw)
In-Reply-To: <200803142118.31974.twhitehe@uwo.ca>

At Fri, 14 Mar 2008 21:18:19 -0400,
Tyson Whitehead wrote:
> 
> On Fri March 14 2008, Bob Tracy wrote:
> > A quick followup...  Since we're in agreement this isn't a regression,
> > I've updated my working source tree to 2.6.25-rc5.  Built the new
> > kernel with the patch to omit es1888_init(), and as near as I can tell,
> > that function does nothing useful on the Miata platform.  At the very
> > least, not having it makes no difference to any of the ALSA drivers I've
> > tried: snd-sb8 still works great, and snd-es18xx is still broken in the
> > same way originally described at the beginning of this long thread.
> >
> > I'll try a build with the old OSS "sb" driver, and if that works ok, we
> > may be able to do away with es1888_init() on the Miata.  Tyson -- I
> > think you have a Miata if I'm remembering correctly: can you confirm
> > these observations?
> 
> I actually ran into some problems with my Alpha, and I haven't managed to get 
> get it full operational again yet.  I replaced the CPU fan, installed the new 
> aboot, and left it trying to recover the filesystems.  It was an unhappy 
> story all around -- damn that CMD646 chipset, I was under the impression that 
> driver had acquired some recent fixups.  Anyway, if this succeeds, I'll try 
> and compile up a new kernel with the patch when I get a chance.
> 
> With regard to the sound driver, the es18xx does endless looping on the first 
> second or so of sound on my box (a PWS500au) unless I apply my patch, which 
> just enables the alternative interupt detection code in the driver.

I vaguely remember about the patch...  The patch below was on my local
tree but never pushed because of lack of testing.  Does it work for
you?

>  Even 
> then, though, I believe it still only works in 8bit mode.

Maybe the problem is in a different place, then...


thanks,

Takashi

---

diff -r 82e6201fc907 sound/isa/es18xx.c
--- a/sound/isa/es18xx.c	Mon Mar 17 14:36:24 2008 +0100
+++ b/sound/isa/es18xx.c	Mon Mar 17 17:32:59 2008 +0100
@@ -765,9 +765,10 @@ static irqreturn_t snd_es18xx_interrupt(
 		/* Read Interrupt status */
 		status = snd_es18xx_mixer_read(chip, 0x7f) >> 4;
 	}
-#if 0
-	else {
-		status = 0;
+
+#ifdef CONFIG_ALPHA
+	if (!(status & (AUDIO1_IRQ | AUDIO2_IRQ))) {
+		/* status = 0; */
 		if (inb(chip->port + 0x0C) & 0x01)
 			status |= AUDIO1_IRQ;
 		if (snd_es18xx_mixer_read(chip, 0x7A) & 0x80)
@@ -777,7 +778,6 @@ static irqreturn_t snd_es18xx_interrupt(
 			status |= HWV_IRQ;
 	}
 #endif
-
 	/* Audio 1 & Audio 2 */
         if (status & AUDIO2_IRQ) {
                 if (chip->active & DAC2)

  reply	other threads:[~2008-03-17 16:26 UTC|newest]

Thread overview: 65+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2008-03-08  3:58 Bob Tracy
2008-03-09 15:34 ` Ivan Kokshaysky
2008-03-09 23:57   ` Bob Tracy
2008-03-10  7:34     ` Michael Cree
2008-03-10 15:17       ` Rene Herman
2008-03-10 15:21         ` Rene Herman
2008-03-10 16:21         ` Bob Tracy
2008-03-10 16:56           ` Rene Herman
2008-03-10 17:14             ` [alsa-devel] " Takashi Iwai
2008-03-10 19:29               ` Rene Herman
2008-03-10 22:22                 ` Bob Tracy
2008-03-10 22:33                   ` Rene Herman
2008-03-11 14:07                     ` Bob Tracy
2008-03-11 15:17                       ` Rene Herman
2008-03-11 18:08                         ` Bob Tracy
2008-03-11 20:00                           ` Michael Cree
2008-03-11 20:34                             ` Bob Tracy
2008-03-12 14:40                             ` Bob Tracy
2008-03-12 19:34                               ` Rene Herman
2008-03-12 20:31                                 ` Bob Tracy
2008-03-12 21:12                                   ` Rene Herman
2008-03-13  4:24                                     ` Bob Tracy
2008-03-17 22:00                                       ` Rene Herman
2008-03-18  3:24                                         ` Bob Tracy
2008-03-18  3:54                                           ` Michael Cree
2008-03-23 10:40                                             ` Michael Cree
2008-03-24 18:15                                               ` Rene Herman
2008-03-24 23:56                                                 ` Michael Cree
2008-03-25  0:29                                                   ` Rene Herman
2008-03-25  1:22                                                     ` Michael Cree
2008-03-25  2:22                                                       ` Rene Herman
2008-03-30  5:18                                                         ` Bob Tracy
2008-03-30 10:02                                                           ` Michael Cree
2008-03-30  9:13                                                         ` Michael Cree
2008-03-25  2:46                                                     ` Rene Herman
2008-03-30 21:07                                                     ` Bob Tracy
2008-03-30 21:11                                                       ` Michael Cree
2008-03-30 21:18                                                         ` Bob Tracy
2008-03-30  4:24                                                 ` Bob Tracy
2008-03-30 22:09                                         ` Bob Tracy
2008-03-14 13:13                                     ` Bob Tracy
2008-03-15  1:18                                       ` Tyson Whitehead
2008-03-17 16:26                                         ` Takashi Iwai [this message]
2008-03-18 14:16                                           ` Tyson Whitehead
2008-03-29  6:42                                             ` Bob Tracy
2008-03-29 12:09                                               ` Rene Herman
2008-03-30 16:14                                                 ` Ivan Kokshaysky
2008-03-30 21:17                                                   ` Michael Cree
2008-03-30 20:24                                                 ` Bob Tracy
2008-03-17 22:04                                         ` Rene Herman
2008-03-18 13:55                                           ` Tyson Whitehead
2008-03-18 22:57                                             ` Rene Herman
2008-03-12 22:48                                 ` Rafael J. Wysocki
2008-03-23  9:48                             ` Michael Cree
2008-03-11  5:36             ` Bob Tracy
2008-03-10 15:08   ` Rene Herman
2008-03-14 23:33 [alsa-devel] " Bob Tracy
2008-04-01 18:07 ` Tyson Whitehead
2008-04-01 18:29   ` Rene Herman
2008-04-01 18:31   ` Rene Herman
2008-04-01 18:34   ` Rene Herman
2008-04-01 19:07     ` Rene Herman
2008-04-01 20:32       ` Bob Tracy
2008-04-01 20:26   ` Bob Tracy
2008-04-01 21:02     ` Michael Cree

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=s5hskypnwp8.wl%tiwai@suse.de \
    --to=tiwai@suse.de \
    --cc=twhitehe@uwo.ca \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox

Powered by JetHome