33dots

Posts RSS Comments RSS

Enabling mic to work on Cent OS 5 for Skype

It was not possible to get mic working in my Skype in CentOS 5.
I did a lot of play with the Gnome Volume Control. Tried changing the device from Alsamixer to OSS Mixer back and forth. Tried with all the settings inside skype voice settings.. Messed with the Gnome System > Preferences > Sound . etc etc.

But nothing seemed to work. And my mic was working perfectly in windows with skype, so it was sure that its not related to mic but something related to alsa or skype.

Now the solution,
Most probably, it is because our Mic is not set as the ‘Capturing device’ in alsa.

So first check, whether your mic and sound recording is working.

Alsa comes with a program to record voice. Plug in your mic and do a,
[tony@localhost ~]$ arecord -vv -d 10 test.wav
speak something and it should get recorded. the -vv option shows a VU meter of your recording sound.

Now try to play it,
[tony@localhost ~]$ aplay -vv test.wav

If you hear it back, then your mic is properly working and sound recording is fine.
Then it should be a problem with Skype.

If not, as in the case with me, You will need to mess with alsamixer.
Start alsamixer in a new terminal
[tony@localhost ~]$ alsamixer

Press tab to go to ‘Capture’, This will list all the capture related stuffs. Pressing tab cycles between view modes like Playback, Capture and All.

Now, there will be items like Mic, Mic boost, Capture, Line, CD, Digital, Aux etc etc. Some of these devices will have a text called Capture written in red at the bottom of the volume bar. This is called Capture flag and this enables the recording on the device. .
Make sure you have Capture flag set on the devices Capture, and Mic. You could do this selecting the correct item(by Left/Right arrow keys] and by pressing space. When i checked mine it was incorrectly set on ‘Line’ only.

Also make sure you have max volume in in Mic boost, Capture and Digital. [Check the screenshot]

Capture settings in alsamixer

Now try recording, again.

If things work you could adjust the volume levels properly.
Also to can mute your mic so that sound is not produced by your speakers when you use Mic. Do this by going back to Playback [by pressing tab again] and selecting Mic and by pressing ‘m’. You will see a ‘MM’ if a device is muted and ‘00′ if its not. [check the screen shot]

Alsa mic muted

Take skype back and do the test call again to see f there is any change. :)

You can find more info at,
http://www.alsa-project.org/main/index.php/SoundcardTesting

Share and Enjoy:
  • Digg
  • del.icio.us
  • Technorati
  • LinkedIn
  • StumbleUpon
  • TwitThis
  • E-mail this story to a friend!
  • Print this article!

7 responses so far

7 Responses to “Enabling mic to work on Cent OS 5 for Skype”

  1. Leelanon Jan 10th 2010 at 8:15 am

    good work tony.. i have been trying to fix this skype mic issue for long time.. almost gave up finally. This fix work like a charm. great work mate.

  2. Matton Feb 15th 2010 at 4:53 am

    Worked great. Thanks for the post. I can use my mic now.

  3. tonyon Feb 16th 2010 at 11:40 am

    Nice to hear from you Matt.. :)

  4. Kevin Watersonon Jun 17th 2010 at 11:51 am

    This worked for me. Thank youi

  5. Gabrielon Jun 18th 2010 at 1:43 am

    My mic is working now!!!!!!
    THANKS!

  6. Johnon Dec 31st 2010 at 5:21 pm

    My mic is working now. Thanks! Had to restart skype to get the levels recognized.

  7. [...] tab. Microphone Problem. I followed instructions on the Alsa and this site to configure sound and the microphone. Entering the linux command: alsamixer produces a [...]

Leave a Reply