Bug 276549 - Kmix does not show usb mic tab
Summary: Kmix does not show usb mic tab
Status: RESOLVED FIXED
Alias: None
Product: kmix
Classification: Applications
Component: general (show other bugs)
Version: unspecified
Platform: Debian testing Linux
: HI normal
Target Milestone: ---
Assignee: Christian Esken
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2011-06-26 17:17 UTC by Martin
Modified: 2014-01-05 18:29 UTC (History)
1 user (show)

See Also:
Latest Commit:
Version Fixed In: 4.13


Attachments
Config file (978 bytes, text/xml)
2012-07-04 16:37 UTC, Martin
Details
Patch that could possibly go into KDE 4.12 and should be compatible even with 4.11 (1.63 KB, patch)
2013-12-18 15:46 UTC, Christian Esken
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Martin 2011-06-26 17:17:44 UTC
Version:           unspecified (using KDE 4.6.3) 
OS:                Linux

Kmix does not show USB mic (usb cam) after system start, i need to unplug and plug USB cam again to view USB mic tab.
I hope that problem is in kmix, because arecord show USB mic corectly after system start and in KDE 4.4 this worked without problem.
It's very annoying because i can't setup volume for skype.


Reproducible: Always

Steps to Reproduce:
Start yout system and open kmix, USB mic tab isn't there. Unplug and plug in USB mic and USB mic tab appears in the kmix.



Expected Results:  
Kmix should show USB mic tab after first start.
Comment 1 Martin 2011-07-09 20:00:07 UTC
Am i the only one with this problem ?
Comment 2 Christian Esken 2011-09-09 20:38:59 UTC
There is sometimes strange ALSA behavior during login. It might be fixed, see bug 209975. Please try again with KDE4.7 or KDE4.8 and report back until March 2012.
Comment 3 Martin 2011-09-12 16:44:36 UTC
Hi

i have new info.

When i add view, and select USB device, all control, then USB mic is showing correctly. 

But after this, when i quit kmix and start it from console then i can se this

kmix(5865): Cannot load profile  "ALSA.USB_Device_0x46d:0x8d7.1.default"  . It was removed by the user, or the KMix config file is defective.

so there is some problem with profiles.
Comment 4 Christian Esken 2011-09-17 10:22:00 UTC
Thanks for the feedback. But the problem might still go away with KDE4.7.1 or KDE4.7.2. Please try again with KDE4.7.1, KDE4.7.2 or KDE4.8 and report back until March
2012.
Comment 5 Martin 2012-02-29 19:09:47 UTC
(In reply to comment #4)
> Thanks for the feedback. But the problem might still go away with KDE4.7.1 or
> KDE4.7.2. Please try again with KDE4.7.1, KDE4.7.2 or KDE4.8 and report back
> until March
> 2012.

Hi, so KDE 4.7.4 and no change. Still the same problem. I add view to USB mic, but after kmix restart i see

kmix(2705): Cannot load profile  "ALSA.USB_Device_0x46d:0x8d7.1.default"  . It was removed by the user, or the KMix config file is defective. 

and i need to add device again.

If you need some more info please tell, because this behaviour is so annoying.

Thanks

Maritn

P.S. I have deleted kmix profile, so it's not related to previous version.
Comment 6 Martin 2012-06-28 18:37:59 UTC
Hi

Still the same problem with KDE 4.8.3.

Can you please resolve this ?

If you need more feedback please ask.

Thanks

Martin
Comment 7 Christian Esken 2012-07-03 20:46:08 UTC
Currently I have no idea what is going on. You can try to remove all kmix related configuration files.
Quit KMix (CTRL-q) from the KMix Window and then remove the kmix configuration:
rm -Rf ~/.kde*/share/apps/kmix/ ~/.kde*/share/config/kmix*
Comment 8 Martin 2012-07-03 21:33:10 UTC
So i deleted configs, and after first start USB mic tab shows ok, but when i restart kmix then i get the same error 

kmix(10755): Cannot load profile  "ALSA.USB_Device_0x46d:0x81b.1.default"  . It was removed by the user, or the KMix config file is defective.
Comment 9 Christian Esken 2012-07-03 23:03:44 UTC
Do you find some file called similar to ALSA.USB_Device_0x46d:0x81b.1.default ? If yes, please upload it here.
Comment 10 Martin 2012-07-04 16:37:55 UTC
Created attachment 72323 [details]
Config file

Config
Comment 11 Christian Esken 2012-08-04 09:30:17 UTC
The attached file looks fine. It is really strange. I will try to take another look.

(remark: could it be an issue with colon or dot ( : , . ) characters?)
Comment 12 Martin 2012-08-09 17:37:19 UTC
I try to run kmix with strace and it seems that kmix has problem with config filename.

[pid  4283] access("/home/komodo/.kde/share/apps/kmix/profiles/ALSA.USB_Device_0x46d:0x81b.1.default.xml", R_OK) = -1 ENOENT (No such file or directory)
[pid  4283] access("/usr/share/kde4/apps/kmix/profiles/ALSA.USB_Device_0x46d:0x81b.1.default.xml", R_OK) = -1 ENOENT (No such file or directory)
[pid  4283] write(2, "kmix(4283): Cannot load profile  \"ALSA.USB_Device_0x46d:0x81b.1.default\"  . It was removed by the user, or the KMix config file is defective. \n", 143kmix(4283): Cannot load profile  "ALSA.USB_Device_0x46d:0x81b.1.default"  . It was removed by the user, or the KMix config file is defective.
Comment 13 Martin 2012-08-10 17:06:59 UTC
Just one thing.

There is file

ALSA.USB_Device_0x46d.0x81b.1.default.xml

so it seems, that there is problem with filename, because it searches for

ALSA.USB_Device_0x46d:0x81b.1.default.xml
Comment 14 Christian Esken 2012-11-10 16:30:41 UTC
Oh, now I get it. There is a "." in the first one and a ":" in the second one. This is very interesting. I'll take a look.
Comment 15 Christian Esken 2013-12-18 15:43:54 UTC
After a long development pause I am cleaning the bug list again. I found the problem of this bug and fixed it for KDE 4.13. I will attach a patch that could go int KDE4.12 if I find some time.
Comment 16 Christian Esken 2013-12-18 15:46:07 UTC
Created attachment 84162 [details]
Patch that could possibly go into KDE 4.12 and should be compatible even with 4.11
Comment 17 Christian Esken 2014-01-05 18:29:14 UTC
As there will be KDE4.13, and due to time constraints, this bug will be fixed only there: http://techbase.kde.org/Schedules/KDE4/4.13_Release_Schedule