Em Saturday 29 September 2007 18:53:29 Herton Ronaldo Krzesinski escreveu: > On Saturday 29 September 2007 06:07:17 zhejiang wrote: > > Seems that the spec->input_mux contains no item at all. > > So system maybe crash in the snd_hda_input_mux_info() when try to copy > > the items[].label,which is null pointer. > > > > May you replace the function stac92xx_mux_enum_info() in > > alsa-driver-1.0.15rc2/alsa-kernel/pci/hda/patch_sigmatel.c ? > > > > static int stac92xx_mux_enum_info(struct snd_kcontrol *kcontrol, struct > > snd_ctl_elem_info *uinfo) > > { > > struct hda_codec *codec = snd_kcontrol_chip(kcontrol); > > struct sigmatel_spec *spec = codec->spec; > > printk("spec->input_mux->num_items is %d > > \n",spec->input_mux->num_items); > > if(!spec->input_mux->num_items) > > return 0; > > return snd_hda_input_mux_info(spec->input_mux, uinfo); > > } > > > > Does it still crash? > > What's the number of num_items? I received feedback from the reporter: spec->input_mux->num_items is 0 Also sound works fine, no more crashes. -- []'s Herton _______________________________________________ Alsa-devel mailing list Alsa-devel@xxxxxxxxxxxxxxxx http://mailman.alsa-project.org/mailman/listinfo/alsa-devel