Autmatically increasing the volume if muted or 0.

Colin Guthrie gmane at colin.guthr.ie
Wed Jun 2 19:45:11 BST 2010


'Twas brillig, and Daniel Chen at 02/06/10 15:36 did gyre and gimble:
> On Wed, Jun 2, 2010 at 10:17 AM, Bill Cox <waywardgeek at gmail.com> wrote:
>> Blind users of Ubuntu Lucid, and Vinux 3.0, are reporting that on many
>> machines, volume is muted at the initial boot, both for the LiveCD and
> 
> For Ubuntu, do you mean that the volume setting at the gdm greeter is
> both muted and zero? Does Vinux use gdm, and if yes, does the previous
> question resolve to "both muted and zero"?
> 
>> Naturally, the first suggestion I heard from a blind developer was to
>> disable PulseAudio's volume-restore function, as this seems related to
> 
> Indeed that's a pretty gross hack.
> 
>> problems, rather than disable functionality.  Apparently these
>> problems are due to various problems with various sound cards and
>> drivers.  What would I need to change to detect and resolve this
>> situation?
> 
> Find where in the boot sequence the default card's volume setting is
> being twiddled to muted and zero. The culprits are:
> 
> via the alsa-utils initscript called by the udev rule responsible; see
> the start stanza and note the alsactl restore;
> 
> via the greeter's saved sink setting.

Does Ubuntu use the alsa provided init db ("alsactl init 0" - where 0 is
card number IIRC) or it's own system? I seem to recall it had it's own
system at some point, but not really sure (either if I'm remembering
correctly or if it's still used). Perhaps alsactl init 0 will help?

Col

-- 

Colin Guthrie
gmane(at)colin.guthr.ie
http://colin.guthr.ie/

Day Job:
  Tribalogic Limited [http://www.tribalogic.net/]
Open Source:
  Mandriva Linux Contributor [http://www.mandriva.com/]
  PulseAudio Hacker [http://www.pulseaudio.org/]
  Trac Hacker [http://trac.edgewall.org/]




More information about the ubuntu-devel mailing list