From: TonTon Subject: Re: =?utf-8?q?snd=5Fhda=5Fintel_and_Asus_F3Jv_problem_on?= =?utf-8?q?_2=2E6=2E19?= Date: Wed, 20 Dec 2006 19:26:55 +0000 (UTC) Message-ID: References: <200612012211.03655.tonton@bdefracte.org> Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Return-path: 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: alsa-devel@lists.sourceforge.net List-Id: alsa-devel@alsa-project.org 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. 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 Hope this help, I'm still trying on my, but I haven't enough knowledge on alsa. TonTon ------------------------------------------------------------------------- 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