From mboxrd@z Thu Jan 1 00:00:00 1970 From: Takashi Iwai Subject: Re: (no subject) Date: Wed, 16 Mar 2005 14:22:12 +0100 Message-ID: References: <1612.132.168.64.149.1110976713.squirrel@132.168.64.149> Mime-Version: 1.0 (generated by SEMI 1.14.5 - "Awara-Onsen") Content-Type: text/plain; charset=US-ASCII In-Reply-To: <1612.132.168.64.149.1110976713.squirrel@132.168.64.149> 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: Eric Cc: alsa-devel@lists.sourceforge.net List-Id: alsa-devel@alsa-project.org At Wed, 16 Mar 2005 13:38:33 +0100 (CET), Eric wrote: > > I want to use a 9860 laptop provided with realtek ALC880 azalia sound > system. I have also a PATA hard disk on a FastTrack 378 newly supported by > the linux kernel (don't know if it is important or not for my alsa > problem). > I installed an ubuntu distrib (development branch). So I have kernel 2.6.10. > I installed alsa-1.0.8 from an alsa-source package on a 2.6.10 kernel from > hoary, recompiled, and installed. So now I have snd-azx. > When I modprobe snd-azx, it loads, but it complains about > "azx_get_response timeout" a lot of time, then complains about "no AFG > node found" for snd_hda_codecs. And finally the sound card is not > recognized. > cat /proc/asound/cards -> no sound card. > > I found this piece of code from a patch from last alsa code patch > (alsa-bk-2005-03-11.patch). It seems the problems comes from that pieces > of code ... > > +/* receive a response */ > +static unsigned int azx_get_response(struct hda_codec *codec) > +{ > + azx_t *chip = codec->bus->private_data; > + int timeout = 50; > + > + while (chip->rirb.cmds) { > + if (! --timeout) { > + snd_printk(KERN_ERR "azx_get_response timeout\n"); > + chip->rirb.rp = azx_readb(chip, RIRBWP); > + chip->rirb.cmds = 0; > + return -1; > + } > + msleep(1); > + } > + return chip->rirb.res; /* the last value */ > +} > > and > > /* FIXME: support for multiple AFGs? */ > + codec->afg = look_for_afg_node(codec); > + if (! codec->afg) { > + snd_printk(KERN_ERR "hda_codec: no AFG node found\n"); > + snd_hda_codec_free(codec); > + return -ENODEV; > + } > > I cannot get it work. Is it a bug ? Did I miss something ??? Try 1.0.9rc1. The driver is renamed to snd-hda-intel. Sometimes you might need to set up BIOS. On one test machine, I had to choose "Audio -> Automatic" and "Ignore override" for audio setup. Takashi ------------------------------------------------------- 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://ads.osdn.com/?ad_id=6595&alloc_id=14396&op=click