microphone doesn't work in suse 11

Hi All,

updated to suse 11 few months ago, but without any test of mic. I wanted to skype a friend, and found mic doesn’t work.

I tested the recorder as well, it was not working either, and then I went to check the sound settings.

I adjusted the pulseaudio mic to the highest, and checked the alsamixer. it was highest as well.

but it doesn’t work now still.

Have you happened to meet this problem? how did you solve it?

A little urgent as I wanna make a phone call to my friend.

Any ideas are highly appreciated, thanks.

I can not help you with skype, as I do not use that software. I “might” be able to help you to generically get your mic working.

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).

If while recording audio with the basic “arecord” does not work, then we need more information on your hardware/software audio configuration and on your mixer. To provide more information, then with your PC connected to the internet, please copy and paste the following into a gnome-terminal / konsole:

wget http://home.cfl.rr.com/infofiles/tsalsa && su -c 'bash ./tsalsa' 

when prompted for a password please enter your root password. Please try to accurately answer the question on the number of plugs/jacks on your PC (for example my PC has 3 i/o plugs/jacks). When the script completes it will pass you a URL. Please post that URL here.

Also, please copy and paste the following, one line at a time, into a gnome-terminal/konsole and post the output here.
rpm -qa | grep alsa
rpm -qa | grep pulse
rpm -q libasound2
uname -a
cat /etc/modprobe.d/sound

Good luck!

Hi oldcpu,

I followed your instructions ( a little late due to busy homeword and business).

Here’s the URL you need: tsalsa.txt - nopaste.com (beta)

This is the rpm packages for alsa:


alsa-tools-1.0.16-47.1
alsa-oss-1.0.15-48.1
alsa-plugins-pulse-1.0.16-57.1
alsa-plugins-1.0.16-57.1
alsa-1.0.16-39.1
alsa-firmware-1.0.16-24.1
alsa-utils-1.0.16-35.1
alsa-devel-1.0.16-39.1

pulse:


libpulse-browse0-0.9.10-26.1
pulseaudio-utils-0.9.10-26.1
pulseaudio-module-zeroconf-0.9.10-26.1
pulseaudio-module-gconf-0.9.10-26.1
libpulsecore4-0.9.10-26.1
alsa-plugins-pulse-1.0.16-57.1
pulseaudio-module-x11-0.9.10-26.1
gstreamer-0_10-pulse-0.9.5-54.1
pulseaudio-0.9.10-26.1
pulseaudio-esound-compat-0.9.10-26.1
libpulse0-0.9.10-26.1
libpulse-mainloop-glib0-0.9.10-26.1
pulseaudio-module-lirc-0.9.10-26.1
pulseaudio-module-bluetooth-0.9.10-26.1

libasound version:

libasound2-1.0.16-39.1

system information:


Linux laptop-samuel 2.6.25.5-1.1-pae #1 SMP 2008-06-07 01:55:22 +0200 i686 i686 i386 GNU/Linux

sound information:

 
options snd slots=snd-hda-intel
# u1Nb.Q4x6jc7hr+E:82801G (ICH7 Family) High Definition Audio Controller
alias snd-card-0 snd-hda-intel 

sorry, missed the most important part information. arecord doesn’t work for me.

OK, thanks. I note your HP520 is running the 2.6.22.5-pae 32-bit kernel (ie not updated) on a 32-bit openSUSE-11.0 with 1.0.16 of alsa. I note the hardware audio codec is CX20549 (which used to be called a Conexant 5045).

I note this in your mixer:
Amixer item options for card 0 [Intel] _________________________________
‘Capture Source’ ; Item #0 ‘ExtMic’ ; Item #1 ‘IntMic’
Amixer contents for card 0 [Intel] _____________________________________
amixer set ‘Master’,0 100%,100% on
amixer set ‘PCM’,0 55%,55% on
amixer set ‘IEC958’,0 off
amixer set ‘IEC958 Default PCM’,0 on
amixer set ‘Digital’,0 Capture 120 100% Capture 120 100%
amixer set ‘Ext Mic’,0 0%,0% on
amixer set ‘ExtMic’,0 Mono: Capture off
amixer set ‘Int Mic’,0 100%,100% on
amixer set ‘IntMic’,0 Mono: Capture on

It looks like you are trying to use the built in mic. How about the external mic in? Does that work? You have IEC958 off, but digital capture ON to 100%. Is your internal mic digital ? If so (and I am guessing) should IEC958 be ON ?

I note this is your /etc/modprobe.d/sound file from your post:

I also noted these options in the ALSA-Configuration.txt documentation file that comes with alsa, for a Conexant 5045:


	Conexant 5045
	  laptop-hpsense    Laptop with HP sense (old model laptop)
	  laptop-micsense   Laptop with Mic sense (old model fujitsu)
	  laptop-hpmicsense Laptop with HP and Mic senses
	  benq		Benq R55E
	  test		for testing/debugging purpose, almost all controls
			can be adjusted.  Appearing only when compiled with
			$CONFIG_SND_DEBUG=y  

Hence in case (and I am guessing) your exact alsa parameters were not autodetected, what you could do is modify your /etc/modprobe.d/sound file, as follows:

options snd slots=snd-hda-intel
options snd-hda-intel laptop-hpsense

u1Nb.Q4x6jc7hr+E:82801G (ICH7 Family) High Definition Audio Controller

alias snd-card-0 snd-hda-intel

and then restart your alsa driver/module with su -c ‘rcalsasound restart’ and test your mic/and adjust mixer as req’d.

If you get errors when restarting alsa, or the mic just doesn’t work, try replace “laptop-hpsense” with “laptop-hpmicsense” and then restart your alsa driver/module with su -c ‘rcalsasound restart’ and test your mic/and adjust mixer as req’d.

You can also try the other options in that ALSA-Configuration.txt file (I think you get the idea now as to the test).

I also searched for the CX20549 on the alsa web site, and obtained this hit: Search results for CX20549 - AlsaProject
which notes support for the mic was incorporated in 1.0.14 of alsa, … there is also reference to the HP530 (very similar to your HP) where support was added in 1.0.17 of alsa (which you don’t have).

If your mixer settings do not work with either an external mic, nor an internal mic, then you may have to consider trying to update your alsa and see if that helps. … but it may not make any difference … so its only something you “could” try, but no guarantees.

If you wish to update alsa to the latest “cutting edge” (where there are non-functionality risks with “cutting edge” drivers) you could do so via rpm (via this URL): Alsa-update - openSUSE where in essence that tells you to open a konsole or gnome terminal, with your laptop connected to the internet, type “su” to get root permissions, and copy and paste the following 6 commands in sequence as noted below:

zypper ar http://download.opensuse.org/repositories/multimedia:/audio/openSUSE_11.0/ multimedia
zypper install alsa alsa-utils alsa-tools alsa-firmware libasound2
zypper rr multimedia
zypper ar http://download.opensuse.org/repositories/multimedia:/audio:/KMP/openSUSE_11.0/ multimedia
zypper install alsa-driver-kmp-pae
zypper rr multimedia

then restart your PC and try again your mixer with mic.

But note your kernel is not updated, and if you update your kernel to 2.6.25.11, then your sound could break, and you would have to update your alsa again using slightly different commands, as noted in the openSUSE alsa update URL that I quoted.

I’ll try post my mixer settings later (to get my mic working) so you have a comparison.

Here for comparison purposes, are my mixer settings from kmix, where my external mic works (this is a desktop - I don’t have an internal mic):

Output:
ImageShack - Best place for all of your image hosting and image sharing needs](ImageShack - Best place for all of your image hosting and image sharing needs)

Input:
ImageShack - Best place for all of your image hosting and image sharing needs](ImageShack - Best place for all of your image hosting and image sharing needs)

Switches:
ImageShack - Best place for all of your image hosting and image sharing needs](ImageShack - Best place for all of your image hosting and image sharing needs)

thanks for your quick reply.

I tried changing /etc/modprobe.d/sound configurations. but it doesn’t work, I mean, when restarting alsa, it failed and no sound if not removed the options added later.

you reminded me that external and internal mic. Sorry, I don’t know much about the exact difference about this? do you mean internac mic is the one the laptop carries? but my laptop doesn’t have such an object. I mean, I need to use a mic purchased a year later after I owned this one.

OK, … thats very useful to tell someone, when looking for support :slight_smile:

Hence it looks to me that your mixer is set up badly. ie you have it set to a non-exisiting internal mic, and your external mic capture is off. How can you capture audio with your external mic, if it is at 0% capture? Look at my markups below:

Amixer item options for card 0 [Intel] _________________________________
‘Capture Source’ ; Item #0 ‘ExtMic’ ; Item #1 ‘IntMic’
Amixer contents for card 0 [Intel] _____________________________________
amixer set ‘Master’,0 100%,100% on
amixer set ‘PCM’,0 55%,55% on
amixer set ‘IEC958’,0 off
amixer set ‘IEC958 Default PCM’,0 on
amixer set ‘Digital’,0 Capture 120 100% Capture 120 100%
amixer set ‘Ext Mic’,0 0%,0% on
amixer set ‘ExtMic’,0 Mono: Capture off
amixer set ‘Int Mic’,0 100%,100% on
amixer set ‘IntMic’,0 Mono: Capture on

I highlighted in red what on the surface appears to be set badly. Anyway, I’ve done what I can now. Its up to you to sort this with the information you have been given.

Good luck.

oldcpu, sorry for my stupid mistake.

I didn’t what are ext mic and int mic.

Finally I have my mic work… I’m so excited.

Many thanks for your kind helps.

Fantastic! Sorry that it took so long to sort.

I find the mixer in Linux can be very confusing for users coming from MS-Windows or Mac (indeed confusing even for users who have always been on Linux). Typically it takes me 5 to 10 minutes every time i go to use my Mic to figure out how to set it up.

The reason being, when I am not using my Mic, I can get annoying feedback in my speakers, thru the Mic, when the Mic is not in use (as I never unplug my Mic - its too hard to reach under the table). Thus typically I disable my Mic in my mixer. BUT x-months later, when I go to use my Mic, do you think I can remember what I disabled? … nope … not a chance. I could set a record for the world’s worst memory in the Guiness Book of World Records !! :slight_smile:

Anyway, very glad to read you have it functioning.

(Now if I could only sing, all would be so much better ! (http://forums.opensuse.org/soapbox/389034-i-cant-sing.html) )

I can not sing as well…

I dare not to open my mouse singing even a sentence as I never catch up the tune

I keep talking therefore :).

Thanks very much.

Hi

I have HP Pavilion dv2600tx laptop with SUSE 11 installed on it. Yesterday I installed Skype and found that the Microphone is not working on it. Then I tried with a default SuSE Microphone Audio recorder application which again unable to record audio.

Could anybody please help me in get out of this problem.

Pleeeeaaaaaaaaseeeeeee…

Welcome to our forum. Next time, please start a separate thread for this, for if you did not follow the suggestions in this thread (and if you do not post the detailed output of what you have tried in detail from the suggestions given to others) its not very productive in making this thread longer. its much easier for those trying to help when you start a new thread.

Now specifically, I can not help you with skype, as I do not use that software. I “might” be able to help you to generically get your mic working.

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).

When advising of the results of that, please make it clear as to whether you were trying your Internal mic or your external mic.

If while recording audio with the basic “arecord” does not work, then we need more information on your hardware/software audio configuration and on your mixer. To provide more information, then with your PC connected to the internet, please copy and paste the following into a gnome-terminal / konsole:

wget http://home.cfl.rr.com/infofiles/tsalsa && su -c 'bash ./tsalsa' 

when prompted for a password please enter your root password. Please try to accurately answer the question on the number of plugs/jacks on your PC (for example my PC has 3 i/o plugs/jacks). When the script completes it will pass you a URL. Please post that URL here.

Also, please copy and paste the following, one line at a time, into a gnome-terminal/konsole and post the output here.
rpm -qa | grep alsa
rpm -qa | grep pulse
rpm -q libasound2
uname -a
cat /etc/modprobe.d/sound

Good luck!

I see now you posted here:
SUSE11 HP Pavilion dv2600tx Laptop - Microphone not working - openSUSE Forums

Please use the new thread you started, and not this old thread. The same request is true for users trying to help. Please use the new thread.

I`m a bit confused i have open suse 11 on a intel core 2 duo pc and the only thing i have done is to acces kmix and go to switches and to
set in the input source in the both fields the option “Mic” and then i have gone back to mixer and activated the “Mic” and the “Mic booster”

Hi All,

I just want to share how I solved the same problem I had with my ASUS X59GL ( known also as F5GL) laptop and suse 11.1.
This model uses HDA Intel and ALC663 codec.
I thoroughly checked my alsa configuration, experimented with model parameters for my codec, went as deep as the HDA spec and the content of /proc/asound/card0/codec#0 and it meaning. Then updated to latest released alsa 1.0.21 but nothing helped.
Just then I payed attention to the [off] status of “Capture” mixer control I see in amixer:

Simple mixer control ‘Capture’,0
Capabilities: cvolume cswitch
Capture channels: Front Left - Front Right
Limits: Capture 0 - 31
Front Left: Capture 31 [100%] [30.00dB] [off]
Front Right: Capture 31 [100%] [30.00dB] [off]

I actually do no understand the meaning of this mixer control. I already have mute and volume control on the “Mic” mixer. Looking in the datasheet of ALC663 codec and reading the intel HDA specification I do not see any reason to have this duplication of Mic control. Anyway, this mixer is created from ALC663 codec driver.
I had to somehow enable it.
The only way I found is using KMix-> Show mixer window-> Mixer-> check “capture” box under the volume slider. I again miss to understand why the hell KMix displays the same “cswitsh” in a different way than all the other mute controls.
After checking this box, my mic started working perfectly.

Moral:
Be very careful to check the mysterious capture control and all of its properties in your mixer. By default all “mic” related stuff is disabled and the trick in my case was to enable ALL of them.

m_n17 that is so true!

My wife regularly gets very upset that the mic does not work under openSUSE-11.1 … and its often because she does not have the mixer set up correctly. I finally resorted to taking a screen dump of the mixer with the mic setup correctly, and then put that image as an icon on her desktop, that she can then compare her mixer settings to.

Without that, she keeps forgetting what the correct settings are. Tuning a mic in Linux can be difficult.

Hi there,

I’ve been reading the last post, and I tried to rec some audio with my mic using the following command:

arecord -vv -fdat -d 5 foo.wav

but when I played it, I dont hear nothing,

Furthermore I try with:

wget http://home.cfl.rr.com/infofiles/tsalsa && su -c ‘bash ./tsalsa’

–2009-12-08 18:45:19-- http://home.cfl.rr.com/infofiles/tsalsa
Resolving home.cfl.rr.com… 24.28.199.142
Connecting to home.cfl.rr.com|24.28.199.142|:80… connected.
HTTP request sent, awaiting response… 404 Not Found
2009-12-08 18:45:27 ERROR 404: Not Found.

But I’ve followed another method with
#/usr/sbin/alsa-info.sh http://www.alsa-project.org/db/?f=c6556b1362cb7e0f553e4403eccc3fd6f257faf7

and I obtained:
http://www.alsa-project.org/db/?f=0346e708bee4da4891be8a58b29fcc69fe701856

Any suggestion?
Thanks in advance…

That is likely from an old article. Currently I recommend a different test, as documented here: Microphone - openSUSE

arecord -vv -fdat foo.wav

ie do NOT use "-d 5 " . You can stop it any time with a

The tsala script was depreciated and maintenance stopped a long time ago. You should NOT use guides that are 1 year or more years old when there are ones that were updated within the past week that you can use instead.

What you should be using is written in our stickie at the top of this forum: Welcome to multimedia sub-area - openSUSE Forums
Note in EVERY forum on the internet, and not just our forum, there are stickies that users are supposed to read.

Yes, you have many things on your PC that are possibly messed up.

To start:

!!Kernel Information
!!------------------

Kernel release:    2.6.27.21-0.1-default
Operating System:  GNU/Linux
Architecture:      x86_64

this is NOT the most current kernel for 11.1. Use of that kernel is NOT recommended. The kernel you should update to is the 2.6.27.37-0.1.1.x86_64 version.


!!ALSA Version
!!------------

Driver version:     1.0.17
Library version:    1.0.19
Utilities version:  1.0.19

this mix of 1.0.17 and 1.0.19 of alsa is not natural. It suggests you tried some installations that you did not tell us about. Which means it is MUCH MORE DIFFICULT to figure out what has been done. So if you want help there, you need to tell us what you did. You can start by providing the output of:

rpm -qa '*alsa*'
rpm -qa '*pulse*'
rpm -q libasound2
uname -a
cat /etc/modprobe.d/sound

!!Amixer output
!!-------------
!!-------Mixer controls for card 0 [CA0106]

Card hw:0 ‘CA0106’/‘X-Fi Extreme Audio [SB0790] at 0xec00 irq 16’
Simple mixer control ‘Mic’,0
Capture channels: Front Left - Front Right
Front Left: Capture 0 [0%] -99999.99dB]
Front Right: Capture 0 [0%] -99999.99dB]
Simple mixer control ‘Analog Source’,0
Items: ‘Phone’ ‘Mic’ ‘Line in’ ‘Aux’
Item0: ‘Line in’
Simple mixer control ‘CAPTURE feedback’,0
Front Left: Playback 0 [0%] -99999.99dB]
Front Right: Playback 0 [0%] -99999.99dB]
Simple mixer control ‘Shared Mic/Line in’,0
Items: ‘Line in’ ‘Mic in’
Item0: ‘Line in’
Clearly your Mic is setup wrong in your mixer. Not only is it deselected (for you have inappropriately selected “Line in” by mistake), but even if it was selected, it has its capture at 0% ensuring no audio can possibly be captured.

I confess given your card is an X-Fi Extreme Audio, I’m surprised you are getting any sound at all.

Hi oldcpu, sorry for not followed the correct lines.
(It isn’t a excuse but I’m a sort of n00b in gnu-Linux.)

In chronological order I’m going to ask another questions, and post what you told me.

  1. How can I update the kernel from 2.6.27.21-0.1-default to 2.6.27.37-0.1.1.x86_64 ?

  2. I don’t remember what I did about the mix of 1.0.17 and 1.0.19 of ALSA, I just tried to install some updates till I got sound with my amarok player, I appreciate your help in order to put in order the ALSA version.

user-df205a6ce9:/home/zxoch/Desktop # rpm -qa ‘alsa
alsa-oss-32bit-1.0.17.git20080715-2.24
alsa-devel-1.0.19.git20090304-3.1
alsa-utils-1.0.19.git20090319-1.2
alsa-firmware-1.0.19.git20090317-1.1
alsa-plugins-1.0.19.git20090303-1.10
alsa-plugins-pulse-1.0.19.git20090303-1.10
java-1_5_0-sun-alsa-1.5.0_update19-0.1.1
alsa-tools-1.0.19.git20090320-1.2
java-1_6_0-sun-alsa-1.6.0.u13-0.1.1
alsa-1.0.19.git20090304-3.1
alsa-oss-1.0.17.git20080715-2.24

user-df205a6ce9:/home/zxoch/Desktop # rpm -qa ‘pulse
pulseaudio-module-bluetooth-0.9.12-9.5
vlc-aout-pulse-0.9.8a-0.pm.3
pulseaudio-module-x11-0.9.12-9.5
pulseaudio-module-gconf-0.9.12-9.5
libpulsecore4-0.9.12-9.5
pulseaudio-module-zeroconf-0.9.12-9.5
libxine1-pulse-1.1.15-20.8
alsa-plugins-pulse-1.0.19.git20090303-1.10
libpulse0-0.9.12-9.5
libpulse-browse0-0.9.12-9.5
pulseaudio-0.9.12-9.5
pulseaudio-esound-compat-0.9.12-9.5
libpulse-mainloop-glib0-0.9.12-9.5
libpulse0-32bit-0.9.12-9.6
pulseaudio-utils-0.9.12-9.5
pulseaudio-module-lirc-0.9.12-9.5
xmms-pulse-0.9.4-0.pm.1

user-df205a6ce9:/home/zxoch/Desktop # rpm -q libasound2
libasound2-1.0.19.git20090304-3.1

user-df205a6ce9:/home/zxoch/Desktop # uname -a
Linux user-df205a6ce9 2.6.27.21-0.1-default #1 SMP 2009-03-31 14:50:44 +0200 x86_64 x86_64 x86_64 GNU/Linux

user-df205a6ce9:/home/zxoch/Desktop # cat /etc/modprobe.d/sound
options snd slots=snd-ca0106

Ddhb.e8MIsdg8Ku6:SB0790 X-Fi XA

alias snd-card-0 snd-ca0106

Thanks in advances, zx
PD.I’ve got more questions.