Bug 157026 - Kmix use erroneus chanel
Summary: Kmix use erroneus chanel
Status: RESOLVED DUPLICATE of bug 134820
Alias: None
Product: kmilo
Classification: Miscellaneous
Component: general (show other bugs)
Version: unspecified
Platform: unspecified Linux
: NOR normal
Target Milestone: ---
Assignee: Christian Esken
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2008-01-31 14:18 UTC by Rafael
Modified: 2008-02-05 19:25 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 Rafael 2008-01-31 14:18:33 UTC
Version:           2.6.1 (using 3.5.8, Kubuntu (hardy) 4:3.5.8-4ubuntu10)
Compiler:          Target: i486-linux-gnu
OS:                Linux (i686) release 2.6.24-5-generic

Using this audio card:
00:05.0 Multimedia audio controller: C-Media Electronics Inc CM8738 (rev 10)

Alsa drivers for this card have not mute option for Master chanel, but it has it for PCM chanel.
Then I right-click on Kmix applet, a menu is dropped and i choose Select master chanel, I select PCM.
Now kmix should use PCM chanel for raiser volume and mute, but it is using other chanel called "synth".
Comment 1 Christian Esken 2008-01-31 14:31:09 UTC
For what is KMix using the wrong channel? For the Shortcut keys?

Shortcut issues are often complicated. So I have a couple of questions:

1) Are only the multimedia keys affected?
2a) Is the shortcut for the Master affected? (Menu -> Settings -> Global Shortcuts)
2b) Is the shortcut for normal controls (e.g. PCM) affected? (KMix main menu -> PCM slider -> right click -> Global Shortcuts)
3) Is Kmilo running? (kcontrol -> KDE components -> Services -> Lower list "KDE sevices at start" -> KMilo
   if it is running:
    a) Stop it
    b) Disable it
    c) Logout from KDE
    d) Login again
    e) Try it and report back
4) Do global shortcuts work in other KDE applications?
5) KDE4 specific question (no need to answer this if you are running KDE3.x): Is it a problem of normal Shortcuts, global Shortcuts, or both?

could you please open an Konsole and call:
    egrep -4 -i Dev.*key ~/.kde/share/config/kmix*rc

This will show all assigned keys in KMix and the KMix Panelapplet.
Comment 2 Rafael 2008-02-01 01:57:37 UTC
Using kmilo activated of Kubuntu 8.04 (it may be patched by distribution developers)

1) Yes, i have checked that it is only problem of multimedia keys, using mouse wheel over kmix applet, raise and lower volume of PCM channel correctly. Also mute it with central button.

2) Configure Global shotcuts do nothing.
2b) Configuring PCM slider Global shortcuts make mute multimedia key to become working. Great.

3) After desactivating kmilo:
All multimedia keys (volume and mute) are working propertly using PCM channel, OK. But the graphic that indicates if volume is being lower or raise does not appear (nothing major).

All remaining KDE shortcuts are working propertly.

I am using KDE 3.5.8, KDE 4 is not enought mature.

Thanks you very much, it seems that kmilo causes the problem.

I have a pair of things to say, with Kmilo enabled, not only Synth was being used, also Master channel, when PCM was selected. This caused volume keys worked by increase/decrease Master channel, but mute had only afection over Synth so audio used to continue sounding.
I had developed a bash script which using amixer makes mute of PCM work with kmilo enabled, only I have to configure KDE for run this script each time I press multimedia mute key: one time it mutes, next time, it unmutes :D
If you consider, this bug can be closed.
Comment 3 Christian Esken 2008-02-01 10:58:04 UTC
> But the graphic that indicates if volume is being lower or raise does not appear

Yes, this is done by KMilo. It will be reintroduced in KMix, in about release KDE4.2.

> This caused volume keys worked by increase/decrease Master channel, but
> mute had only afection over Synth so audio used to continue sounding.

Yes, this is a KMilo bug recently introduced into KMilo. I'll reassign this issue to KMilo for this issue.

Comment 4 David Jarvie 2008-02-05 19:25:48 UTC

*** This bug has been marked as a duplicate of 134820 ***