← Back to team overview

desktop-packages team mailing list archive

[Bug 1414706] Re: [20ALCTO1WW, Realtek ALC292, Black Mic, Left][Lenovo ThinkPad X240] external mic has no sound at all

 

your coef dump seem indicate headset mic is cita


	val = alc_read_coef_idx(codec, 0x6c);
   is_ctia = (val & 0x001c) == 0x001c;


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


+static void alc_determine_headset_type(struct hda_codec *codec)
+{
+	int val;
+	bool is_ctia = false;
+	struct alc_spec *spec = codec->spec;
+
+	switch (codec->vendor_id) {

+	case 0x10ec0292:
+		alc_write_coef_idx(codec, 0x6b, 0xd429);
+		msleep(300);
+		val = alc_read_coef_idx(codec, 0x6c);
+		is_ctia = (val & 0x001c) == 0x001c;
+		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 Desktop
Packages, which is subscribed to alsa-driver in Ubuntu.
https://bugs.launchpad.net/bugs/1414706

Title:
  [20ALCTO1WW, Realtek ALC292, Black Mic, Left][Lenovo ThinkPad X240]
  external mic has no sound at all

Status in HWE Next Project:
  Incomplete
Status in alsa-driver package in Ubuntu:
  Confirmed

Bug description:
  During this test, an error dialog was thrown, reading:

  The following mixer control(s) might be incorrectly set: 
  Mic is at 0.0%

  Mic is muted
  Please try to fix that (e g by running 
  "alsamixer -D hw:PCH" in a terminal) and see if that solves the problem.
  Would you like to continue troubleshooting anyway?

  However, the System Settings... -> Sound UI shows the mic as not
  muted. When I tried running the alsamixer command, I saw mic and mic-
  boost were both showing 0; I cranked them up to 100, but it made no
  difference. I also tried re-running this command with the mic/mic-
  boost still set to 100 and it threw the same error.

  ProblemType: Bug
  DistroRelease: Ubuntu 14.04
  Package: alsa-base 1.0.25+dfsg-0ubuntu4
  ProcVersionSignature: Ubuntu 3.13.0-45.74-generic 3.13.11-ckt13
  Uname: Linux 3.13.0-45-generic x86_64
  ApportVersion: 2.14.1-0ubuntu3.6
  Architecture: amd64
  AudioDevicesInUse:
   USER        PID ACCESS COMMAND
   /dev/snd/controlC1:  doctorow   2636 F.... pulseaudio
   /dev/snd/pcmC1D0c:   doctorow   2636 F...m pulseaudio
   /dev/snd/pcmC1D0p:   doctorow   2636 F...m pulseaudio
   /dev/snd/controlC0:  doctorow   2636 F.... pulseaudio
  CurrentDesktop: Unity
  Date: Mon Jan 26 16:20:49 2015
  InstallationDate: Installed on 2014-09-10 (138 days ago)
  InstallationMedia: Ubuntu 14.04.1 LTS "Trusty Tahr" - Release amd64 (20140722.2)
  PackageArchitecture: all
  SourcePackage: alsa-driver
  Symptom: audio
  Symptom_AlsaRecordingTest: ALSA recording test through plughw:PCH failed
  Symptom_AlsaRecordingTestStderr: a r e c o r d :   p c m _ r e a d : 2 0 3 1 :   r e a d   e r r o r :   I n p u t / o u t p u t   e r r o r
  Symptom_Card: Built-in Audio - HDA Intel PCH
  Symptom_DevicesInUse:
   USER        PID ACCESS COMMAND
   /dev/snd/controlC1:  doctorow   2636 F.... pulseaudio
   /dev/snd/pcmC1D0c:   doctorow   2636 F...m pulseaudio
   /dev/snd/pcmC1D0p:   doctorow   2636 F...m pulseaudio
   /dev/snd/controlC0:  doctorow   2636 F.... pulseaudio
  Symptom_Jack: Black Mic, Left
  Symptom_Type: No sound at all
  Title: [20ALCTO1WW, Realtek ALC292, Black Mic, Left] No sound at all
  UpgradeStatus: No upgrade log present (probably fresh install)
  dmi.bios.date: 06/24/2014
  dmi.bios.vendor: LENOVO
  dmi.bios.version: GIET75WW (2.25 )
  dmi.board.asset.tag: Not Available
  dmi.board.name: 20ALCTO1WW
  dmi.board.vendor: LENOVO
  dmi.board.version: 0B98401 PRO
  dmi.chassis.asset.tag: No Asset Information
  dmi.chassis.type: 10
  dmi.chassis.vendor: LENOVO
  dmi.chassis.version: Not Available
  dmi.modalias: dmi:bvnLENOVO:bvrGIET75WW(2.25):bd06/24/2014:svnLENOVO:pn20ALCTO1WW:pvrThinkPadX240:rvnLENOVO:rn20ALCTO1WW:rvr0B98401PRO:cvnLENOVO:ct10:cvrNotAvailable:
  dmi.product.name: 20ALCTO1WW
  dmi.product.version: ThinkPad X240
  dmi.sys.vendor: LENOVO
  mtime.conffile..etc.modprobe.d.alsa.base.conf: 2015-01-22T13:36:22.741441

To manage notifications about this bug go to:
https://bugs.launchpad.net/hwe-next/+bug/1414706/+subscriptions


References