Bug 344911 - volume keys change microphone's volume and not master volume. Thinkpad X61
Summary: volume keys change microphone's volume and not master volume. Thinkpad X61
Keywords:
Status: CLOSED CURRENTRELEASE
Alias: None
Product: Fedora
Classification: Fedora
Component: gstreamer
Version: 8
Hardware: x86_64
OS: Linux
low
medium
Target Milestone: ---
Assignee: Bastien Nocera
QA Contact: Fedora Extras Quality Assurance
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2007-10-22 06:25 UTC by petrosyan
Modified: 2013-01-10 04:28 UTC (History)
3 users (show)

Fixed In Version: 0.10.15-3.fc8
Clone Of:
Environment:
Last Closed: 2008-02-13 04:52:54 UTC
Type: ---
Embargoed:


Attachments (Terms of Use)
Sound Preferences Screenshot (56.00 KB, image/png)
2007-11-15 03:36 UTC, petrosyan
no flags Details

Description petrosyan 2007-10-22 06:25:08 UTC
Description of problem:
On a Thinkpad X61 machine "volume up/down" keys change microphone's volume
instead of changing master volume. "mute" key does not work at all.

Version-Release number of selected component (if applicable):
rawhide-20071019-x86_64 LiveCD session

How reproducible:
Always

Steps to Reproduce:
1. boot from rawhide-20071019-x86_64 live CD on a ThinkPad X61 machine.
2. press volume up/down keys.
3. realize that it is changing microphone's volume and not master volume
4. press mute button and nothing happens.

Additional info:
Hardware profile:
http://smolt.fedoraproject.org/show?UUID=dc726b49-3e2d-42ef-b633-253a5b6e0728

Comment 1 Jeremy Katz 2007-10-22 14:12:22 UTC
If you go into System->Preferences->Hardware->Sound what is selected for default
mixer tracks at the bottom of the capplet?

Comment 2 petrosyan 2007-10-22 15:12:02 UTC
Device: HDA Intel (Alsa mixer)
PCM
Micrphone
Mic Boost
Capture
Capture 1
Beep
Docking Mic
Docking Mic Boost
Internal Mic
Internal Mic Boost

Comment 3 petrosyan 2007-10-23 02:22:15 UTC
I have realized that the same bug exists in Ubuntu 7.10
https://bugs.launchpad.net/ubuntu/+bug/136287

The problem is that if you go into System->Preferences->Hardware->Sound nothing
is selected for the default mixer track and somehow the multimedia keys get
bound to microphone level by default. Choosing "PCM" track from the list fixes
the bug. However it should work by default as expected. So I am leaving this bug
open and hope it gets fixed before Fedora 8 release.

Comment 4 petrosyan 2007-11-15 03:36:31 UTC
Created attachment 259341 [details]
Sound Preferences Screenshot

This problem is still present in Fedora 8. This is how "Sound Preferences"
window looks like right after install. As you can see none of the channels are
selected. By default the volume keys for some reason change microphone's
volume.

Comment 5 Bastien Nocera 2007-11-15 10:58:20 UTC
I guess it means this doesn't work as it should on your system:
		/* If no track stored in GConf is avaiable try to use master track */
		if (self->_priv->mixer_tracks == NULL)
		{
			for (m = gst_mixer_list_tracks (self->_priv->mixer); m != NULL; m = m->next)
			{
				GstMixerTrack *track = GST_MIXER_TRACK (m->data);

				if (GST_MIXER_TRACK_HAS_FLAG (track, GST_MIXER_TRACK_MASTER)) {
					self->_priv->mixer_tracks = g_list_append (self->_priv->mixer_tracks,
g_object_ref (track));
					break;
				}
			}
		}


Comment 6 Jerone Young 2007-12-26 22:31:30 UTC
The problem is NOT with control-center but with gstreamer. I have a fix on the
Ubuntu bugzilla.

https://bugs.launchpad.net/ubuntu/+source/gnome-control-center/+bug/174292

Comment 7 Ray Strode [halfline] 2008-01-02 15:35:15 UTC
Thanks for the insight.

Comment 8 Jerone Young 2008-01-05 23:29:38 UTC
I have placed a bugzilla in the gstreamer bugzilla:

http://bugzilla.gnome.org/show_bug.cgi?id=506928

Comment 9 Bastien Nocera 2008-01-07 10:22:44 UTC
I'll wait on feedback from upstream for that one. The patch seems to be more
intrusive than it needs to be, or a work-around.

Comment 10 Bastien Nocera 2008-01-07 15:07:39 UTC
Test packages and feedback at:
https://admin.fedoraproject.org/updates/F8/pending/gstreamer-plugins-base-0.10.15-2.fc8

Comment 11 petrosyan 2008-01-07 16:47:52 UTC
This bug is still present in gstreamer-plugins-base-0.10.15-2.fc8

Comment 12 Bastien Nocera 2008-01-07 17:26:05 UTC
(In reply to comment #11)
> This bug is still present in gstreamer-plugins-base-0.10.15-2.fc8

Did you restart your session, or at least kill gnome-settings-daemon? The patch
added is the same reported as working by Jerone.

Comment 13 petrosyan 2008-01-07 17:30:50 UTC
I upgraded to gstreamer-plugins-base-0.10.15-2.fc8 then rebooted the computer,
then created a new user. Logged in under the new user and volume keys were bound
to the microphone volume.

Comment 14 Bastien Nocera 2008-01-07 18:02:10 UTC
I put the wrong patch in ;)
But I'm leaving it in as it fixes some issues with gnome-volume-control (and
it's my patch).

Comment 15 Bastien Nocera 2008-01-07 18:51:31 UTC
Updated patches and errata at:
https://admin.fedoraproject.org/updates/F8/pending/gstreamer-plugins-base-0.10.15-3.fc8

Comment 16 petrosyan 2008-01-07 19:06:00 UTC
gstreamer-plugins-base-0.10.15-3.fc8 is working as expected.

Comment 17 Fedora Update System 2008-01-11 22:10:19 UTC
gstreamer-plugins-base-0.10.15-3.fc8 has been pushed to the Fedora 8 testing repository.  If problems still persist, please make note of it in this bug report.
 If you want to test the update, you can install it with 
 su -c 'yum --enablerepo=updates-testing update gstreamer-plugins-base'

Comment 18 Fedora Update System 2008-02-13 04:52:52 UTC
gstreamer-plugins-base-0.10.15-3.fc8 has been pushed to the Fedora 8 stable repository.  If problems still persist, please make note of it in this bug report.


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