Comment 5 for bug 564472

Revision history for this message
Attila Hammer (hammera) wrote : Re: [Bug 564472] Re: When I booting with Lucid Beta2 live CD, my soundcard is muted with first time

Ok, I looked again what volume meters are muted default when I booted
with Ubuntu 10.04.3 live CD.
I only doed following:
1. After the desktop presented my screen, I opened GNOME Terminal, and
ran amixer >sound1.txt command to store original mixer values with a
text file.
2. I launch Sound preference tool, and uncheck only the mute check box,
not increased volume meters.
3. I ran again with amixer >sound2.txt command to generate new changed
volume meters with an another text file.
4. I ran diff -u sound1.txt sound2.txt command to generate a diff style
output what volume meters status are changed from off to on after I
unchecked the mute checkbox in Sound preference tool.

I attaching the sound1.txt, sound2.txt, and
sound-volumes-differences.txt files.
To easyest your work, I copyed diff output:
--- sound1.txt 2011-10-02 09:27:14.057861934 +0200
+++ sound2.txt 2011-10-02 09:28:24.398364608 +0200
@@ -42,25 +42,25 @@
    Playback channels: Front Left - Front Right
    Limits: Playback 0 - 31
    Mono:
- Front Left: Playback 0 [0%] [-46.50dB] [off]
- Front Right: Playback 0 [0%] [-46.50dB] [off]
+ Front Left: Playback 0 [0%] [-46.50dB] [on]
+ Front Right: Playback 0 [0%] [-46.50dB] [on]
  Simple mixer control 'Center',0
    Capabilities: pvolume pvolume-joined pswitch pswitch-joined penum
    Playback channels: Mono
    Limits: Playback 0 - 31
- Mono: Playback 0 [0%] [-46.50dB] [off]
+ Mono: Playback 0 [0%] [-46.50dB] [on]
  Simple mixer control 'LFE',0
    Capabilities: pvolume pvolume-joined pswitch pswitch-joined penum
    Playback channels: Mono
    Limits: Playback 0 - 31
- Mono: Playback 0 [0%] [-46.50dB] [off]
+ Mono: Playback 0 [0%] [-46.50dB] [on]
  Simple mixer control 'Side',0
    Capabilities: pvolume pswitch penum
    Playback channels: Front Left - Front Right
    Limits: Playback 0 - 31
    Mono:
- Front Left: Playback 0 [0%] [-46.50dB] [off]
- Front Right: Playback 0 [0%] [-46.50dB] [off]
+ Front Left: Playback 0 [0%] [-46.50dB] [on]
+ Front Right: Playback 0 [0%] [-46.50dB] [on]
  Simple mixer control 'Line',0
    Capabilities: pvolume pswitch penum
    Playback channels: Front Left - Front Right

After I done this three file generation, I reboot with live CD, and look
in terminal what volume meter status change resulting sound turning on
this sound card resulting I hear sound again.
When I ran amixer set 'LFE',0 on command, I hear sound again, because my
machine only have connected two speakers.

I experienced very similar issues with an other machine with Ubuntu
10.04.3 live CD, with an Intel N10 soundcard related, see Bug 867287
bugreport with following link:
https://bugs.launchpad.net/bugs/862287

With the Intel N10 sound card related little different volume meters are
muted by default, but amixer set 'LFE',0 on command result sound turning
on too if two speakers are connected this other sound card.
I try making a patch with merging this two bugreport fix with one patch.
When I done this fix, generating a custom live CD and testing two
machines the patch.
I attaching future this bugreport the patch, or the other bugreport?
What type fix you are accept future?

Attila