Microphone problem

Hi,
I’ve been having some trouble with my microphone: Basically, it doesn’t work!
I’m running openSuSE11.0, with KDE4.1 (upgraded with the one-click in the wiki) and I’ve played around with my configuration quite a bit trying to fix this and a lot of fiddling around before that so I might have changed some setting somewhere once… I’ve been an openSuSE user since just before the beginning of openSuSE (10.0 I think) but I’ve never had a reason to use a microphone until now… speakers work perfectly!

Just some basic hardware info: Asus P5B motherboard, using on-board sound, which is Intel integrated sound, Intel P965 chipset,(if you want more info, just ask, but I think this is all that is relevant)…

I’ve tried multiple things from different forums, including this one and Ubuntu’s forums, but no success yet. I already ran a few tests I saw other people were told to run so here are the results:

TSALA test :tsalsa.txt - nopaste.com (beta)
arecord: didn’t record anything- no sound at all

rpm -qa | grep alsa:


niv.kaha@linux-dqxo:~> rpm -qa | grep alsa
alsa-oss-1.0.15-48.1
alsa-1.0.16-39.1
alsa-plugins-pulse-1.0.16-57.1
kalsatools-1.5.0-544.1
alsa-devel-1.0.16-39.1
alsa-utils-1.0.16-35.1
alsa-plugins-1.0.16-57.1

amixer output has been posted bellow, because it made to post too long!

I hope I have provided enough information, if not, please ask and I will try to provide you with what ever I can!

Thanks in advance

Here is the amixer output:
amixer:

niv.kaha@linux-dqxo:~> amixer
Simple mixer control 'Master',0
  Capabilities: pvolume pvolume-joined pswitch pswitch-joined
  Playback channels: Mono                                    
  Limits: Playback 0 - 39                                    
  Mono: Playback 39 [100%] [0.00dB] [on]                     
Simple mixer control 'Headphone',0                           
  Capabilities: pswitch                                      
  Playback channels: Front Left - Front Right                
  Mono:                                                      
  Front Left: Playback [on]                                  
  Front Right: Playback [on]                                 
Simple mixer control 'PCM',0                                 
  Capabilities: pvolume                                      
  Playback channels: Front Left - Front Right                
  Limits: Playback 0 - 255                                   
  Mono:                                                      
  Front Left: Playback 185 [73%] -14.00dB]                  
  Front Right: Playback 185 [73%] -14.00dB]                 
Simple mixer control 'Front',0                               
  Capabilities: pvolume pswitch                              
  Playback channels: Front Left - Front Right                
  Limits: Playback 0 - 39                                    
  Mono:                                                      
  Front Left: Playback 39 [100%] [0.00dB] [on]               
  Front Right: Playback 39 [100%] [0.00dB] [on]              
Simple mixer control 'Front Mic',0                           
  Capabilities: pvolume pswitch                              
  Playback channels: Front Left - Front Right                
  Limits: Playback 0 - 31                                    
  Mono:                                                      
  Front Left: Playback 31 [100%] [12.00dB] [on]              
  Front Right: Playback 31 [100%] [12.00dB] [on]             
Simple mixer control 'Front Mic Boost',0                     
  Capabilities: volume                                       
  Playback channels: Front Left - Front Right                
  Capture channels: Front Left - Front Right                 
  Limits: 0 - 3                                              
  Front Left: 0 [0%]                                         
  Front Right: 0 [0%]                                        
Simple mixer control 'Surround',0                            
  Capabilities: pvolume pswitch                              
  Playback channels: Front Left - Front Right                
  Limits: Playback 0 - 39                                    
  Mono:                                                      
  Front Left: Playback 0 [0%] -58.50dB] [off]               
  Front Right: Playback 0 [0%] -58.50dB] [off]              
Simple mixer control 'Center',0                              
  Capabilities: pvolume pvolume-joined pswitch pswitch-joined
  Playback channels: Mono                                    
  Limits: Playback 0 - 39                                    
  Mono: Playback 0 [0%] -58.50dB] [off]                     
Simple mixer control 'LFE',0                                 
  Capabilities: pvolume pvolume-joined pswitch pswitch-joined
  Playback channels: Mono                                    
  Limits: Playback 0 - 39                                    
  Mono: Playback 28 [72%] -16.50dB] [on]                    
Simple mixer control 'Side',0                                
  Capabilities: pvolume pswitch                              
  Playback channels: Front Left - Front Right                
  Limits: Playback 0 - 39                                    
  Mono:                                                      
  Front Left: Playback 0 [0%] -58.50dB] [off]               
  Front Right: Playback 0 [0%] -58.50dB] [off]              
Simple mixer control 'Line',0                                
  Capabilities: pvolume pswitch                              
  Playback channels: Front Left - Front Right                
  Limits: Playback 0 - 31                                    
  Mono:                                                      
  Front Left: Playback 31 [100%] [12.00dB] [on]              
  Front Right: Playback 31 [100%] [12.00dB] [on]             
Simple mixer control 'CD',0                                  
  Capabilities: pvolume pswitch                              
  Playback channels: Front Left - Front Right                
  Limits: Playback 0 - 31                                    
  Mono:                                                      
  Front Left: Playback 21 [68%] -3.00dB] [on]               
  Front Right: Playback 21 [68%] -3.00dB] [on]              
Simple mixer control 'Mic',0                                 
  Capabilities: pvolume pswitch                              
  Playback channels: Front Left - Front Right                
  Limits: Playback 0 - 31                                    
  Mono:                                                      
  Front Left: Playback 31 [100%] [12.00dB] [on]              
  Front Right: Playback 31 [100%] [12.00dB] [on]             
Simple mixer control 'Mic Boost',0                           
  Capabilities: volume                                       
  Playback channels: Front Left - Front Right                
  Capture channels: Front Left - Front Right                 
  Limits: 0 - 3                                              
  Front Left: 0 [0%]                                         
  Front Right: 0 [0%]                                        
Simple mixer control 'IEC958',0                              
  Capabilities: pvolume cvolume pswitch pswitch-joined cswitch cswitch-joined
  Playback channels: Front Left - Front Right                                
  Capture channels: Front Left - Front Right                                 
  Limits: Playback 0 - 39 Capture 0 - 31                                     
  Front Left: Playback 39 [100%] [0.00dB] [off] Capture 24 [77%] [1.50dB] [off]
  Front Right: Playback 39 [100%] [0.00dB] [off] Capture 24 [77%] [1.50dB] [off]
Simple mixer control 'IEC958 Default PCM',0                                     
  Capabilities: pswitch pswitch-joined                                          
  Playback channels: Mono                                                       
  Mono: Playback [on]                                                           
Simple mixer control 'IEC958 Playback Source',0                                 
  Capabilities: enum                                                            
  Items: 'PCM' 'ADC1' 'ADC2' 'ADC3'                                             
  Item0: 'PCM'                                                                  
Simple mixer control 'Mono',0                                                   
  Capabilities: pswitch                                                         
  Playback channels: Front Left - Front Right                                   
  Mono:                                                                         
  Front Left: Playback [off]                                                    
  Front Right: Playback [off]
Simple mixer control 'Capture',0
  Capabilities: cvolume cswitch
  Capture channels: Front Left - Front Right
  Limits: Capture 0 - 54
  Front Left: Capture 54 [100%] [22.50dB] [on]
  Front Right: Capture 54 [100%] [22.50dB] [on]
Simple mixer control 'Capture',1
  Capabilities: cvolume cswitch
  Capture channels: Front Left - Front Right
  Limits: Capture 0 - 54
  Front Left: Capture 54 [100%] [22.50dB] [off]
  Front Right: Capture 54 [100%] [22.50dB] [off]
Simple mixer control 'Capture',2
  Capabilities: cvolume cswitch
  Capture channels: Front Left - Front Right
  Limits: Capture 0 - 54
  Front Left: Capture 54 [100%] [22.50dB] [off]
  Front Right: Capture 54 [100%] [22.50dB] [off]
Simple mixer control 'Analog Mix',0
  Capabilities: pvolume pswitch
  Playback channels: Front Left - Front Right
  Limits: Playback 0 - 31
  Mono:
  Front Left: Playback 31 [100%] [0.00dB] [on]
  Front Right: Playback 31 [100%] [0.00dB] [on]
Simple mixer control 'Beep',0
  Capabilities: pvolume pswitch
  Playback channels: Front Left - Front Right
  Limits: Playback 0 - 15
  Mono:
  Front Left: Playback 15 [100%] [0.00dB] [off]
  Front Right: Playback 0 [0%] -45.00dB] [off]
Simple mixer control 'Digital',0
  Capabilities: cvolume
  Capture channels: Front Left - Front Right
  Limits: Capture 0 - 120
  Front Left: Capture 120 [100%] [30.00dB]
  Front Right: Capture 120 [100%] [30.00dB]
Simple mixer control 'Input Source',0
  Capabilities: cenum
  Items: 'Front Mic' 'Line' 'Mic' 'CD' 'Mix'
  Item0: 'Front Mic'
Simple mixer control 'Input Source',1
  Capabilities: cenum
  Items: 'Front Mic' 'Line' 'Mic' 'CD' 'Mix'
  Item0: 'Line'
Simple mixer control 'Input Source',2
  Capabilities: cenum
  Items: 'Front Mic' 'Line' 'Mic' 'CD' 'Mix'
  Item0: 'Mix'

OK, thanks. I find the mixer can be tricky to setup to get one’s mic functioning. I’ve wasted more than 10 minutes at times, because I’ve misconfigured something.

First some mixer questions. I note from the script:

Amixer contents for card 0 [Intel] _____________________________________
amixer set ‘Front Mic’,0 100%,100% on
amixer set ‘Front Mic Boost’,0 0% 0%
amixer set ‘Surround’,0 0% off 0% off
amixer set ‘Mic’,0 100%,100% on
amixer set ‘Mic Boost’,0 0% 0%
amixer set ‘IEC958 Playback Source’,0 Items: ‘PCM’ ‘ADC1’ ‘ADC2’ ‘ADC3’ Item0: ‘PCM’
amixer set ‘Capture’,0 Capture 54 100%,Capture 54 100% on
amixer set ‘Capture’,1 Capture 54 100% off Capture 54 100% off
amixer set ‘Capture’,2 Capture 54 100% off Capture 54 100% off
amixer set ‘Digital’,0 Capture 120 100% Capture 120 100%
amixer set ‘Input Source’,0 Items: ‘Front Mic’ ‘Line’ ‘Mic’ ‘CD’ ‘Mix’ Item0: ‘Front Mic’
amixer set ‘Input Source’,1 Items: ‘Front Mic’ ‘Line’ ‘Mic’ ‘CD’ ‘Mix’ Item0: ‘Line’
amixer set ‘Input Source’,2 Items: ‘Front Mic’ ‘Line’ ‘Mic’ ‘CD’ ‘Mix’ Item0: ‘Mix’
Please examine your mixer carefully. I’ve highlighted in red some aspects you definitely need to consider changing … and I’ve put in some orange some others that are also worthy of consideration.

What mic are you trying to record on? Is this a digital mic? An analog mic on a line-in? Is it on a special “mic-in” ? Is it a mic integrated into your PC ?

My microphone is part of a headset, although I use it only as a microphone for now because I prefer my sound coming out of the speakers… It is connected analog, but I’m not sure if it is the special mic port or line in; I’ve tried playing around with it a bit to configure it, as I have 6 audio ports/jacks on my onboard soundcard… I doubt this will be of any help but it’s the pink one, which I think is the mic port…

EDIT
I have just checked my soundcard and next to the pink jack/port where it is plugged in, it does say mic, I have also just tried switching to the line-in jack/port and running arecord and still no success…

Just also forgot to add: this is not a hardware problem as I have tried 2 different mics, both of which work on a different computer (under Windows), and my soundcard had perfect recording under Windows, and I’m pretty sure that it also worked in 10.2 days, but I’m not fully sure…

How do I change these items? Some of them I can change in kmix, but I can’t find some others… also, to what should I change them?

I would need to see your kmix in order to provide further suggestions. For example on my PC, when I went to record, my kmix was mis-configured, specifically under the “switches tab” which had “surround jack mode” set to “shared” instead of “independent”. I don’t even know what that means, but it was enough to stop my capability to record audio, until I changed to “independent”. I documented that here:
*(http://forums.opensuse.org/soapbox/389034-i-cant-sing.html)
(and I still can’t sing! :frowning: ).

How about doing 3 screen dumps of your kmix setting, with the output, input, and switches on each dump, and paste the image on an image hosting site, so that we can make some suggestions?*

I think we should focus on the mixer, as you do have sound and I am not convinced messing with the /etc/modprobe.d/sound file will yield results. However in case we are forced to follow that route, can you post the output of cat /etc/modprobe.d/sound

I searched for your AD1988B on the alsa web site, and there have been no recent updates: Search results AD1988B - AlsaProject

I also took a look in the ALSA-Configuration.txt file (part of the alsa 1.0.16 documentation) and found no entry for an AD1988B. Only for an AD1988:

	AD1988
	  6stack	6-jack
	  6stack-dig	ditto with SPDIF
	  3stack	3-jack
	  3stack-dig	ditto with SPDIF
	  laptop	3-jack with hp-jack automute
	  laptop-dig	ditto with SPDIF
	  auto		auto-config reading BIOS (default) 

So as a last resort would could try apply one of those model’s to your /etc/modprobe.d/sound file (with a very exact syntax), … but lets focus on the mixer for now.

Well, here is my kmixer… I only have one tab, which is weird, but I think it’s because I’m running the KDE4 version…

http://img143.imageshack.us/img143/8137/kmixwx7.th.jpg](http://img143.imageshack.us/my.php?image=kmixwx7.jpg)

I currently do not have KDE3 installed so I can’t open up the old Kmix and configure it from there…:frowning:

Here is my output for the command you gave me:


niv.kaha@linux-dqxo:~> cat /etc/modprobe.d/sound

options snd slots=snd-hda-intel
# u1Nb.kURRCMIOEo3:82801H (ICH8 Family) HD Audio Controller
alias snd-card-0 snd-hda-intel
niv.kaha@linux-dqxo:~>

====
Sorry for not replying until now, I wasn’t at home and therefore unable to answer…

Thanks for the help

I just reinstalled Kmix from KDE3, so here are the images

The output tab
http://img228.imageshack.us/img228/4889/kmix3outdn3.th.jpeg](http://img228.imageshack.us/my.php?image=kmix3outdn3.jpeg)

The input tab… I have a feeling something here needs changing…
http://img404.imageshack.us/img404/6382/kmix3inpm5.th.jpeg](http://img404.imageshack.us/my.php?image=kmix3inpm5.jpeg)

And the switches tab:
http://img228.imageshack.us/img228/241/kmix3switchsb2.th.jpeg](http://img228.imageshack.us/my.php?image=kmix3switchsb2.jpeg)

There are settings there I would change, if I were you.

The obvious one’s are in Output and Input.

Input:

  • Capture … why do you have all 3 at 0%. Move those bars up. You can not capture at 0% levels !!

Output:

  • Turn your Mic boost ON ! Both your Mic Boost and Front Mic Boost are at zero. Why? Move them up to max.

Switches.

  • Take a good look at this. Take notes, and try different combos. But ONLY after you move up your capture and mic boost.

Here are my mixer settings from kmix:

Output:
http://img386.imageshack.us/img386/3027/kmix3tf4.th.jpg](http://img386.imageshack.us/my.php?image=kmix3tf4.jpg)

Input:
http://img389.imageshack.us/img389/7375/kmix2ap2.th.jpg](http://img389.imageshack.us/my.php?image=kmix2ap2.jpg)

Switches:
http://img114.imageshack.us/img114/3205/kmix1yt3.th.jpg](http://img114.imageshack.us/my.php?image=kmix1yt3.jpg)

Thanks, I’ll fiddle around with it when I get back from my trip… I’ll post my results (or calls for help) sometime Friday or Saturday, (assuming we survive :P).
Thanks for all the assistance! I’ll be back in 2 or 3 days with results!

Have a good trip.

Reference use of arecord. Ensure that your mic problem is not a misconfiguration of the application that you are trying to use.

When I test my mic, I typically use a simple arecord command. ie something likearecord -d 10 myrecording.wavorarecord -d 10 -f cd secondrecording.wavwhere “-d 10” sets a 10 second recording. I then play back the recording with xine or mplayer or xmms (or any audio playback program).