← Back to team overview

touch-packages team mailing list archive

[Bug 1357928] Re: [HDA-Intel - HDA Intel MID, playback] volume slider problem - Slide to bottom and sound stays off even when slider moved up again

 

the patch was made for stac9200 and stac9205 and only tested by reporter
with those two codecs

it is a regression of the driver which applied to all sigmatel codecs


static struct snd_kcontrol_new stac9200_mixer[] = {
-	HDA_CODEC_VOLUME("Master Playback Volume", 0xb, 0, HDA_OUTPUT),
+	HDA_CODEC_VOLUME_MIN_MUTE("Master Playback Volume", 0xb, 0, HDA_OUTPUT),
 	HDA_CODEC_MUTE("Master Playback Switch", 0xb, 0, HDA_OUTPUT),
 	HDA_CODEC_VOLUME("Capture Volume", 0x0a, 0, HDA_OUTPUT),
 	HDA_CODEC_MUTE("Capture Switch", 0x0a, 0, HDA_OUTPUT),
@@ -1020,7 +1020,7 @@ static struct snd_kcontrol_new stac92hd71bxx_loopback[] = {
 };
 
 static struct snd_kcontrol_new stac925x_mixer[] = {
-	HDA_CODEC_VOLUME("Master Playback Volume", 0x0e, 0, HDA_OUTPUT),
+	HDA_CODEC_VOLUME_MIN_MUTE("Master Playback Volume", 0xe, 0, HDA_OUTPUT),
 	HDA_CODEC_MUTE("Master Playback Switch", 0x0e, 0, HDA_OUTPUT),
 	{ } /* end */
 };
@@ -1144,6 +1144,8 @@ static int stac92xx_build_controls(struct hda_codec *codec)
 					HDA_OUTPUT, vmaster_tlv);
 		/* correct volume offset */
 		vmaster_tlv[2] += vmaster_tlv[3] * spec->volume_offset;
+		/* minimum value is actually mute */
+		vmaster_tlv[3] |= 0x1000;
 		err = snd_hda_add_vmaster(codec, "Master Playback Volume",
 					  vmaster_tlv, slave_vols);
 		if (err < 0)

-- 
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/1357928

Title:
  [HDA-Intel - HDA Intel MID, playback] volume slider problem - Slide to
  bottom and sound stays off even when slider moved up again

Status in “alsa-driver” package in Ubuntu:
  Incomplete

Bug description:
  The Audio Mixer panel widget slider (current version) has no "mute"
  checkbox. The 12.04 version had a mute checkbox in addition to the
  slider.

  When the slider is moved to the bottom, everything is muted: Master,
  Headphone, Speaker, PCM. Move the slider up and only Master is
  unmuted.

  My computer has three hardware buttons for audio. The mute/unmute
  mutes but never unmutes. Same issue.

  Known problem: http://askubuntu.com/questions/397819/ubuntu-13-10-and-
  xfce4-no-sound-at-all

  With 2012.04 I could just uncheck the mute button and things were back
  to normal. Now I need to open Audio Mixer and unmute everything.

  (It also appears I need to unmute the Headphones to hear sounds from
  the internal speakers.)

  As someone who works in an environment where I regularly need to mute
  this behavior is very annoying.

  1) The volume sliders should never mute.
  2) There should be a mute checkbox.
  3) The unmute options should unmute everything which was muted.

  ProblemType: Bug
  DistroRelease: Ubuntu 14.04
  Package: alsa-base 1.0.25+dfsg-0ubuntu4
  ProcVersionSignature: Ubuntu 3.13.0-34.60-generic 3.13.11.4
  Uname: Linux 3.13.0-34-generic x86_64
  ApportVersion: 2.14.1-0ubuntu3.3
  Architecture: amd64
  CurrentDesktop: XFCE
  Date: Sun Aug 17 06:53:47 2014
  InstallationDate: Installed on 2010-06-11 (1528 days ago)
  InstallationMedia: Ubuntu 10.04 LTS "Lucid Lynx" - Release amd64 (20100429)
  PackageArchitecture: all
  SourcePackage: alsa-driver
  Symptom: audio
  Symptom_Card: RV710/730 HDMI Audio [Radeon HD 4000 series] - HDA ATI HDMI
  Symptom_PulseAudioLog:
   
  Symptom_Type: Volume slider, or mixer problems
  Title: [HDA-Intel - HDA Intel MID, playback] volume slider problem
  UpgradeStatus: Upgraded to trusty on 2014-08-13 (3 days ago)
  dmi.bios.date: 03/31/2011
  dmi.bios.vendor: Dell Inc.
  dmi.bios.version: A14
  dmi.board.asset.tag: 1234567890
  dmi.board.name: 0J509P
  dmi.board.vendor: Dell Inc.
  dmi.chassis.asset.tag: 1234567890
  dmi.chassis.type: 8
  dmi.chassis.vendor: Dell Inc.
  dmi.modalias: dmi:bvnDellInc.:bvrA14:bd03/31/2011:svnDellInc.:pnStudio1747:pvr:rvnDellInc.:rn0J509P:rvr:cvnDellInc.:ct8:cvr:
  dmi.product.name: Studio 1747
  dmi.sys.vendor: Dell Inc.
  mtime.conffile..etc.modprobe.d.alsa.base.conf: 2012-09-22T06:43:48.837149

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


References