When I booting with Lucid Beta2 live CD, my soundcard is muted with first time

Bug #564472 reported by Attila Hammer
8
This bug affects 1 person
Affects Status Importance Assigned to Milestone
alsa-utils (Ubuntu)
New
Undecided
Attila Hammer

Bug Description

Binary package hint: gnome-media

Dear Developers,

When I booting current daily live Lucid live CD, my sound card is possible muted by default (or volume too low). When I press my multimedia keyboard the volume up key, all works fine. For example, when I log out and login again, volume values is not restored with wrong values.
I am a screen reader user, and now not possible send original default bugy mixer values. If I have a sighted assistance, please write me short steps how can possible attaching again the bugy values after live CD boot.

Attila

ProblemType: Bug
DistroRelease: Ubuntu 10.04
Package: gnome-media 2.30.0-0ubuntu1
ProcVersionSignature: Ubuntu 2.6.32-20.29-generic 2.6.32.11+drm33.2
Uname: Linux 2.6.32-20-generic i686
Architecture: i386
Date: Fri Apr 16 07:26:01 2010
LiveMediaBuild: Ubuntu 10.04 "Lucid Lynx" - Alpha i386 (20100412)
ProcEnviron:
 LANG=hu_HU.UTF-8
 SHELL=/bin/bash
SourcePackage: gnome-media

Revision history for this message
Attila Hammer (hammera) wrote :
affects: gnome-media (Ubuntu) → alsa-lib (Ubuntu)
Daniel T Chen (crimsun)
affects: alsa-lib (Ubuntu) → alsa-utils (Ubuntu)
Revision history for this message
Colin Watson (cjwatson) wrote :

alsa-utils (1.0.23-2ubuntu2) maverick; urgency=low

  * debian/init: Restore change from 1.0.21-1ubuntu2 lost during merge
    that skips muting and zeroing levels prior to shutdown/reboot,
    which was a hack for broken drivers. This change closes LP: #21804,
    LP: #208920, #227505, #360108, #432660, #449783, #553132, #564472,
    LP: #584609, #592016, #596360, #613054, #617516, #622487, #632019.
  * debian/patches/alsactl_init_update_to_52bd2f8a_head.patch: Add
    upstream git changesets:
    dcb90a77 - Use "Found hardware:" instead "Unknown hardware:"
    7f6a55e2 - use "generic method" instead "guess method"
    52bd2f8a - Handle "Capture Source" and "Mic Boost"
    ef919a47 - Initialize also "Master Front Playback Volume" & "Switch"
    (yes, this last changeset is included despite the patch filename)

 -- Daniel T Chen <email address hidden> Sun, 05 Sep 2010 11:57:59 -0400

Changed in alsa-utils (Ubuntu):
status: New → Fix Released
Revision history for this message
Attila Hammer (hammera) wrote :

Hy,

With Ubuntu 10.04.3 version producing equals issue my desktop machine motherboard sound card.
Possible putting this soundcard related fix with are awailable the Maverick related branch?
I copyed the changelog:
"alsa-utils (1.0.23-2ubuntu2) maverick; urgency=low

  * debian/init: Restore change from 1.0.21-1ubuntu2 lost during merge
    that skips muting and zeroing levels prior to shutdown/reboot,
    which was a hack for broken drivers. This change closes LP: #21804,
    LP: #208920, #227505, #360108, #432660, #449783, #553132, #564472,
    LP: #584609, #592016, #596360, #613054, #617516, #622487, #632019.
  * debian/patches/alsactl_init_update_to_52bd2f8a_head.patch: Add
    upstream git changesets:
    dcb90a77 - Use "Found hardware:" instead "Unknown hardware:"
    7f6a55e2 - use "generic method" instead "guess method"
    52bd2f8a - Handle "Capture Source" and "Mic Boost"
    ef919a47 - Initialize also "Master Front Playback Volume" & "Switch"
    (yes, this last changeset is included despite the patch filename)"

I will be testing Oneiric my desktop machine to I see this issue are reproducable with latest Beta2 release. If not reproducable this issue, need fixing this problem only with Lucid branch.

Attila

Changed in alsa-utils (Ubuntu):
status: Fix Released → New
Revision history for this message
Attila Hammer (hammera) wrote :

Ok, I looked my desktop machine with latest Oneiric daily live CD.
The interesting think Oneiric producing equals issue with I experienced in Ubuntu Lucid 10.04.3 live CD. If I using my multimedia keyboard the volume up button, the volume meter right setted, and I hear sound.
The interesting think I compared the original generated amixer output and new generated amixer output after I increasing the volume, and diff not found differences the two text file.
Both two situation I generated following command the text file:
amixer >sound1.txt (this text file containing volume meters value before I not increased master volume)
amixer >sound2.txt (this file containing volume meters values after I increased master volume my multimedia keyboard volume button.

Attila

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

Revision history for this message
Attila Hammer (hammera) wrote :

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 Nvidia soundcard is not muted by default. I am absolute sure this patch will resolve the mute problem for an other bugreport reported 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 or on, or use the unmute_and_set_level method this new channels and setting for example with a 80% volume value?

Attila

tags: added: oneiric patch
Revision history for this message
Attila Hammer (hammera) wrote :

I try assigning this bug, if you are reviewing my now sent patch, and perhaps tell me what can I need changing my patch to you final commit my fix.

Changed in alsa-utils (Ubuntu):
assignee: nobody → Attila Hammer (hammera)
Revision history for this message
Ubuntu Foundations Team Bug Bot (crichton) wrote :

The attachment "Tis patch resolves my Nvidia soundcard experienced muting problem" of this bug report has been identified as being a patch. The ubuntu-reviewers team has been subscribed to the bug report so that they can review the patch. In the event that this is in fact not a patch you can resolve this situation by removing the tag 'patch' from the bug report and editing the attachment so that it is not flagged as a patch. Additionally, if you are member of the ubuntu-sponsors please also unsubscribe the team from this bug report.

[This is an automated message performed by a Launchpad user owned by Brian Murray. Please contact him regarding any issues with the action taken in this bug report.]

Revision history for this message
Attila Hammer (hammera) wrote : Re: [Bug 564472]

Very sorry, I prewious wrong generated the sound volumes related text
files with friday.
I looked again a full updated custom Oneiric live CD what volume meters
are default muted, following volume meters are default muted with my
desktop machine this sound card:
Master, Headphone, Front, Surround, Center, LFE, Side.
I working now with an Oneiric alsa-utils package compatible patch.
I doed already the patch, but I would like testing my desktop machine
the result before I attaching this report.

Attila

Revision history for this message
Attila Hammer (hammera) wrote :

I maked a patch for Oneiric alsa-utils package, with turns on following playback switches:
Front Playback Switch, Surround Playback Switch, Center Playback Switch, LFE Playback Switch, Side Playback Switch, Headphone Playback Switch

Please review this patch. I tested the patched alsa-utils package with my custom Oneiric live CD, and I hear sound by default after the live CD booted.

Attila

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

Hy,

Can I doed a mistake to fill Assigned field for me if I not have commit
permissions?
Anybody possible reviewing the attached patches and if this patches are
good committing proper repositoryes?
I make future similar patch for Precise related package?
I welcome doing the patch if anybody future will be reviewing.

I used the patched alsa-utils package for Lucid 10.04.3 custom live CD
with my J&W Minix M1200 netbook, with have built in Intel N10 type sound
card. Mute issue is not happening if I booted the modified live CD,
similar my desktop machine and other five machines with default
producing the described bug.

Attila

Attila Hammer (hammera)
tags: added: a11y precise
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.