All of lore.kernel.org
 help / color / mirror / Atom feed
From: Takashi Iwai <tiwai@suse.de>
To: Rafal Dejewski <lardel@interia.pl>
Cc: alsa-devel@lists.sourceforge.net
Subject: Re: Ali5451 on HP VT6200 notebook not working
Date: Thu, 28 Nov 2002 17:36:15 +0100	[thread overview]
Message-ID: <s5hof89zm68.wl@alsa2.suse.de> (raw)
In-Reply-To: <200211211230.00392.lardel@interia.pl>

[-- Attachment #1: Type: text/plain, Size: 1184 bytes --]

Hi,

At Thu, 21 Nov 2002 12:29:59 +0100,
Rafal Dejewski wrote:
> 
> Hi,
> I have HP vt6200 notebook. It has ALI5451 chip. I tried diffrent kernels 
> 2.4.18, 2.4.19, 2.4.20rc1, 2.5.48 and alsa-driver 0.9rc4,rc5,rc6.
> The standard kernel trident module works OK on all kernels but alsa driver 
> does not on any.
> Before rc6 the snd-ali5451 module would just hang with "(initializing)" 
> status. Now with rc6 or kernel 2.5.48 when I uncomment "#define ALI_DEBUG" 
> this what dmesg is showing:
> driver pci:ALI 5451: registering
> kobject ALI 5451: registering
> bus pci: add driver ALI 5451
> probe ...
> creating ...
> PCI: IRQ 7 for device 00:04.0 doesn't match PIRQ mask - try pci=usepirqmask
  ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^

is this ok?

> PCI: Found IRQ 7 for device 00:04.0
> resouces allocation ...
> resouces allocated.
> snd_device_new is called.
> chip initializing ...
> ALSA sound/pci/ali5451/ali5451.c:2159: ali create: chip init error.

it looks like the driver failed the reset of ac97 codec.
the attached patch will let the driver continue after the error.
please let me know whether it works for you.


ciao,

Takashi

[-- Attachment #2: ali-codec-fix.dif --]
[-- Type: application/octet-stream, Size: 454 bytes --]

Index: alsa-kernel/pci/ali5451/ali5451.c
===================================================================
RCS file: /suse/tiwai/cvs/alsa/alsa-kernel/pci/ali5451/ali5451.c,v
retrieving revision 1.19
diff -u -r1.19 ali5451.c
--- alsa-kernel/pci/ali5451/ali5451.c	30 Oct 2002 17:24:48 -0000	1.19
+++ alsa-kernel/pci/ali5451/ali5451.c	28 Nov 2002 16:33:44 -0000
@@ -529,7 +529,7 @@
 		udelay(5000);
 	}
 
-	return -1;
+	return 0;
 }
 
 #ifdef CODEC_RESET

  reply	other threads:[~2002-11-28 16:36 UTC|newest]

Thread overview: 10+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2002-11-21 11:29 Ali5451 on HP VT6200 notebook not working Rafal Dejewski
2002-11-28 16:36 ` Takashi Iwai [this message]
2002-11-29  9:53   ` Rafal Dejewski
2002-11-29 10:12     ` Takashi Iwai
2002-11-29 10:19       ` Rafal Dejewski
2002-11-29 10:29         ` Takashi Iwai
2002-11-29 10:47           ` Rafal Dejewski
2002-11-29 11:03             ` Takashi Iwai
2002-11-29 11:40               ` Rafal Dejewski
2002-11-29 12:12                 ` Takashi Iwai

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=s5hof89zm68.wl@alsa2.suse.de \
    --to=tiwai@suse.de \
    --cc=alsa-devel@lists.sourceforge.net \
    --cc=lardel@interia.pl \
    /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 an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.