From: Takashi Iwai <tiwai@suse.de>
To: Pavel Machek <pavel@suse.cz>
Cc: kernel list <linux-kernel@vger.kernel.org>, vojtech@suse.cz
Subject: Re: es1371 sound problems
Date: Fri, 24 Feb 2006 12:22:41 +0100 [thread overview]
Message-ID: <s5h1wxtdmri.wl%tiwai@suse.de> (raw)
In-Reply-To: <20060223205309.GA2045@elf.ucw.cz>
At Thu, 23 Feb 2006 21:53:09 +0100,
Pavel Machek wrote:
>
> Hi!
>
> After problems with SB Live!, I tried getting another PCI card:
>
> 0000:03:03.0 Multimedia audio controller: Ensoniq 5880 AudioPCI (rev
> 02)
>
> no luck :-(. Now, this is quite a strange machine (dual core), but
> does anyone have any clues? I tried OSS driver, and it did not work,
> so I went back to ALSA:
>
> Advanced Linux Sound Architecture Driver Version 1.0.11rc2 (Wed Jan 04
> 08:57:20 2006 UTC).
> input: PS/2 Generic Mouse as /class/input/input3
> reset at 0x220 failed!!!
> es18xx: [0x220] ESS chip not found
> reset at 0x240 failed!!!
> es18xx: [0x240] ESS chip not found
> reset at 0x260 failed!!!
> es18xx: [0x260] ESS chip not found
> reset at 0x280 failed!!!
> es18xx: [0x280] ESS chip not found
> ACPI: PCI Interrupt 0000:03:02.1[A] -> GSI 18 (level, low) -> IRQ 17
> acpi_bus-0201 [11] bus_set_power : Device is not power
> manageable
> ACPI: PCI Interrupt 0000:03:03.0[A] -> GSI 19 (level, low) -> IRQ 19
> es1371: codec read timeout at 0x3014 [0x40000000]
> es1371: codec read timeout at 0x3014 [0x40000000]
> codec write timeout at 0x3014 [0x40000000]
> codec write timeout at 0x3014 [0x40000000]
> es1371: codec read timeout at 0x3014 [0x40000000]
> es1371: codec read timeout at 0x3014 [0x40000000]
> es1371: codec read timeout at 0x3014 [0x40000000]
> es1371: codec read timeout at 0x3014 [0x40000000]
> es1371: codec read timeout at 0x3014 [0x40000000]
I've seen similar messages in some reports but haven't figured out the
cause yet.
To be sure, could you check the patch below, making the wait time in
codec acceessor longer?
Also, try to build ens1371 driver as a module.
Takashi
diff -u -r1.93 ens1370.c
--- linux/sound/pci/ens1370.c 16 Jan 2006 16:40:05 -0000 1.93
+++ linux/sound/pci/ens1370.c 24 Feb 2006 11:20:03 -0000
@@ -612,7 +612,7 @@
unsigned int t, x;
mutex_lock(&ensoniq->src_mutex);
- for (t = 0; t < POLL_COUNT; t++) {
+ for (t = 0; t < 50; t++) {
if (!(inl(ES_REG(ensoniq, 1371_CODEC)) & ES_1371_CODEC_WIP)) {
/* save the current state for latter */
x = snd_es1371_wait_src_ready(ensoniq);
@@ -639,6 +639,7 @@
mutex_unlock(&ensoniq->src_mutex);
return;
}
+ msleep(1);
}
mutex_unlock(&ensoniq->src_mutex);
snd_printk(KERN_ERR "codec write timeout at 0x%lx [0x%x]\n",
@@ -653,7 +654,7 @@
__again:
mutex_lock(&ensoniq->src_mutex);
- for (t = 0; t < POLL_COUNT; t++) {
+ for (t = 0; t < 50; t++) {
if (!(inl(ES_REG(ensoniq, 1371_CODEC)) & ES_1371_CODEC_WIP)) {
/* save the current state for latter */
x = snd_es1371_wait_src_ready(ensoniq);
@@ -699,6 +700,7 @@
}
goto __again;
}
+ msleep(1);
}
mutex_unlock(&ensoniq->src_mutex);
snd_printk(KERN_ERR "es1371: codec read timeout at 0x%lx [0x%x]\n",
next prev parent reply other threads:[~2006-02-24 11:22 UTC|newest]
Thread overview: 11+ messages / expand[flat|nested] mbox.gz Atom feed top
2006-02-23 20:53 Pavel Machek
2006-02-24 11:22 ` Takashi Iwai [this message]
2006-02-24 16:16 ` Pavel Machek
2006-02-24 23:40 ` My machine is cursed: no sound. Help! [was Re: es1371 sound problems] Pavel Machek
2006-02-24 23:45 ` Pavel Machek
2006-02-25 0:14 ` Benjamin LaHaise
2006-02-25 0:29 ` Randy.Dunlap
2006-02-25 0:48 ` Pavel Machek
2006-02-27 11:10 ` Takashi Iwai
2006-02-25 2:11 ` Andrew Morton
2006-02-25 11:35 ` Pavel Machek
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=s5h1wxtdmri.wl%tiwai@suse.de \
--to=tiwai@suse.de \
--cc=linux-kernel@vger.kernel.org \
--cc=pavel@suse.cz \
--cc=vojtech@suse.cz \
/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