From: Takashi Iwai Subject: Re: NULL pointer dereference Date: Mon, 20 Jun 2005 20:30:46 +0200 Message-ID: References: <20050620123344.GA20286@blackmilk.localzone.fr> Mime-Version: 1.0 (generated by SEMI 1.14.6 - "Maruoka") Content-Type: multipart/mixed; boundary="Multipart_Mon_Jun_20_20:30:46_2005-1" 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: fab Cc: alsa-devel@lists.sourceforge.net List-Id: alsa-devel@alsa-project.org --Multipart_Mon_Jun_20_20:30:46_2005-1 Content-Type: text/plain; charset=ISO-2022-JP At Mon, 20 Jun 2005 19:26:13 +0200, 私 wrote: > > At Mon, 20 Jun 2005 14:33:44 +0200, > fab wrote: > > > > Hi, > > testing the latest cvs version to see if I can make the internal speaker > > working as in realtek's drivers (after having upgraded my kernel), I got it > > (and I get it as soon as I load the sound module): > > Looks like the new code I added for auto-probing is buggy. > As a workaround, pass model=asus option unless it's fixed. ... or try the patch below. Takashi --Multipart_Mon_Jun_20_20:30:46_2005-1 Content-Type: text/plain; charset=US-ASCII Index: alsa-kernel/pci/hda/patch_realtek.c =================================================================== RCS file: /home/iwai/cvs/alsa/alsa-kernel/pci/hda/patch_realtek.c,v retrieving revision 1.21 diff -u -r1.21 patch_realtek.c --- alsa-kernel/pci/hda/patch_realtek.c 13 Jun 2005 12:53:42 -0000 1.21 +++ alsa-kernel/pci/hda/patch_realtek.c 20 Jun 2005 18:30:08 -0000 @@ -119,6 +119,7 @@ unsigned int num_kctl_alloc, num_kctl_used; snd_kcontrol_new_t *kctl_alloc; struct hda_input_mux private_imux; + hda_nid_t private_dac_nids[4]; }; @@ -1809,6 +1810,7 @@ int i, j; memset(assigned, 0, sizeof(assigned)); + spec->multiout.dac_nids = &spec->dac_nids_private; /* check the pins hardwired to audio widget */ for (i = 0; i < cfg->line_outs; i++) { --Multipart_Mon_Jun_20_20:30:46_2005-1-- ------------------------------------------------------- SF.Net email is sponsored by: Discover Easy Linux Migration Strategies from IBM. Find simple to follow Roadmaps, straightforward articles, informative Webcasts and more! Get everything you need to get up to speed, fast. http://ads.osdn.com/?ad_id=7477&alloc_id=16492&op=click