Re: [pulseaudio-discuss] Autmatically increasing the volume if muted or 0.

2010-06-02 Thread Daniel Chen
On Wed, Jun 2, 2010 at 10:17 AM, Bill Cox waywardg...@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.

Best,
-Dan
___
pulseaudio-discuss mailing list
pulseaudio-discuss@mail.0pointer.de
https://tango.0pointer.de/mailman/listinfo/pulseaudio-discuss


Re: [pulseaudio-discuss] Autmatically increasing the volume if muted or 0.

2010-06-02 Thread Colin Guthrie
'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 waywardg...@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/]

___
pulseaudio-discuss mailing list
pulseaudio-discuss@mail.0pointer.de
https://tango.0pointer.de/mailman/listinfo/pulseaudio-discuss


Re: [pulseaudio-discuss] Autmatically increasing the volume if muted or 0.

2010-06-02 Thread Daniel Chen
On Wed, Jun 2, 2010 at 2:45 PM, Colin Guthrie gm...@colin.guthr.ie wrote:
 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?

10.04 LTS and earlier use a crufty distro-maintained version. 10.10
and newer will use the init db (though we still have to figure out how
to differentiate the massively poor '{Audigy,SB Live} Analog/Digital
Output' mess, among others).

alsactl init is most definitely the way to go.

Best,
-Dan
___
pulseaudio-discuss mailing list
pulseaudio-discuss@mail.0pointer.de
https://tango.0pointer.de/mailman/listinfo/pulseaudio-discuss