From mboxrd@z Thu Jan 1 00:00:00 1970 From: Takashi Iwai Subject: Re: Ali5451 on HP VT6200 notebook not working Date: Thu, 28 Nov 2002 17:36:15 +0100 Sender: alsa-devel-admin@lists.sourceforge.net Message-ID: References: <200211211230.00392.lardel@interia.pl> Mime-Version: 1.0 (generated by SEMI 1.14.4 - "Hosorogi") Content-Type: multipart/mixed; boundary="Multipart_Thu_Nov_28_17:36:15_2002-1" Return-path: In-Reply-To: <200211211230.00392.lardel@interia.pl> Errors-To: alsa-devel-admin@lists.sourceforge.net List-Help: List-Post: List-Subscribe: , List-Unsubscribe: , List-Archive: To: Rafal Dejewski Cc: alsa-devel@lists.sourceforge.net List-Id: alsa-devel@alsa-project.org --Multipart_Thu_Nov_28_17:36:15_2002-1 Content-Type: text/plain; charset=US-ASCII 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 --Multipart_Thu_Nov_28_17:36:15_2002-1 Content-Type: application/octet-stream Content-Disposition: attachment; filename="ali-codec-fix.dif" Content-Transfer-Encoding: 7bit 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 --Multipart_Thu_Nov_28_17:36:15_2002-1-- ------------------------------------------------------- This SF.net email is sponsored by: Get the new Palm Tungsten T handheld. Power & Color in a compact size! http://ads.sourceforge.net/cgi-bin/redirect.pl?palm0002en