From mboxrd@z Thu Jan 1 00:00:00 1970 From: Takashi Iwai Subject: Re: Intel8x0 still broken in 2.6.9-ac16 Date: Mon, 20 Dec 2004 19:14:42 +0100 Message-ID: References: Mime-Version: 1.0 (generated by SEMI 1.14.5 - "Awara-Onsen") Content-Type: multipart/mixed; boundary="Multipart_Mon_Dec_20_19:14:42_2004-1" Content-Transfer-Encoding: 7bit Return-path: In-Reply-To: Sender: alsa-devel-admin@lists.sourceforge.net Errors-To: alsa-devel-admin@lists.sourceforge.net List-Unsubscribe: , List-Post: List-Help: List-Subscribe: , List-Archive: To: David =?ISO-8859-1?Q?G=F3mez?= Cc: alsa-devel@lists.sourceforge.net List-Id: alsa-devel@alsa-project.org --Multipart_Mon_Dec_20_19:14:42_2004-1 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable At Fri, 17 Dec 2004 18:38:54 +0100, David G=F3mez wrote: >=20 > Hi Takashi ;) >=20 > On Fri, 17 Dec 2004 16:39:28 +0100, Takashi Iwai wrote: > > > codec_write 0: semaphore is not ready for register 0x2 > > > codec_write 0: semaphore is not ready for register 0x2 > > > codec_write 0: semaphore is not ready for register 0x2 > >=20 > > This implies that wrong SDI's are assigned to the codec or GLOB_STA > > register shows something different. > >=20 > > Please attach /proc/asound/card0/intel8x0 and >=20 > [huma@miller] [~] % cat /proc/asound/card0/intel8x0=20 > Intel8x0 >=20 > Global control : 0x00000000 > Global status : 0x08700000 > SDM : 0x00000008 > AC'97 codecs ready : none > AC'97 codecs SDIN : 0 0 0 The GLOB_STA register shows a weird value. That's why codecs can't get probed. Could you try the attached patch and check the kernel messages? >=20 > > /proc/asound/card0/codec97#0/* files for debugging. >=20 > 0-0/0: Conexant id 30 Ok, that's only a garbage. Forget it... Takashi --Multipart_Mon_Dec_20_19:14:42_2004-1 Content-Type: text/plain; charset=US-ASCII Index: alsa-kernel/pci/intel8x0.c =================================================================== RCS file: /suse/tiwai/cvs/alsa/alsa-kernel/pci/intel8x0.c,v retrieving revision 1.179 diff -u -r1.179 intel8x0.c --- alsa-kernel/pci/intel8x0.c 15 Dec 2004 15:23:13 -0000 1.179 +++ alsa-kernel/pci/intel8x0.c 20 Dec 2004 18:13:06 -0000 @@ -1952,6 +1952,7 @@ codecs++; if (glob_sta & ICH_TCR) codecs++; + printk(KERN_DEBUG "XXX codec probing: codecs = %d, glob_sta = 0x%08x\n", codecs, glob_sta); chip->in_sdin_init = 1; for (i = 0; i < codecs; i++) { snd_intel8x0_codec_read_test(chip, i); @@ -2142,6 +2143,7 @@ snd_printk(KERN_ERR "codec_ready: codec is not ready [0x%x]\n", igetdword(chip, ICHREG(GLOB_STA))); return -EIO; } + printk(KERN_DEBUG "XXX GLOB_STA reads 0x%08x\n", status); if (chip->device_type == DEVICE_INTEL_ICH4) /* ICH4 can have three codecs */ @@ -2156,6 +2158,7 @@ do_delay(chip); status |= igetdword(chip, ICHREG(GLOB_STA)) & nstatus; } + printk(KERN_DEBUG "XXX GLOB_STA reads end: 0x%08x\n", status); } else { /* resume phase */ --Multipart_Mon_Dec_20_19:14:42_2004-1-- ------------------------------------------------------- SF email is sponsored by - The IT Product Guide Read honest & candid reviews on hundreds of IT Products from real users. Discover which products truly live up to the hype. Start reading now. http://productguide.itmanagersjournal.com/