Hy,

Please review this patch.
I generated a custom Ubuntu 10.04.3 live CD with containing the patched 
alsa-utils script in /sbin directory.
When I booted this custom live CD, my desktop machine Nvidia soundcard is not 
muted by default (see bug 564472 for details). I am absolute sure this patch 
will resolve the mute problem for this Intel N10 soundcard too.
I added both the Intel N10 soundcard experienced muted channels and the Nvidia 
soundcard experienced muted channels with the patch.

I have got a question if you accept this type fix with final patch and perhaps 
commit this fix Lucid and Oneiric branch:
What method are better to fix this problem? Use the switch_control method to 
only switch the muted status from off to on, or use the unmute_and_set_level 
method this new channels and setting for example with a 80% volume value?

Attila


** Patch added: "A possible solution to resolve with this soundcard experienced 
problem and for example an Nvidia soundcard experienced problem my desktop 
machine"
   
https://bugs.launchpad.net/ubuntu/+source/gnome-media/+bug/862287/+attachment/2495598/+files/fix-wrong-volumes.patch

** Tags added: oneiric patch

-- 
You received this bug notification because you are a member of Desktop
Packages, which is subscribed to gnome-media in Ubuntu.
https://bugs.launchpad.net/bugs/862287

Title:
  [Lucid] Front, Surround, LFE, and Center volume meters are default
  muted with 00:1b.0 Audio device: Intel Corporation N10/ICH 7 Family
  High Definition Audio Controller (rev 01) sound card

Status in “alsa-utils” package in Ubuntu:
  New

Bug description:
  Dear Developers,

  In Ubuntu 10.04.3 release if an user booted with the live CD, default the 
live system with following volum,e meters are default muted, I copyed amixer 
names:
  'Front',0
  'Surround',0
  'Center',0
  'LFE',0
  If I launch with GNOME Volume Control preference tool, mincreasing the output 
slider and uncheck the mute checkbox, the problem is resolved.
  Of course, this problem fixing is important for a11y related, because a 
screen reader user is important to default hear the screen reader audio output.
  I don't no yet this problem are present with newest Ubuntu releases this 
soundcard chipset, and I not often possible to use this machine with testing 
this problem.

  I attaching two amixer text file, first file is showing the original
  result, second shoving the results after I unchecked the mute checkbox
  with GNOME Volume Control preference tool.

  To easyest your work, I doed a diff output with two text file with diff -u 
command, see the results:
  --- hang1.txt 2011-09-29 13:26:00.941940936 +0200
  +++ hang2.txt 2011-09-29 13:27:00.877940898 +0200
  @@ -8,32 +8,32 @@
     Playback channels: Front Left - Front Right
     Limits: Playback 0 - 255
     Mono:
  -  Front Left: Playback 255 [100%] [0.00dB]
  -  Front Right: Playback 255 [100%] [0.00dB]
  +  Front Left: Playback 254 [100%] [0.20dB]
  +  Front Right: Playback 254 [100%] [0.20dB]
   Simple mixer control 'Front',0
     Capabilities: pvolume pswitch penum
     Playback channels: Front Left - Front Right
     Limits: Playback 0 - 64
     Mono:
  -  Front Left: Playback 52 [81%] [-9.00dB] [on]
  -  Front Right: Playback 52 [81%] [-9.00dB] [on]
  +  Front Left: Playback 64 [100%] [0.00dB] [on]
  +  Front Right: Playback 64 [100%] [0.00dB] [on]
   Simple mixer control 'Surround',0
     Capabilities: pvolume pswitch penum
     Playback channels: Front Left - Front Right
     Limits: Playback 0 - 64
     Mono:
  -  Front Left: Playback 64 [100%] [0.00dB] [off]
  -  Front Right: Playback 64 [100%] [0.00dB] [off]
  +  Front Left: Playback 64 [100%] [0.00dB] [on]
  +  Front Right: Playback 64 [100%] [0.00dB] [on]
   Simple mixer control 'Center',0
     Capabilities: pvolume pvolume-joined pswitch pswitch-joined penum
     Playback channels: Mono
     Limits: Playback 0 - 64
  -  Mono: Playback 64 [100%] [0.00dB] [off]
  +  Mono: Playback 64 [100%] [0.00dB] [on]
   Simple mixer control 'LFE',0
     Capabilities: pvolume pvolume-joined pswitch pswitch-joined penum
     Playback channels: Mono
     Limits: Playback 0 - 64
  -  Mono: Playback 64 [100%] [0.00dB] [off]
  +  Mono: Playback 64 [100%] [0.00dB] [on]
   Simple mixer control 'Line Jack Mode',0
     Capabilities: enum
     Items: 'Mic In' 'Line In' 'Line Out'

  
  Attila

  ProblemType: Bug
  DistroRelease: Ubuntu 10.04
  Package: gnome-media 2.30.0-0ubuntu1
  ProcVersionSignature: Ubuntu 2.6.32-33.70-generic 2.6.32.41+drm33.18
  Uname: Linux 2.6.32-33-generic i686
  Architecture: i386
  Date: Thu Sep 29 13:37:52 2011
  LiveMediaBuild: Ubuntu 10.04.3 LTS "Lucid Lynx" - Release i386 (20110720.1)
  ProcEnviron:
   LANGUAGE=hu_HU:en
   LANG=hu_HU.UTF-8
   LC_MESSAGES=hu_HU.UTF-8
   SHELL=/bin/bash
  SourcePackage: gnome-media

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

-- 
Mailing list: https://launchpad.net/~desktop-packages
Post to     : [email protected]
Unsubscribe : https://launchpad.net/~desktop-packages
More help   : https://help.launchpad.net/ListHelp

Reply via email to