Bug 110807 - no input tab and sliders / Audigy2 zs sb0350 (emu10k1)
Summary: no input tab and sliders / Audigy2 zs sb0350 (emu10k1)
Status: RESOLVED FIXED
Alias: None
Product: kmix
Classification: Applications
Component: general (show other bugs)
Version: 2.6
Platform: Fedora RPMs Linux
: NOR normal
Target Milestone: ---
Assignee: Christian Esken
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2005-08-15 10:51 UTC by Nadav Kavalerchik
Modified: 2006-03-04 04:31 UTC (History)
0 users

See Also:
Latest Commit:
Version Fixed In:
Sentry Crash Report:


Attachments
add alsa capture-devices to input tab (9.18 KB, patch)
2005-11-26 18:50 UTC, Erwin Mascher
Details
Update to patch #13653 (10.95 KB, patch)
2005-11-29 00:26 UTC, Erwin Mascher
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Nadav Kavalerchik 2005-08-15 10:51:30 UTC
Version:           2.6 (using KDE KDE 3.4.2)
Installed from:    Fedora RPMs
OS:                Linux

I'm using Creative Labs SB Audigy 2 ZS (SB0350)
and while gamix shows all capture channels correctly, kmix 2.6 shows none.
the input tab is completely gone. (it was present with no sliders on 2.4)

cat /proc/asound/cards
0 [SB0350         ]: Audigy2 - Audigy 2 ZS [SB0350]
                     Audigy 2 ZS [SB0350] (rev.4, serial:0x20021102) at 0x10c0, irq 5

here is my amixer -c 0 output : 

Simple mixer control 'Master',0
  Capabilities: pvolume pvolume-joined
  Playback channels: Mono
  Limits: Playback 0 - 100
  Mono: Playback 55 [55%]
Simple mixer control 'Tone',0
  Capabilities: pswitch
  Playback channels: Front Left - Front Right
  Mono:
  Front Left: Playback [on]
  Front Right: Playback [on]
Simple mixer control 'Bass',0
  Capabilities: volume
  Playback channels: Front Left - Front Right
  Limits: 0 - 40
  Mono: 21 [52%]
  Front Left:
  Front Right:
Simple mixer control 'Treble',0
  Capabilities: volume
  Playback channels: Front Left - Front Right
  Limits: 0 - 40
  Mono: 32 [80%]
  Front Left:
  Front Right:
Simple mixer control '3D Control - Switch',0
  Capabilities: pswitch pswitch-joined
  Playback channels: Mono
  Mono: Playback [off]
Simple mixer control '3D Control Sigmatel - Depth',0
  Capabilities: volume volume-joined
  Playback channels: Mono
  Limits: 0 - 3
  Mono: 0 [0%]
Simple mixer control 'PCM',0
  Capabilities: pvolume cvolume
  Playback channels: Front Left - Front Right
  Capture channels: Front Left - Front Right
  Limits: Playback 0 - 100 Capture 0 - 100
  Front Left: Playback 85 [85%] Capture 100 [100%]
  Front Right: Playback 85 [85%] Capture 100 [100%]
Simple mixer control 'PCM Center',0
  Capabilities: pvolume pvolume-joined
  Playback channels: Mono
  Limits: Playback 0 - 100
  Mono: Playback 100 [100%]
Simple mixer control 'PCM Front',0
  Capabilities: pvolume
  Playback channels: Front Left - Front Right
  Limits: Playback 0 - 100
  Front Left: Playback 100 [100%]
  Front Right: Playback 100 [100%]
Simple mixer control 'PCM LFE',0
  Capabilities: pvolume pvolume-joined
  Playback channels: Mono
  Limits: Playback 0 - 100
  Mono: Playback 100 [100%]
Simple mixer control 'PCM Side',0
  Capabilities: pvolume
  Playback channels: Front Left - Front Right
  Limits: Playback 0 - 100
  Front Left: Playback 100 [100%]
  Front Right: Playback 100 [100%]
Simple mixer control 'PCM Surround',0
  Capabilities: pvolume
  Playback channels: Front Left - Front Right
  Limits: Playback 0 - 100
  Front Left: Playback 100 [100%]
  Front Right: Playback 100 [100%]
Simple mixer control 'Front',0
  Capabilities: pvolume
  Playback channels: Front Left - Front Right
  Limits: Playback 0 - 100
  Front Left: Playback 100 [100%]
  Front Right: Playback 100 [100%]
Simple mixer control 'Surround',0
  Capabilities: pvolume
  Playback channels: Front Left - Front Right
  Limits: Playback 0 - 100
  Front Left: Playback 0 [0%]
  Front Right: Playback 0 [0%]
Simple mixer control 'Center',0
  Capabilities: pvolume pvolume-joined
  Playback channels: Mono
  Limits: Playback 0 - 100
  Mono: Playback 0 [0%]
Simple mixer control 'LFE',0
  Capabilities: pvolume pvolume-joined
  Playback channels: Mono
  Limits: Playback 0 - 100
  Mono: Playback 0 [0%]
Simple mixer control 'Side',0
  Capabilities: pvolume
  Playback channels: Front Left - Front Right
  Limits: Playback 0 - 100
  Front Left: Playback 0 [0%]
  Front Right: Playback 0 [0%]
Simple mixer control 'Synth',0
  Capabilities: pvolume cvolume
  Playback channels: Front Left - Front Right
  Capture channels: Front Left - Front Right
  Limits: Playback 0 - 100 Capture 0 - 100
  Front Left: Playback 100 [100%] Capture 100 [100%]
  Front Right: Playback 100 [100%] Capture 100 [100%]
Simple mixer control 'Line',0
  Capabilities: pvolume pswitch pswitch-joined
  Playback channels: Front Left - Front Right
  Limits: Playback 0 - 31
  Front Left: Playback 26 [84%] [on]
  Front Right: Playback 26 [84%] [on]
Simple mixer control 'Line2',0
  Capabilities: pvolume cvolume
  Playback channels: Front Left - Front Right
  Capture channels: Front Left - Front Right
  Limits: Playback 0 - 100 Capture 0 - 100
  Front Left: Playback 0 [0%] Capture 0 [0%]
  Front Right: Playback 0 [0%] Capture 0 [0%]
Simple mixer control 'CD',0
  Capabilities: pvolume pswitch pswitch-joined
  Playback channels: Front Left - Front Right
  Limits: Playback 0 - 31
  Front Left: Playback 24 [77%] [on]
  Front Right: Playback 24 [77%] [on]
Simple mixer control 'Mic',0
  Capabilities: pvolume cvolume
  Playback channels: Front Left - Front Right
  Capture channels: Front Left - Front Right
  Limits: Playback 0 - 100 Capture 0 - 100
  Front Left: Playback 18 [18%] Capture 89 [89%]
  Front Right: Playback 18 [18%] Capture 89 [89%]
Simple mixer control 'Mic Boost (+20dB)',0
  Capabilities: pswitch pswitch-joined
  Playback channels: Mono
  Mono: Playback [on]
Simple mixer control 'Phone',0
  Capabilities: pvolume pvolume-joined pswitch pswitch-joined
  Playback channels: Mono
  Limits: Playback 0 - 31
  Mono: Playback 0 [0%] [off]
Simple mixer control 'IEC958 Optical',0
  Capabilities: pvolume cvolume
  Playback channels: Front Left - Front Right
  Capture channels: Front Left - Front Right
  Limits: Playback 0 - 100 Capture 0 - 100
  Front Left: Playback 73 [73%] Capture 12 [12%]
  Front Right: Playback 73 [73%] Capture 12 [12%]
Simple mixer control 'IEC958 Optical Raw',0
  Capabilities: pswitch
  Playback channels: Front Left - Front Right
  Front Left: Playback [off]
  Front Right: Playback [off]
Simple mixer control 'PC Speaker',0
  Capabilities: pvolume pvolume-joined pswitch pswitch-joined
  Playback channels: Mono
  Limits: Playback 0 - 15
  Mono: Playback 0 [0%] [off]
Simple mixer control 'Aux',0
  Capabilities: pvolume pswitch pswitch-joined
  Playback channels: Front Left - Front Right
  Limits: Playback 0 - 31
  Front Left: Playback 0 [0%] [off]
  Front Right: Playback 0 [0%] [off]
Simple mixer control 'Aux2',0
  Capabilities: pvolume cvolume
  Playback channels: Front Left - Front Right
  Capture channels: Front Left - Front Right
  Limits: Playback 0 - 100 Capture 0 - 100
  Front Left: Playback 0 [0%] Capture 0 [0%]
  Front Right: Playback 0 [0%] Capture 0 [0%]
Simple mixer control 'Analog Mix',0
  Capabilities: pvolume cvolume
  Playback channels: Front Left - Front Right
  Capture channels: Front Left - Front Right
  Limits: Playback 0 - 100 Capture 0 - 100
  Front Left: Playback 76 [76%] Capture 0 [0%]
  Front Right: Playback 76 [76%] Capture 0 [0%]
Simple mixer control 'Audigy Analog/Digital Output Jack',0
  Capabilities: pswitch pswitch-joined
  Playback channels: Mono
  Mono: Playback [on]
Simple mixer control 'Audigy CD',0
  Capabilities: pvolume cvolume
  Playback channels: Front Left - Front Right
  Capture channels: Front Left - Front Right
  Limits: Playback 0 - 100 Capture 0 - 100
  Front Left: Playback 0 [0%] Capture 0 [0%]
  Front Right: Playback 0 [0%] Capture 0 [0%]
Simple mixer control 'Audigy SPDIF Output Sample Rate',0
  Capabilities:
  Mono:
Simple mixer control 'External Amplifier',0
  Capabilities: pswitch pswitch-joined
  Playback channels: Mono
  Mono: Playback [on]
Simple mixer control 'HD Analog Center/LFE',0
  Capabilities: volume
  Playback channels: Front Left - Front Right
  Limits: 0 - 255
  Mono: 207 [81%]
  Front Left:
  Front Right:
Simple mixer control 'HD Analog Front',0
  Capabilities: volume
  Playback channels: Front Left - Front Right
  Limits: 0 - 255
  Mono: 207 [81%]
  Front Left:
  Front Right:
Simple mixer control 'HD Analog Rear',0
  Capabilities: volume
  Playback channels: Front Left - Front Right
  Limits: 0 - 255
  Mono: 207 [81%]
  Front Left:
  Front Right:
Simple mixer control 'HD Analog Unknown',0
  Capabilities: volume
  Playback channels: Front Left - Front Right
  Limits: 0 - 255
  Mono: 207 [81%]
  Front Left:
  Front Right:
Simple mixer control 'HD SPDIF Center/LFE',0
  Capabilities: volume
  Playback channels: Front Left - Front Right
  Limits: 0 - 255
  Mono: 207 [81%]
  Front Left:
  Front Right:
Simple mixer control 'HD SPDIF Front',0
  Capabilities: volume
  Playback channels: Front Left - Front Right
  Limits: 0 - 255
  Mono: 207 [81%]
  Front Left:
  Front Right:
Simple mixer control 'HD SPDIF Rear',0
  Capabilities: volume
  Playback channels: Front Left - Front Right
  Limits: 0 - 255
  Mono: 207 [81%]
  Front Left:
  Front Right:
Simple mixer control 'HD SPDIF Unknown',0
  Capabilities: volume
  Playback channels: Front Left - Front Right
  Limits: 0 - 255
  Mono: 207 [81%]
  Front Left:
  Front Right:
Simple mixer control 'Sigmatel 4-Speaker Stereo',0
  Capabilities: pswitch pswitch-joined
  Playback channels: Mono
  Mono: Playback [off]
Simple mixer control 'Sigmatel Surround Phase Inversion Playback ',0
  Capabilities: pswitch pswitch-joined
  Playback channels: Mono
  Mono: Playback [off]
Comment 1 Christian Loitsch 2005-09-08 17:16:04 UTC
Why did you close http://bugs.kde.org/show_bug.cgi?id=74168 ?

Christian Esken:
Bug 74168 describes exactly the same problem.  (please don't tell to look at comment 16.  I've read it)

Bug 74168 did not say that it was a problem to have an empty tab, but that there should be something in there.

Why do you say, that the audigy card does not have input-controls?  _ALL_ other alsa-mixer programs I've tried do show them correctly.

Nadav Kavalerchik:
Thanks for taking the time to "reopen" this bug.

BTW you should add the 90 vote points of bug 74168 to this bug.
Comment 2 Christian Loitsch 2005-09-08 17:19:45 UTC
The real problem with capture-channels not showing in the input-tab is, that it's currently not possible to select the recording-channel.
(no red dots underneath the possible channels)
Comment 4 Erwin Mascher 2005-11-26 18:50:42 UTC
Created attachment 13653 [details]
add alsa capture-devices to input tab

attached is a patch against the alsa part of kdemultimedia/kmix 3.5.0rc2 which
does simply add all channels with capture-capabilities to the input tab. the
red dots for selecting input sources are not working AFAICT, but on audigys,
you can select your input source by adjusting the volumes.
it works very well for me, so please test, and let me know about any problems.

@Christian Esken:
Is it possible to commit this patch into kde cvs?
Comment 5 Erwin Mascher 2005-11-29 00:26:39 UTC
Created attachment 13668 [details]
Update to patch #13653

i forgot to save and load capture-volumes correctly. this is fixed in the new
patch. enjoy.
Comment 6 Gustavo alvarez 2005-12-07 05:21:39 UTC
*** This bug has been confirmed by popular vote. ***
Comment 7 Christian Esken 2005-12-21 01:12:37 UTC
Erwin, I just lost a long comment I wrote about you patch. :-(((
First thanks for your effort. :-)
Using the concept of two MixDevice's per control might actually work out pretty fine. I just wonder how well your patch works with the KMix panelapplet.

Also, the naming of canCapture is very misleading. You end up with constucts like ( canCapture && !canRecord ) - this is bad.
canCapture should really be renamed to isCaptureVolume . Apart from that, I'll post this to kde-multimedia to get it checked a bit more.

  Chris
Comment 8 Erwin Mascher 2005-12-22 00:38:20 UTC
you can of course change the naming to whatever you feel is appropriate :)

could you please explain what you think won't work with the panelapplet? a quick test shows all inputs/outputs with the correct volumes, the only thing is that you have of course two volume controls for e.g. Mic, one for input, one for output. other than that, i can say it works without problems for me, and i would be happy to try to fix any open issues with this patch to get it into the next release.

so long,
-erwin
Comment 9 Nadav Kavalerchik 2005-12-22 22:18:45 UTC
hi erwin,
this patch sounds great !
i'm using fc devel . what do i need to get this patched kmix running on my system ?
( all the devel sources of kde to compile it ? or do you have a pre-compiled binary for me to test ? )

kindly,
nadav :-)
Comment 10 Christian Esken 2005-12-27 14:47:32 UTC
SVN commit 491754 by esken:

Patchset with two patches:
1) "Show volume as numbers" (relative/absolute). Add feature,add config dialog item (Thanks for the patch, Mark Nauwelaerts).
   The added strings were acccepted by kde-18n.
2) Patch for supporting Audigy2 devices better (Thanks for the patch, Erwin Mascher)
   The patch was succesufully tested and accepted by kde-multimedia

CCBUGS:114496
CCBUGS:110807



 M  +27 -0     kmix.cpp  
 M  +2 -0      kmix.h  
 M  +15 -1     kmixerwidget.cpp  
 M  +2 -0      kmixerwidget.h  
 M  +18 -0     kmixprefdlg.cpp  
 M  +3 -0      kmixprefdlg.h  
 M  +9 -0      kmixtoolbox.cpp  
 M  +1 -0      kmixtoolbox.h  
 M  +75 -4     mdwslider.cpp  
 M  +6 -0      mdwslider.h  
 M  +20 -5     mixdevice.cpp  
 M  +3 -0      mixdevicewidget.h  
 M  +53 -27    mixer_alsa9.cpp  
 M  +1 -1      viewdockareapopup.cpp  
 M  +9 -15     volume.cpp  
 M  +4 -5      volume.h  
Comment 11 Christian Esken 2005-12-29 18:30:26 UTC
The code is now in KDE SVN (3.5 branch). If anybody feels like testing it before KDE3.5.1 release, this would be a good time.

@Erwin: The testing for the panel applet you did should be OK. Probably you could also try to hide some controls and show them again, and see whether the sliders for the "duplicated" controls restore correctly after logout/login.
@Nadav: I would advise you to build a new version only if you have some general experience in building big software packages. http://developer.kde.org/ gives you some hints then (you need to build kdemultimedia). Otherwise it is better to wait for a KDE3.5.1 release (http://developer.kde.org/development-versions/kde-3.5-release-plan.html).
Comment 12 Christian Esken 2005-12-29 18:31:57 UTC
Targeting date for closing this bug report: April 2006
Feedback and test rerports are appreciated until then.
Comment 13 Christian Esken 2005-12-29 18:33:27 UTC
*** Bug has been marked as fixed ***.
Comment 14 Christian Esken 2006-01-29 23:17:05 UTC
The code has now been forward ported to KDE4.
Comment 15 Erwin Mascher 2006-01-29 23:32:50 UTC
Just installed suse 10.1 beta 2 with kde 3.5.1 and everything sound-related is working nicely out of the box :) 
glad to hear that this patch will be in kde 4!
Comment 16 Nadav Kavalerchik 2006-03-03 20:00:24 UTC
thank you so much for solving this issue :-)

i opened this bug and i confirm it to be fixed !!!

thanks :-)
Comment 17 Gustavo alvarez 2006-03-04 04:31:04 UTC
this bug has ben fixed. thanks Team :)