2011/2/22 Wolfgang Scheicher wolfgang.scheicher@gmail.com
David Henningsson wrote:
On 2011-02-21 09:43, Mark Goldstein wrote:
[...]
I've never dealt with submitting patches, so probably it'll be better (and definitely faster) if you could do it.
Thank you,
Ok, here comes the patch!
Tested, and Microphone now works! Thanks a lot to everyone involved. Good job so far!
On a side note: One still must not touch "Smart 5.1" in alsamixer, because if one does, mixer will still crash and (sound)system will hang until pc is rebooted. I can't tell how related this two problems are, but as far as i can tell they both appeared with the same commit ( 7b315bb4980448250c80a7464c256b54d546cb26 ) i did track down on sunday.
Wolfgang Scheicher
This will disable the creation of smart51 switch for those non 3-jacks model
static int via_smart51_build(struct via_spec *spec) { struct snd_kcontrol_new *knew; const struct auto_pin_cfg *cfg = &spec->autocfg; hda_nid_t nid; int i; + if (spec->autocfg.line_outs != 1) { + spec->smart51_enabled=0; + return 0; + }