From: Chuck Ebbert <76306.1226@compuserve.com>
To: Lee Revell <rlrevell@joe-job.com>
Cc: linux-kernel <linux-kernel@vger.kernel.org>,
alsa-devel <alsa-devel@alsa-project.org>
Subject: Re: Brand-new notebook useless with Linux...
Date: Fri, 9 Sep 2005 14:09:17 -0400 [thread overview]
Message-ID: <200509091411_MC3-1-A9B0-1C0C@compuserve.com> (raw)
In-Reply-To: <1126207905.12697.20.camel@mindpipe>
On Thu, 08 Sep 2005 at 15:31:44 -0400, Lee Revell wrote:
> Wait, that sounds like the modem, not the AC97 audio codec.
>
> You might be able to get the modem to work with the (proprietary)
> slmodem software modem, or something. I wouldn't count on it though.
>
> Does your sound work?
Well I'll be...
I'd assumed from the (confusing) messages that the sound card was
not working, but it seems fine. Shouldn't the error messages from
atiixp-modem be prefixed with that name instead of "atiixp"?
Untested patch follows.
Signed-off-by: Chuck Ebbert <76306.1226@compuserve.com>
sound/pci/atiixp_modem.c | 16 ++++++++--------
1 files changed, 8 insertions(+), 8 deletions(-)
--- 2.6.13a.orig/sound/pci/atiixp_modem.c
+++ 2.6.13a/sound/pci/atiixp_modem.c
@@ -405,7 +405,7 @@ static int snd_atiixp_acquire_codec(atii
while (atiixp_read(chip, PHYS_OUT_ADDR) & ATI_REG_PHYS_OUT_ADDR_EN) {
if (! timeout--) {
- snd_printk(KERN_WARNING "atiixp: codec acquire timeout\n");
+ snd_printk(KERN_WARNING "atiixp-modem: codec acquire timeout\n");
return -EBUSY;
}
udelay(1);
@@ -436,7 +436,7 @@ static unsigned short snd_atiixp_codec_r
} while (--timeout);
/* time out may happen during reset */
if (reg < 0x7c)
- snd_printk(KERN_WARNING "atiixp: codec read timeout (reg %x)\n", reg);
+ snd_printk(KERN_WARNING "atiixp-modem: codec read timeout (reg %x)\n", reg);
return 0xffff;
}
@@ -498,7 +498,7 @@ static int snd_atiixp_aclink_reset(atiix
do_delay();
atiixp_update(chip, CMD, ATI_REG_CMD_AC_RESET, ATI_REG_CMD_AC_RESET);
if (--timeout) {
- snd_printk(KERN_ERR "atiixp: codec reset timeout\n");
+ snd_printk(KERN_ERR "atiixp-modem: codec reset timeout\n");
break;
}
}
@@ -552,7 +552,7 @@ static int snd_atiixp_codec_detect(atiix
atiixp_write(chip, IER, 0); /* disable irqs */
if ((chip->codec_not_ready_bits & ALL_CODEC_NOT_READY) == ALL_CODEC_NOT_READY) {
- snd_printk(KERN_ERR "atiixp: no codec detected!\n");
+ snd_printk(KERN_ERR "atiixp-modem: no codec detected!\n");
return -ENXIO;
}
return 0;
@@ -635,7 +635,7 @@ static void snd_atiixp_xrun_dma(atiixp_t
{
if (! dma->substream || ! dma->running)
return;
- snd_printdd("atiixp: XRUN detected (DMA %d)\n", dma->ops->type);
+ snd_printdd("atiixp-modem: XRUN detected (DMA %d)\n", dma->ops->type);
snd_pcm_stop(dma->substream, SNDRV_PCM_STATE_XRUN);
}
@@ -1081,14 +1081,14 @@ static int __devinit snd_atiixp_mixer_ne
ac97.scaps = AC97_SCAP_SKIP_AUDIO;
if ((err = snd_ac97_mixer(pbus, &ac97, &chip->ac97[i])) < 0) {
chip->ac97[i] = NULL; /* to be sure */
- snd_printdd("atiixp: codec %d not available for modem\n", i);
+ snd_printdd("atiixp-modem: codec %d not available for modem\n", i);
continue;
}
codec_count++;
}
if (! codec_count) {
- snd_printk(KERN_ERR "atiixp: no codec available\n");
+ snd_printk(KERN_ERR "atiixp-modem: no codec available\n");
return -ENODEV;
}
@@ -1159,7 +1159,7 @@ static void __devinit snd_atiixp_proc_in
{
snd_info_entry_t *entry;
- if (! snd_card_proc_new(chip->card, "atiixp", &entry))
+ if (! snd_card_proc_new(chip->card, "atiixp-modem", &entry))
snd_info_set_text_ops(entry, chip, 1024, snd_atiixp_proc_read);
}
__
Chuck
Subliminal URL: www.sluggy.com/daily.php?date=050905
next reply other threads:[~2005-09-09 18:11 UTC|newest]
Thread overview: 25+ messages / expand[flat|nested] mbox.gz Atom feed top
2005-09-09 18:09 Chuck Ebbert [this message]
2005-09-12 1:42 ` [Alsa-devel] " Lee Revell
2005-09-12 10:42 ` Takashi Iwai
-- strict thread matches above, loose matches on Subject: below --
2005-09-08 19:19 Chuck Ebbert
2005-09-08 19:31 ` Lee Revell
2005-09-08 19:40 ` Lennart Sorensen
2005-09-04 16:18 Chuck Ebbert
2005-09-03 22:58 Chuck Ebbert
2005-09-04 1:50 ` Matthew Garrett
2005-09-04 9:10 ` David Gómez
2005-09-04 14:26 ` Matthew Garrett
2005-09-04 14:38 ` Sasha Khapyorsky
2005-09-04 21:25 ` Andrew Morton
2005-09-04 22:02 ` Matthew Garrett
2005-09-04 3:38 ` Lee Revell
2005-09-04 5:23 ` Willy Tarreau
2005-09-04 5:46 ` Zwane Mwaikambo
2005-09-04 15:10 ` Daniel Goller
2005-09-04 6:53 ` Paul Misner
2005-09-04 8:05 ` roucaries bastien
2005-09-04 10:35 ` bert hubert
2005-09-04 11:27 ` Folkert van Heusden
2005-09-05 1:49 ` Alejandro Bonilla Beeche
2005-09-05 10:10 ` Mathieu
2005-09-06 2:10 ` Cal Peake
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=200509091411_MC3-1-A9B0-1C0C@compuserve.com \
--to=76306.1226@compuserve.com \
--cc=alsa-devel@alsa-project.org \
--cc=linux-kernel@vger.kernel.org \
--cc=rlrevell@joe-job.com \
/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®