public inbox for linux-kernel@vger.kernel.org
 help / color / mirror / Atom feed
* Re: [Alsa-devel] Re: Brand-new notebook useless with Linux...
  2005-09-08 19:31 ` Lee Revell
@ 2005-09-08 20:41   ` Peter Zubaj
  0 siblings, 0 replies; 4+ messages in thread
From: Peter Zubaj @ 2005-09-08 20:41 UTC (permalink / raw)
  To: Lee Revell; +Cc: Chuck Ebbert, alsa-devel, linux-kernel

Conexant codec with ID 0x30 - this is AMC97 codec (audio + modem in one
codec) - maybe there is fight between sound and modem driver. On intel
this codec works ok - audio part. Modem part is not working and
snd-intel8x0m have to be in blacklist (otherways audio is not working)
- maybe same problem with ati.

Try to add snd-atiixp-modem to /etc/hotplug/blacklist

Peter Zubaj

On Thu, 2005-09-08 at 15:31 -0400, Lee Revell wrote:
> On Thu, 2005-09-08 at 15:19 -0400, Chuck Ebbert wrote:
> > In-Reply-To: <1125805091.14032.69.camel@mindpipe>
> > 
> > On Sat, 03 Sep 2005 at 23:38:10 -0400, Lee Revell wrote:
> > 
> > > On Sat, 2005-09-03 at 18:58 -0400, Chuck Ebbert wrote:
> > > > I just bought a new notebook.
> > > 
> > > I'd return it if I were you.
> > 
> >  What fun is that?  I have learned that HP/Compaq is hostile to Linux,
> > for one thing, which was interesting (my system is a Compaq Presario
> > V2312US.)
> > 
> >  Can you help me find out why my codec is unknown?  I gave up trying to
> > figure out how to get the codec ID and hacked the source to print it:
> > 
> > 
> > atiixp: codec 0 not available for modem
> > atiixp: no codec available
> > ALSA device list:
> >   #0 ATI IXP rev 2 with 0x43585430 at 0xd0003400, irq 177
> > 
> > 
> > So it's a Conexant codec with ID 0x30 on an atiixp.  OSS has some support
> > for this codec, apparently.
> 
> 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?
> 
> Lee
> 
> 
> 
> -------------------------------------------------------
> SF.Net email is Sponsored by the Better Software Conference & EXPO
> September 19-22, 2005 * San Francisco, CA * Development Lifecycle Practices
> Agile & Plan-Driven Development * Managing Projects & Teams * Testing & QA
> Security * Process Improvement & Measurement * http://www.sqe.com/bsce5sf
> _______________________________________________
> Alsa-devel mailing list
> Alsa-devel@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/alsa-devel
> 
> 
> Informacia od NOD32
> Tato sprava bola skontrolovana antivirovym systemom NOD32.
> [ Projekt gaya | www.gaya.sk ]


^ permalink raw reply	[flat|nested] 4+ messages in thread

* Re: Brand-new notebook useless with Linux...
@ 2005-09-09 18:09 Chuck Ebbert
  2005-09-12  1:42 ` [Alsa-devel] " Lee Revell
  0 siblings, 1 reply; 4+ messages in thread
From: Chuck Ebbert @ 2005-09-09 18:09 UTC (permalink / raw)
  To: Lee Revell; +Cc: linux-kernel, alsa-devel

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

^ permalink raw reply	[flat|nested] 4+ messages in thread

* Re: [Alsa-devel] Re: Brand-new notebook useless with Linux...
  2005-09-09 18:09 Brand-new notebook useless with Linux Chuck Ebbert
@ 2005-09-12  1:42 ` Lee Revell
  2005-09-12 10:42   ` Takashi Iwai
  0 siblings, 1 reply; 4+ messages in thread
From: Lee Revell @ 2005-09-12  1:42 UTC (permalink / raw)
  To: Chuck Ebbert; +Cc: linux-kernel, alsa-devel

On Fri, 2005-09-09 at 14:09 -0400, Chuck Ebbert wrote:
> 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>

This should be applied IMO.  Can we get it in CVS?

Lee


^ permalink raw reply	[flat|nested] 4+ messages in thread

* Re: [Alsa-devel] Re: Brand-new notebook useless with Linux...
  2005-09-12  1:42 ` [Alsa-devel] " Lee Revell
@ 2005-09-12 10:42   ` Takashi Iwai
  0 siblings, 0 replies; 4+ messages in thread
From: Takashi Iwai @ 2005-09-12 10:42 UTC (permalink / raw)
  To: Lee Revell; +Cc: Chuck Ebbert, linux-kernel, alsa-devel

At Sun, 11 Sep 2005 21:42:44 -0400,
Lee Revell wrote:
> 
> On Fri, 2005-09-09 at 14:09 -0400, Chuck Ebbert wrote:
> > 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>
> 
> This should be applied IMO.  Can we get it in CVS?

Applied to CVS now.  Thanks!


Takashi

^ permalink raw reply	[flat|nested] 4+ messages in thread

end of thread, other threads:[~2005-09-12 10:42 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2005-09-09 18:09 Brand-new notebook useless with Linux Chuck Ebbert
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 20:41   ` [Alsa-devel] " Peter Zubaj

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox