sudo echo 1 > /sys/module/snd_hda_codec/parameters/coef_dump

can you provide output of alsa-info.sh with coef_dump enabled which dump proc 
coefs of node 0x20

what is the value of proc coef 0x15 of node 0x20

Node 0x20 [Vendor Defined Widget] wcaps 0xf00040: Mono
  Processing caps: benign=0, ncoeff=197


https://git.kernel.org/cgit/linux/kernel/git/tiwai/sound.git/commit/sound/pci/hda/patch_realtek.c?id=73bdd597823e2231dc882577dbbaf8df92fe1775

+       case 0x10ec0668:
+               alc_write_coef_idx(codec, 0x15, 0x0d60);
+               alc_write_coef_idx(codec, 0xc3, 0x0000);
+               break;
+       }
+       snd_printdd("Headset jack set to iPhone-style headset mode.\n");
+}


case 0x10ec0668:
+               alc_write_coef_idx(codec, 0x15, 0x0d50);
+               alc_write_coef_idx(codec, 0xc3, 0x0000);
+               break;
+       }
+       snd_printdd("Headset jack set to Nokia-style headset mode.\n");


case 0x10ec0668:
+               alc_write_coef_idx(codec, 0x11, 0x0001);
+               alc_write_coef_idx(codec, 0xb7, 0x802b);
+               alc_write_coef_idx(codec, 0x15, 0x0d60);
+               alc_write_coef_idx(codec, 0xc3, 0x0c00);
+               msleep(300);
+               val = alc_read_coef_idx(codec, 0xbe);
+               is_ctia = (val & 0x1c02) == 0x1c02;
+               break;
+       }
+
+       snd_printdd("Headset jack detected iPhone-style headset: %s\n",
+                   is_ctia ? "yes" : "no");
+       spec->current_headset_type = is_ctia ? ALC_HEADSET_TYPE_CTIA : 
ALC_HEADSET_TYPE_OMTP;
+}
+

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1451170

Title:
  [ ASUS N550LF , Realtek ALC668, Speaker, Internal] To much sound

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/alsa-driver/+bug/1451170/+subscriptions

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

Reply via email to