Bug 241868 - firstboot should be able to enable sound output
Summary: firstboot should be able to enable sound output
Keywords:
Status: CLOSED ERRATA
Alias: None
Product: Red Hat Enterprise Linux 5
Classification: Red Hat
Component: alsa-utils
Version: 5.0
Hardware: All
OS: Linux
medium
medium
Target Milestone: ---
: ---
Assignee: Martin Stransky
QA Contact:
URL:
Whiteboard:
Depends On: 241639
Blocks: 235665
TreeView+ depends on / blocked
 
Reported: 2007-05-31 09:21 UTC by Martin Stransky
Modified: 2007-11-30 22:07 UTC (History)
1 user (show)

Fixed In Version: RHBA-2007-0480
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
Last Closed: 2007-11-07 17:56:29 UTC
Target Upstream Version:
Embargoed:


Attachments (Terms of Use)


Links
System ID Private Priority Status Summary Last Updated
Red Hat Product Errata RHBA-2007:0480 0 normal SHIPPED_LIVE alsa bug fix update 2007-10-30 23:01:10 UTC

Description Martin Stransky 2007-05-31 09:21:45 UTC
+++ This bug was initially created as a clone of Bug #241639 +++

Description of problem:

Installing F7 and rebooting, firstboot is configuring the sound device,
but there is no knob to enable sound output. For many sound devices normal
sound output is disabled by default, so the user has to just ack the setting
and later on use the config tool to enable output. This is bad user
experience.

regards,

Florian La Roche




Version-Release number of selected component (if applicable):


How reproducible:


Steps to Reproduce:
1.
2.
3.
  
Actual results:


Expected results:


Additional info:

-- Additional comment from stransky on 2007-05-29 05:36 EST --
Eh, it should not happen. Sound is enabled by alsaunmute utility when
system-config-soundcard starts and it's saved when your box is rebooted.

So, did you hear the test sound? If so and sound is disabled after reboot, it's
a bug somewhere in volume store/restore.

Actually, if there isn't any stored sound configuration (during boot), the
alsaunmute utility is called during boot and it should enable a sound for you.

So please attach steps how to reproduce.

-- Additional comment from stransky on 2007-05-29 05:40 EST --
btw. please run s-c-soundcard, switch to "System" page, create scsconfig.log and
attach it here. thanks.

-- Additional comment from laroche on 2007-05-29 05:53 EST --
This happens with a Siemens Lifebook S7020 and I've also tested that
"alsaunmute 0" indeed does not work, but then using the gnome UI I can
enable normal speaker output without problems.

Will attach log file...

Thanks,

Florian La Roche


-- Additional comment from laroche on 2007-05-29 05:55 EST --
Created an attachment (id=155580)
scsconfig.log

scsconfig.log

-- Additional comment from stransky on 2007-05-29 05:58 EST --
Aha, so it's a bug in alsaunmute. Please attach scsconfig.log just after boot
(when sound doesn't work) and when it works (if you adjust it with gnome UI).

-- Additional comment from laroche on 2007-05-29 08:33 EST --
Laptop is already re-installed now with RHEL5. This did not show up the
possibility to configure within Gnome UI, but starting alsamixer, I can
enable the Internal Speaker and then just run system-config-soundcard.

The difference in the log file is then:

@@ -342,8 +342,8 @@
   Playback channels: Front Left - Front Right
   Limits: Playback 0 - 64
   Mono:
-  Front Left: Playback 0 [0%] [off]
-  Front Right: Playback 0 [0%] [off]
+  Front Left: Playback 57 [89%] [on]
+  Front Right: Playback 57 [89%] [on]
 Simple mixer control 'Off-hook',0
   Capabilities: pswitch pswitch-joined
   Playback channels: Mono


-- Additional comment from laroche on 2007-05-29 08:35 EST --
Created an attachment (id=155588)
scsconfig.log from RHEL5

Again the RHEL5 full log file.

-- Additional comment from stransky on 2007-05-30 09:03 EST --
aha, okay. btw if this bug is in RHEL-5 too, we can fix it there. alsa-utils is
planned for the next update for 5.1

-- Additional comment from stransky on 2007-05-30 09:40 EST --
patch added to cvs for F-7/devel.

Comment 1 RHEL Program Management 2007-05-31 09:25:50 UTC
This request was evaluated by Red Hat Product Management for inclusion in a Red
Hat Enterprise Linux maintenance release.  Product Management has requested
further review of this request by Red Hat Engineering, for potential
inclusion in a Red Hat Enterprise Linux Update release for currently deployed
products.  This request is not yet committed for inclusion in an Update
release.

Comment 3 Florian La Roche 2007-05-31 10:06:15 UTC
I've rebuilt alsa-utils with a new alsaunmute.c from Martin and this
has fixed everything on the Siemens Lifebook S7010 for me.

Thanks to Martin,

Florian La Roche


Comment 4 Martin Stransky 2007-06-06 07:55:33 UTC
patch added to CVS, it's package alsa-utils-1.0.14-1.rc4.el5

Comment 6 Michal Babej 2007-07-24 14:51:45 UTC
Hello,

Updated packages are available here:

http://people.redhat.com/llim/alsa-lib/
http://people.redhat.com/llim/alsa-utils/

and the latest kernel can be found here:

http://people.redhat.com/dzickus/el5/36.el5/

Comment 11 errata-xmlrpc 2007-11-07 17:56:29 UTC
An advisory has been issued which should help the problem
described in this bug report. This report is therefore being
closed with a resolution of ERRATA. For more information
on the solution and/or where to find the updated files,
please follow the link below. You may reopen this bug report
if the solution does not work for you.

http://rhn.redhat.com/errata/RHBA-2007-0480.html



Note You need to log in before you can comment on or make changes to this bug.