From: Takashi Iwai Subject: Re: snd_hda_intel and Asus F3Jv problem on 2.6.19 Date: Thu, 21 Dec 2006 17:45:07 +0100 Message-ID: References: <200612012211.03655.tonton@bdefracte.org> Mime-Version: 1.0 (generated by SEMI 1.14.6 - "Maruoka") Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Return-path: In-Reply-To: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: alsa-devel-bounces@lists.sourceforge.net Errors-To: alsa-devel-bounces@lists.sourceforge.net To: TonTon Cc: alsa-devel@lists.sourceforge.net List-Id: alsa-devel@alsa-project.org At Wed, 20 Dec 2006 19:26:55 +0000 (UTC), TonTon wrote: > > Takashi Iwai suse.de> writes: > > > > At Fri, 1 Dec 2006 22:11:03 +0100, > > TonTon wrote: > >> ... > > Thanks for your report. It's fixed on HG repo. > > Thanks for he correction. > > > > > So the module crash on load on my laptop. > > > A simple fix can be to test if pointer is NULL, but I 'm not sure what it > > > implies. The fix makes the module work (with sound), but I can't test with a > > > mic (I guess it is related) > > > > I guess it's a Conexant codec? If yes, Tobin is working on this stuff > > recently. > > In fact it is a Realtek ALC660 reported in /proc/asound/card0/codec#0. OK then it's a totally different one. > With lastest hg it gives : > hda_codec: Unknown model for ALC861, trying auto-probe from BIOS... > ALSA /home/tonton/src/alsa/alsa-driver/pci/hda/hda_codec.c:2175: autoconfig: > line_outs=1 (0x14/0x0/0x0/0x0/0x0) > ALSA /home/tonton/src/alsa/alsa-driver/pci/hda/hda_codec.c:2179: > speaker_outs=0 (0x0/0x0/0x0/0x0/0x0) > ALSA /home/tonton/src/alsa/alsa-driver/pci/hda/hda_codec.c:2183: hp_outs=1 > (0x1b/0x0/0x0/0x0/0x0) > ALSA /home/tonton/src/alsa/alsa-driver/pci/hda/hda_codec.c:2191: inputs: > mic=0x18, fmic=0x19, line=0x0, fline=0x0, cd=0x1c, aux=0x0 > hda_codec: num_steps = 0 for NID=0x8 > > Alsamiser doesn't start : > alsamixer: function snd_mixer_load failed: Invalid argument > hda_codec: num_steps = 0 for NID=0x15 > > Then I tried to force it in alc861_cfg_tbl adding SND_PCI_QUIRK(0x1043, 0x1339, > "ASUS", ALC660_3ST), in patch_realtek.c), but it doesn't work. > dmesg : > hda_codec: num_steps = 0 for NID=0x15 > hda_codec: num_steps = 0 for NID=0x15 > hda_codec: num_steps = 0 for NID=0x15 > hda_codec: num_steps = 0 for NID=0x8 Did you try other values? You don't have to change the code but simply pass model=xxx module option at loading. I guess asus-laptop would match with your hardware. See ALSA-Configuration.txt for the available option values. Takashi ------------------------------------------------------------------------- Take Surveys. Earn Cash. Influence the Future of IT Join SourceForge.net's Techsay panel and you'll get the chance to share your opinions on IT & business topics through brief surveys - and earn cash http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV