From: Ard van Breemen <ard@kwaak.net>
To: linux-kernel@vger.kernel.org
Cc: ard@kwaak.net
Subject: [PATCH] atiixp ac97 timeout gives error (2.6.7-rc2)
Date: Tue, 8 Jun 2004 13:16:22 +0200 [thread overview]
Message-ID: <20040608111621.GW18505@kwaak.net> (raw)
[-- Attachment #1: Type: text/plain, Size: 735 bytes --]
Hi,
I found that with 2.6.7-rc2 alsa refuses to recognize my atiixp
as a working sound card.
My atiixp is of a compaq nx9110 notebook.
pci stuff:
0000:00:14.5 Class 0401: 1002:4341
Subsystem: 103c:006b
Flags: bus master, 66MHz, slow devsel, latency 64, IRQ 5
Memory at d0003000 (32-bit, non-prefetchable)
or:
0000:00:14.5 Multimedia audio controller: ATI Technologies Inc SoundMAX Integrated Digital Audio
I've patched the atiixp driver by ignoring the error when the
driver loads. If I recall correctly, this was the normal
behaviour in 2.6.5: a timeout warning was issued, but the "card"
functioned is it should.
If an alsa developer could point me to the "right" way, I can
make the patch a real patch.
[-- Attachment #2: patch-atiixp-soundmax --]
[-- Type: text/plain, Size: 794 bytes --]
--- atiixp.c.org 2004-06-08 10:01:41.000000000 +0200
+++ atiixp.c 2004-06-08 10:04:30.000000000 +0200
@@ -1387,12 +1387,18 @@
ac97.num = i;
ac97.scaps = AC97_SCAP_SKIP_MODEM;
if ((err = snd_ac97_mixer(pbus, &ac97, &chip->ac97[i])) < 0) {
- if (chip->codec_not_ready_bits)
+
+ if (chip->codec_not_ready_bits) {
/* codec(s) was detected but not available.
* return the error
*/
- return err;
- else {
+ /*
+ * The codec probably still is busy, which is
+ * according to specs I thought.
+ */
+ /* return err; */
+ printk("snd-atiixp: ignored codec not ready\n",__LINE__);
+ } else {
/* codec(s) was NOT detected, so just ignore here */
chip->ac97[i] = NULL; /* to be sure */
snd_printd("atiixp: codec %d not found\n", i);
next reply other threads:[~2004-06-08 11:17 UTC|newest]
Thread overview: 3+ messages / expand[flat|nested] mbox.gz Atom feed top
2004-06-08 11:16 Ard van Breemen [this message]
2004-06-08 12:54 ` Takashi Iwai
2004-06-13 21:42 ` Ard van Breemen
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=20040608111621.GW18505@kwaak.net \
--to=ard@kwaak.net \
--cc=linux-kernel@vger.kernel.org \
/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
all inboxes | Powered by JetHome®