Bug 247933 - Master channel control and mute have no effect on output volume of line input
Summary: Master channel control and mute have no effect on output volume of line input
Status: RESOLVED NOT A BUG
Alias: None
Product: kmix
Classification: Applications
Component: general (show other bugs)
Version: 3.6
Platform: openSUSE Linux
: NOR normal
Target Milestone: ---
Assignee: Christian Esken
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2010-08-15 10:32 UTC by j.mikkola
Modified: 2011-12-30 13:39 UTC (History)
0 users

See Also:
Latest Commit:
Version Fixed In:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description j.mikkola 2010-08-15 10:32:44 UTC
Version:           3.6 (using KDE 4.4.4) 
OS:                Linux

Sound card: onboard ALC662 rev1
Sound driver: ALSA v1.0.22.1
Audio source: Line input of sound card
Audio output: Line output of audio card
Kmix > select master channel = any
Adjusting Line volume works
OpenSUSE 11.3

Reproducible: Always

Steps to Reproduce:
Try to adjust volume using master channel

Actual Results:  
No change in volume

Expected Results:  
A change in volume

OS: Linux (x86_64) release 2.6.34-12-desktop
Compiler: gcc
Comment 1 Christian Esken 2010-08-21 00:50:32 UTC
Please explain more detailed the Steps to Reproduce:
"Try to adjust volume using master channel"

How exactly do you do it? Mouse, Keyboard, Tray icon, tray Popup, Main window, ...
Comment 2 j.mikkola 2010-08-21 08:20:09 UTC
I'm logged in as root.
Moving the the Master slider Mixer window with mouse: no effect in output volume
Clicking mute on mixer window: tickmark appears, but no mute
Using kbd up/down arrow, active mixer window: master slider moves, no effect, inactive mixer window: slider doesn't move
Scrolling mouse roller over the tray icon moves the master slider in mixer window (active or inactive) but no effect on output volume
Clicking tray icon: tray popup says: "LINE", moving tray icon slider moves the LINE slider in mixer window, output volume is adjusted. 
The Master channel selected is "Master"
The sound source on all above cases is Line Input
Playing a .*wav with Kaffeine: no sound output
Changing Master channel to Line: scrolling mouse over tray icon moves Line slider, output volume is adjusted.
Changing Master channel to PCM: scrolling mouse over tray icon moves PCM slider, no effect on output.
Tray popup still says "LINE" and moves the Line slider, output is adjusted (sound source: Line input)
Still no sound from Kaffeine.

At some point I have managed to have output from Kaffeine playing a .*wav but doesn't work now, for some reason.
Comment 3 Christian Esken 2010-08-21 11:18:47 UTC
(In reply to comment #2)
> I'm logged in as root.
> Moving the the Master slider Mixer window with mouse: no effect in output
> volume
> Clicking mute on mixer window: tickmark appears, but no mute
> Using kbd up/down arrow, active mixer window: master slider moves, no effect,
> inactive mixer window: slider doesn't move
> Scrolling mouse roller over the tray icon moves the master slider in mixer
> window (active or inactive) but no effect on output volume

So the above means that your Hardware has a "Master" that has no impact on the sound output. I can't do anything against that (or is there another application that work in that respect).

> Clicking tray icon: tray popup says: "LINE", moving tray icon slider moves the
> LINE slider in mixer window, output volume is adjusted. 

Fine

> The Master channel selected is "Master"

This should not be the case, as the tray icon should always represent the Master. I have identified this as a bug. If you select the master device in the kmix menu, this is not reflected in the tray. This is a bug.
You can work around that bug by selecting the master by doing a right click on the tray icon and set the master there.

NB (for me): The bug is also there in my work branch: /work/branch/kmix


> The sound source on all above cases is Line Input

Well, if you get your sound from outside (Line Input), it heavily depends on the hardware what control will work. This is expected.


> Playing a .*wav with Kaffeine: no sound output
> Changing Master channel to Line: scrolling mouse over tray icon moves Line
> slider, output volume is adjusted.

> Changing Master channel to PCM: scrolling mouse over tray icon moves PCM
> slider, no effect on output.
> Tray popup still says "LINE" and moves the Line slider, output is adjusted
> (sound source: Line input)

Again: same KMix bug again.

> Still no sound from Kaffeine.

I don't think that is a bug of KMix. You might need to regulate additional switches or volume controls (e.g. ADC, DAC, S/PDIF, Analog/Digital Output switch, or a dozens others) until you might be able to hear something.



Summary:
1) I am accepting the "Master channel selection" bug, but please see the workaround above.
2) I am not accepting the "Master channel control [..] have no effect [..]", as they don't need to have an effect. Well, at least until you prove that other mixers work in that respect.
3) I am not accepting the "Still no sound from Kaffeine." issue, as it is not a KMix issue.


For point 2) and 3) please take this advice:
For setting up your soundcard, please search help at your Linux distributor, hardware vendor or in appropriate internet forums. If this is a general issue for your soundcard, you might consider to open a bug report at the ALSA soundcard driver project (http://www.alsa-project.org/).
Comment 4 j.mikkola 2010-08-21 15:03:31 UTC
(In reply to comment #3)
> 
> So the above means that your Hardware has a "Master" that has no impact on the
> sound output. I can't do anything against that (or is there another application
> that work in that respect).
Installed and tried a few and it seems there isn't.

> I don't think that is a bug of KMix. You might need to regulate additional
> switches or volume controls (e.g. ADC, DAC, S/PDIF, Analog/Digital Output
> switch, or a dozens others) until you might be able to hear something.
The controls available are:
Master
Line
Front
PCM
Headphones
IEC958 (mute only)
IEC958 Default PCM (mute only)
Beep
Front Mic
Front Mic Boost
Front Mic Boost (Capture)
Capture
Capture 2
Mic
Mic Boost
Mic Boost (Capture)
-and selections "Mic/Front Mic/Line" for "Input source" and "Input Source 2"
( in case this information is of any use )

> 3) I am not accepting the "Still no sound from Kaffeine." issue, as it is not a
> KMix issue.

Propably my sound card setup isn't correct.
Comment 5 Christian Esken 2011-12-30 13:39:39 UTC
Issue 1 will be tracked in Bug 290177. I consider the other points to not be a bug in KMix and thus invalid: For setting up your soundcard, please search help at your Linux distributor, hardware vendor or in appropriate internet forums. if this is a general issue for your soundcard, you might consider to open a bug report at the ALSA soundcard driver project (http://www.alsa-project.org/).