← Back to team overview

touch-packages team mailing list archive

[Bug 1487702] Re: [SATELLITE C50-B, Realtek ALC233, Mic, Internal] No autoswitch

 

https://git.kernel.org/cgit/linux/kernel/git/tiwai/sound.git/patch/sound/pci/hda?id=b016951e897b5bd06abfb732012f67b461fb1e2e


if  none of those headset model work, you have to compile the driver in
debug mode since only the debug version show headset type

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

	switch (codec->core.vendor_id) {
	
	case 0x10ec0233:
	case 0x10ec0283:
		alc_write_coef_idx(codec, 0x45, 0xd029);
		msleep(300);
		val = alc_read_coef_idx(codec, 0x46);
		is_ctia = (val & 0x0070) == 0x0070;
		break;

        }

	codec_dbg(codec, "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;
}

** Changed in: alsa-driver (Ubuntu)
       Status: New => Incomplete

-- 
You received this bug notification because you are a member of Ubuntu
Touch seeded packages, which is subscribed to alsa-driver in Ubuntu.
https://bugs.launchpad.net/bugs/1487702

Title:
  [SATELLITE C50-B, Realtek ALC233, Mic, Internal] No autoswitch

Status in alsa-driver package in Ubuntu:
  Incomplete

Bug description:
  It is a Toshiba Satellite C50-B-15N to be precise. It has a single combo plug, and Ubuntu fails to switch to the headset microphone when a combo jack is plugged in.
  Sometimes even the output fails switching to phones, but it only happens very seldom, and after a reboot it works fine again. But the mic just never ever switches, only the laptop's built-in one is always working.

  I am using an up to date Ubuntu 15.04 Vivid Vervet with Unity and
  standard audio set-up. I haven't (yet) change anything audio-related.
  I have started this bug with apport, so I believe most of these
  details are reported there.

  Probably a different bug, but it could be related: The built-in mic is
  stereo, but only its left side is actually working, as a normal
  single-channel mic. The right side is deaf.

  Let me know if you need other info.

  Thanks!

  ProblemType: Bug
  DistroRelease: Ubuntu 15.04
  Package: alsa-base 1.0.25+dfsg-0ubuntu4
  ProcVersionSignature: Ubuntu 3.19.0-26.28-generic 3.19.8-ckt4
  Uname: Linux 3.19.0-26-generic x86_64
  ApportVersion: 2.17.2-0ubuntu1.2
  Architecture: amd64
  AudioDevicesInUse:
   USER        PID ACCESS COMMAND
   /dev/snd/controlC0:  franko     1631 F.... pulseaudio
  CurrentDesktop: Unity
  Date: Sat Aug 22 13:28:51 2015
  InstallationDate: Installed on 2015-04-24 (119 days ago)
  InstallationMedia: Ubuntu 15.04 "Vivid Vervet" - Release amd64 (20150422)
  PackageArchitecture: all
  SourcePackage: alsa-driver
  Symptom: audio
  Symptom_Card: Ugrađeni zvuk - HDA Intel PCH
  Symptom_Jack: Mic, Internal
  Symptom_Type: No auto-switch between inputs
  Title: [SATELLITE C50-B, Realtek ALC233, Mic, Internal] No autoswitch
  UpgradeStatus: No upgrade log present (probably fresh install)
  dmi.bios.date: 06/11/2014
  dmi.bios.vendor: TOSHIBA
  dmi.bios.version: 1.30
  dmi.board.asset.tag: *
  dmi.board.name: ZBWAA
  dmi.board.vendor: TOSHIBA
  dmi.board.version: 1.00
  dmi.chassis.asset.tag: *
  dmi.chassis.type: 10
  dmi.chassis.vendor: To Be Filled By O.E.M.
  dmi.chassis.version: To Be Filled By O.E.M.
  dmi.modalias: dmi:bvnTOSHIBA:bvr1.30:bd06/11/2014:svnTOSHIBA:pnSATELLITEC50-B:pvrPSCMNE-01G009Y4:rvnTOSHIBA:rnZBWAA:rvr1.00:cvnToBeFilledByO.E.M.:ct10:cvrToBeFilledByO.E.M.:
  dmi.product.name: SATELLITE C50-B
  dmi.product.version: PSCMNE-01G009Y4
  dmi.sys.vendor: TOSHIBA

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


References