← Back to team overview

touch-packages team mailing list archive

[Bug 1451170] Re: [ ASUS N550LF , Realtek ALC668, Speaker, Internal] To much sound

 

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
Touch seeded packages, which is subscribed to alsa-driver in Ubuntu.
https://bugs.launchpad.net/bugs/1451170

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

Status in alsa-driver package in Ubuntu:
  Incomplete

Bug description:
  Hi

  My laptop speaker doesn't want to switch off when my headphones is plugged.
  Description:    Ubuntu 15.04
  Release:        15.04

  alsa-base:
    Installé : 1.0.25+dfsg-0ubuntu4
    Candidat : 1.0.25+dfsg-0ubuntu4
   Table de version :
   *** 1.0.25+dfsg-0ubuntu4 0
          500 http://fr.archive.ubuntu.com/ubuntu/ vivid/main amd64 Packages
          100 /var/lib/dpkg/status

  Thanks for your support

  ProblemType: Bug
  DistroRelease: Ubuntu 15.04
  Package: alsa-base 1.0.25+dfsg-0ubuntu4
  ProcVersionSignature: Ubuntu 3.19.0-15.15-generic 3.19.3
  Uname: Linux 3.19.0-15-generic x86_64
  ApportVersion: 2.17.2-0ubuntu1
  Architecture: amd64
  AudioDevicesInUse:
   USER        PID ACCESS COMMAND
   /dev/snd/pcmC1D0p:   dubis    1793 F...m pulseaudio
   /dev/snd/controlC1:  dubis    1793 F.... pulseaudio
   /dev/snd/controlC0:  dubis    1793 F.... pulseaudio
  CurrentDesktop: KDE
  Date: Sun May  3 13:25:39 2015
  InstallationDate: Installed on 2014-10-16 (198 days ago)
  InstallationMedia: Kubuntu 14.04 LTS "Trusty Tahr" - Release amd64 (20140416.1)
  PackageArchitecture: all
  SourcePackage: alsa-driver
  Symptom: audio
  Symptom_AlsaPlaybackTest: ALSA playback test through plughw:PCH successful
  Symptom_Card: Audio interne - HDA Intel PCH
  Symptom_DevicesInUse:
   USER        PID ACCESS COMMAND
   /dev/snd/pcmC1D0p:   dubis    1793 F...m pulseaudio
   /dev/snd/controlC1:  dubis    1793 F.... pulseaudio
   /dev/snd/controlC0:  dubis    1793 F.... pulseaudio
  Symptom_Jack: Speaker, Internal
  Symptom_PulsePlaybackTest: PulseAudio playback test successful
  Symptom_Type: No sound at all
  Title: [hostname, Realtek ALC668, Speaker, Internal] No sound at all
  UpgradeStatus: Upgraded to vivid on 2015-04-26 (6 days ago)
  dmi.bios.date: 01/13/2014
  dmi.bios.vendor: American Megatrends Inc.
  dmi.bios.version: N550LF.212
  dmi.board.asset.tag: ATN12345678901234567
  dmi.board.name: N550LF
  dmi.board.vendor: ASUSTeK COMPUTER INC.
  dmi.board.version: 1.0
  dmi.chassis.asset.tag: No Asset Tag
  dmi.chassis.type: 10
  dmi.chassis.vendor: ASUSTeK COMPUTER INC.
  dmi.chassis.version: 1.0
  dmi.modalias: dmi:bvnAmericanMegatrendsInc.:bvrN550LF.212:bd01/13/2014:svnASUSTeKCOMPUTERINC.:pnN550LF:pvr1.0:rvnASUSTeKCOMPUTERINC.:rnN550LF:rvr1.0:cvnASUSTeKCOMPUTERINC.:ct10:cvr1.0:
  dmi.product.name: N550LF
  dmi.product.version: 1.0
  dmi.sys.vendor: ASUSTeK COMPUTER INC.
  mtime.conffile..etc.modprobe.d.alsa.base.conf: 2015-05-01T15:39:09.184568

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


References