Bug 220550 - KMix mixer window stops showing most devices for internal sound card
Summary: KMix mixer window stops showing most devices for internal sound card
Status: RESOLVED FIXED
Alias: None
Product: kmix
Classification: Applications
Component: general (show other bugs)
Version: unspecified
Platform: unspecified Linux
: NOR grave
Target Milestone: ---
Assignee: Christian Esken
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2009-12-29 17:57 UTC by Marcus Harrison
Modified: 2010-01-10 23:37 UTC (History)
1 user (show)

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 Marcus Harrison 2009-12-29 17:57:53 UTC
Version:           3.6-alpha2 (using 4.3.85 (KDE 4.3.85 (KDE 4.4 Beta2)), Kubuntu packages)
Compiler:          cc
OS:                Linux (i686) release 2.6.31-17-generic

Steps to reproduce:

1. (Possibly the most inconvenient step) Plug in a USB combined microphone/speaker headset (feel free to wear it too, but that's not compulsory).
2. In the KMix mixer window, change to the tab containing your USB device's input/output controls and go to Settings --> Configure Channels...
3. Drag all the devices to the left.
4. Navigate back to the tab for the internal sound card input/output controls. Notice that most controls have mysteriously disappeared, leaving only two. The other controls are not accessible from Settings --> Configure Channels, and the only way to show them again is to delete KMix's configuration file.
Comment 1 Marcus Harrison 2009-12-29 22:10:26 UTC
Sorry, let me correct myself: it actually seems that the only fix is to delete the .kde/share/apps/kmix directory.
Comment 2 Christian Esken 2010-01-06 22:00:17 UTC
Confirmed. I know about this. It is a known bug in the SVN trunk (headed for KDE4.4). I am working on it. I am raising the severity.

It is the reason why the "Allow arbitrary ordering of controls" feature is not marked as done: http://techbase.kde.org/Schedules/KDE4/4.4_Feature_Plan#kdemultimedia
Comment 3 Christian Esken 2010-01-06 22:59:01 UTC
SVN commit 1070841 by esken:

Disappearing controls are fixed.
BUGS: 220550


 M  +8 -0      dialogviewconfiguration.cpp  
 M  +2 -1      osdwidget.cpp  


WebSVN link: http://websvn.kde.org/?view=rev&revision=1070841
Comment 4 Christian Esken 2010-01-06 23:02:54 UTC
As this bug was never in release versions you have to fix your installation manually:

Either delete your .kde/... or .kde4/...  .../share/apps/kmix/ directory.

Or call the channel selector, change something, quit KMix. Start KMix. You might need to do this twice.
Comment 5 Marcus Harrison 2010-01-07 01:27:38 UTC
Thanks, but I've gone back to KDE SC 4.3.4. I'll jump on the RC when it becomes available for Kubuntu, though. :)
Comment 6 H.H. 2010-01-10 20:43:15 UTC
I now have installed kmix from latest kde-4.4 branch, and I deleted my kmix directory several times. but the problem always comes back after it works for a moment. 

by the way: there are missing left/right/up/down arrows in channel selection dialog. drag&drop is nice but should not be the only possibility.
Comment 7 Christian Esken 2010-01-10 23:18:48 UTC
I can't reproduce that.

Please post your ~/.kde(4)/share/apps/kmix/profiles/* files, probably that will help.
Comment 8 H.H. 2010-01-10 23:37:44 UTC
There is only one file (for my internal sound card, where I can't see any missing channel). the other soundcard is missing a few channels. here my the file contents from "ALSA.HDA_Intel.1.Base.xml".


<?xml version="1.0" encoding="utf-8"?>

<soundcard driver="ALSA" version = "0:0"
 name = "*"
 type = "*"
 generation = "2"
>

<product vendor="Any Vendor" name="Generic Soundcard" />

<control id="Master:0" subcontrols=".*" tab="Base" show="simple" />
<control id="PCM:0" subcontrols=".*" tab="Base" show="simple" />
<control id="Front_Mic:0" subcontrols=".*" tab="Base" show="simple" />
<control id="Mic:0" subcontrols=".*" tab="Base" show="simple" />
<control id="Capture:0" subcontrols=".*" tab="Base" show="simple" />
<control id="Digital:0" subcontrols=".*" tab="Base" show="simple" />
<control id="Input_Source:0" subcontrols=".*" tab="Base" show="simple" />
<control id="Input_Source:2" subcontrols=".*" tab="Base" show="simple" />
<control id="Mic_Boost:0" subcontrols=".*" tab="Base" show="extended" />
<control id="Beep:0" subcontrols=".*" tab="Base" show="extended" />
<control id="Capture:1" subcontrols=".*" tab="Base" show="extended" />
<control id="Capture:2" subcontrols=".*" tab="Base" show="extended" />
<control id="Input_Source:1" subcontrols=".*" tab="Base" show="extended" />
<control id="Front_Mic_Boost:0" subcontrols=".*" tab="Base" show="extended" />

<tab name="Base" type="Sliders" />

</soundcard>


I found out, when the channels disappear: after I used the channels-selection dialog from my internal sound card, the ones for the external card disappear.

Ok, now I modified the channels for the external soundcard, too (there were two out of about 5 left) 

"ALSA.USB_Multimedia_Audio_Device.1.Base.xml" (for example the main channel named "speaker 2" is missing (however this is named speaker 2 ;))

<?xml version="1.0" encoding="utf-8"?>

<soundcard driver="ALSA" version = "0:0"
 name = "*"
 type = "*"
 generation = "2"
>

<product vendor="Any Vendor" name="Generic Soundcard" />

<control id="PCM:0" subcontrols=".*" tab="Base" show="simple" />
<control id="Mic:0" subcontrols=".*" tab="Base" show="extended" />

<tab name="Base" type="Sliders" />

</soundcard>