Mixer applet: Recognize "Front" as a Master channel

Bug #45345 reported by John Dong
32
Affects Status Importance Assigned to Milestone
GNOME media utilities
Fix Released
Medium
gst-plugins-base0.10 (Ubuntu)
Fix Released
Medium
Ubuntu Desktop Bugs

Bug Description

As seen in bug #45167, on newer AC'97 codec cards, the Master channel is no longer called Master, but rather "Front". This confuses the GNOME mixer applet into believing that there is no master channel, and it incorrectly begins mixing the PCM channel. This cannot mute, nor turn down sound completely, and thus is the wrong behavior.

It looks like the ALSA drivers will continue using the 'Front' nomenclature... that's not going to change. So, the mixer applets must change instead. The GNOME mixer should recognize Front to be synonymous with Master

Note: the original reporter indicated the bug was in package 'gnome-applets2'; however, that package was not published in Ubuntu.

Revision history for this message
Daniel Holbach (dholbach) wrote :

Thanks for the bug report, forwarded to http://bugzilla.gnome.org/show_bug.cgi?id=342228

Changed in gnome-applets:
assignee: nobody → desktop-bugs
Changed in gnome-media:
status: Unconfirmed → Confirmed
Revision history for this message
Sebastian Dröge (slomo) wrote :

that's more a gst-plugins-base0.10 bug as the alsa stuff is in -base

Revision history for this message
Daniel Holbach (dholbach) wrote :

Upstream question:

What's the output of

 $ amixer --device=default

for that card?

GstAlsaMixer will just mark the first alsa mixer control that has 'pvolume'
capability as the MASTER track, it doesn't look at the names at all AFAIK.

Changed in gst-plugins-base0.10:
status: Confirmed → Needs Info
Revision history for this message
John Dong (jdong) wrote :

Simple mixer control 'PCM',0
  Capabilities: pvolume
  Playback channels: Front Left - Front Right
  Limits: Playback 0 - 255
  Mono:
  Front Left: Playback 255 [100%]
  Front Right: Playback 255 [100%]
Simple mixer control 'Front',0
  Capabilities: pvolume pswitch
  Playback channels: Front Left - Front Right
  Limits: Playback 0 - 31
  Mono:
  Front Left: Playback 5 [16%] [on]
  Front Right: Playback 5 [16%] [on]
Simple mixer control 'Line',0
  Capabilities: pvolume pswitch
  Playback channels: Front Left - Front Right
  Limits: Playback 0 - 31
  Mono:
  Front Left: Playback 0 [0%] [on]
  Front Right: Playback 0 [0%] [on]
Simple mixer control 'Mic',0
  Capabilities: pvolume pswitch
  Playback channels: Front Left - Front Right
  Limits: Playback 0 - 31
  Mono:
  Front Left: Playback 0 [0%] [off]
  Front Right: Playback 0 [0%] [off]
Simple mixer control 'IEC958',0
  Capabilities: pswitch pswitch-joined
  Playback channels: Mono
  Mono: Playback [off]
Simple mixer control 'Capture',0
  Capabilities: cvolume cswitch
  Capture channels: Front Left - Front Right
  Limits: Capture 0 - 31
  Front Left: Capture 31 [100%] [on]
  Front Right: Capture 31 [100%] [on]
Simple mixer control 'Capture',1
  Capabilities: cvolume cswitch
  Capture channels: Front Left - Front Right
  Limits: Capture 0 - 31
  Front Left: Capture 0 [0%] [on]
  Front Right: Capture 0 [0%] [on]
Simple mixer control 'Input Source',0
  Capabilities: enum
  Items: 'Mic' 'Line'
  Item0: 'Mic'
Simple mixer control 'Input Source',1
  Capabilities: enum
  Items: 'Mic' 'Line'
  Item0: 'Mic'

That's the output.

Revision history for this message
cbudden (chrisbudden) wrote :

Here is my output:
cbudden@cbudden-laptop:~$ amixer --device=default
Simple mixer control 'PCM',0
  Capabilities: pvolume
  Playback channels: Front Left - Front Right
  Limits: Playback 0 - 255
  Mono:
  Front Left: Playback 255 [100%]
  Front Right: Playback 255 [100%]
Simple mixer control 'Front',0
  Capabilities: pvolume pswitch
  Playback channels: Front Left - Front Right
  Limits: Playback 0 - 31
  Mono:
  Front Left: Playback 3 [10%] [on]
  Front Right: Playback 3 [10%] [on]
Simple mixer control 'Line',0
  Capabilities: pvolume pswitch
  Playback channels: Front Left - Front Right
  Limits: Playback 0 - 31
  Mono:
  Front Left: Playback 31 [100%] [on]
  Front Right: Playback 31 [100%] [on]
Simple mixer control 'Mic',0
  Capabilities: pvolume pswitch
  Playback channels: Front Left - Front Right
  Limits: Playback 0 - 31
  Mono:
  Front Left: Playback 31 [100%] [off]
  Front Right: Playback 31 [100%] [off]
Simple mixer control 'IEC958',0
  Capabilities: pswitch pswitch-joined
  Playback channels: Mono
  Mono: Playback [on]
Simple mixer control 'Capture',0
  Capabilities: cvolume cswitch
  Capture channels: Front Left - Front Right
  Limits: Capture 0 - 31
  Front Left: Capture 0 [0%] [on]
  Front Right: Capture 0 [0%] [on]
Simple mixer control 'Capture',1
  Capabilities: cvolume cswitch
  Capture channels: Front Left - Front Right
  Limits: Capture 0 - 31
  Front Left: Capture 9 [29%] [on]
  Front Right: Capture 9 [29%] [on]
Simple mixer control 'Input Source',0
  Capabilities: enum
  Items: 'Mic' 'Line'
  Item0: 'Mic'
Simple mixer control 'Input Source',1
  Capabilities: enum
  Items: 'Mic' 'Line'
  Item0: 'Mic'

Revision history for this message
John Dong (jdong) wrote :

Daniel,

On a related note, I've set via the mixer preferences to track and control Front instead of PCM. Now, the tray applet correctly changes Front instead of PCM. However, the laptop's volume hotkeys still change PCM. This behavior is very inconsistent and looks to me like a bug. Doesn't it make sense for the laptop buttons to behave consistently with the mixer applet?

Revision history for this message
Daniel Holbach (dholbach) wrote :

I forwarded your comments upstream.

Changed in gnome-media:
status: Unconfirmed → In Progress
Changed in gst-plugins-base0.10:
status: Needs Info → Confirmed
Revision history for this message
Daniel Holbach (dholbach) wrote :

Fixed in CVS.

Changed in gst-plugins-base0.10:
status: Confirmed → Fix Committed
Changed in gnome-media:
status: In Progress → Fix Released
Revision history for this message
John Dong (jdong) wrote :

I am currently cherry-picking that patch from the bug report and seeing if it fixes my problem.

If so, can this be candidate for SRU?

Revision history for this message
John Dong (jdong) wrote :

yes! the patch attached to the GNOME bug tracker works :)

Revision history for this message
Sebastian Dröge (slomo) wrote :

Fixed in feisty now

Changed in gst-plugins-base0.10:
status: Fix Committed → Fix Released
Revision history for this message
Sebastien Bacher (seb128) wrote :

Minor bug, probably not a candidate for a SRU update

Revision history for this message
John Dong (jdong) wrote :

Not being to control the volume for a large portion of Intel HDA users is a minor bug?

Revision history for this message
Sebastien Bacher (seb128) wrote : Re: [Bug 45345] Re: Mixer applet: Recognize "Front" as a Master channel

Le jeudi 07 décembre 2006 à 00:45 +0000, John Dong a écrit :
> Not being to control the volume for a large portion of Intel HDA users
> is a minor bug?

You can control the "Front" volume from the mixer or select it from the
applet with the right click menu no? And it's "minor" because you are
the only user who complained about that at the moment and it's easy to
workaround

Revision history for this message
cbudden (chrisbudden) wrote : Re: [Bug 45345] Re: Mixer applet: Recognize "Front" as a Master channel

I would like to add my complaint about this. Having one control adjust one
volume and the fn keys and built in vol keys another is very confusing as to
why sound is coming out if you have muted or turned it down.

On 12/7/06, Sebastien Bacher <email address hidden> wrote:
>
> Le jeudi 07 décembre 2006 à 00:45 +0000, John Dong a écrit :
> > Not being to control the volume for a large portion of Intel HDA users
> > is a minor bug?
>
> You can control the "Front" volume from the mixer or select it from the
> applet with the right click menu no? And it's "minor" because you are
> the only user who complained about that at the moment and it's easy to
> workaround
>
> --
> Mixer applet: Recognize "Front" as a Master channel
> https://launchpad.net/bugs/45345
>

Changed in gnome-media:
importance: Unknown → Medium
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Duplicates of this bug

Other bug subscribers

Remote bug watches

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