Skype Logo
Buy Skype Credit · Help ·
  • Download
  • Use Skype
  • Business
  • Shop
  • Account
  • Home
  • Get Connected
  • Features
  • Mobile
  • Prices
  • Share
  • All

Skype Community

  • Skype Community
  • English
  • Linux


skype [Any version] microphone fix, possibly also sound fix

Jinn
Regular member
Posts: 10

**


I installed the latest skype on my new laptop, with archlinux. Sound out worked just fine, but sound in (mic) did not work.

Didnt matter how I changed the settings in skype.

I hate to have redundant stuff loaded that will do the same thing.. thats why I have blacklisted all oss modules, running only from alsa. I know that running skype with aoss works the mic, but I didnt want this solution..

This might also work if you have a working mic but nonworking sound, but choose different settings in skype, probably.
I needed to change/ create the ~/ .asoundrc file in order to make the mic work. I think this asound config should work for any hardware.. You just have to try. This has worked on my previous laptops with old skype as well. Remember that you might have to (I had to) restart to make the changes work.

CODE

#asym fun start here. we define one pcm device called "dmixed"
   pcm.dmixed {
       ipc_key 1025
       type dmix
       slave.pcm "hw:0,0"
   }
  
   #one called "dsnooped" for capturing
   pcm.dsnooped {
       ipc_key 1027
       type dsnoop
       slave.pcm "hw:0,0"
   }
  
   #and this is the real magic
   pcm.asymed {
       type asym
       playback.pcm "dmixed"
       capture.pcm "dsnooped"
   }
  
   #a quick plug plugin for above device to do the converting magic
   pcm.pasymed {
       type plug
       slave.pcm "asymed"
   }
  
   #a ctl device to keep xmms happy
   ctl.pasymed {
       type hw
       card 0
   }
  
   #for aoss:
   pcm.dsp0 {
       type plug
       slave.pcm "asymed"
   }
  
   ctl.mixer0 {
       type hw
       card 0
   }



Then in skype settings, I choose for Sound in: "asymed".
IPB Image

That does the trick.


My laptop:
dv2000 series with builtin mic.

my soundcard using intel-hda module:
CODE

00:1b.0 Audio device: Intel Corporation 82801G (ICH7 Family) High Definition Audio Controller (rev 02)


my kernel version
CODE

[20:53 root ~]# uname -a
Linux estergon 2.6.22-ARCH #1 SMP PREEMPT Fri Aug 31 19:54:09 UTC 2007 i686 Intel(R) Core(TM)2 CPU         T5500  @ 1.66GHz GenuineIntel GNU/Linux
[20:54 root ~]#



I hope this will help others with the same problem, and maybe even the devs for making skype mic work without this config.

This post has been edited by Jinn: Thu Sep 6 2007, 20:19
Thu Sep 6 2007, 20:00 · Reply · Quote and reply · Permalink · Top ·
Gran Maestro
Advanced Member
Posts: 39

***


QUOTE(Jinn @ Thu Sep 6 2007, 20:00) [snapback]438363[/snapback]

I installed the latest skype on my new laptop, with archlinux. Sound out worked just fine, but sound in (mic) did not work.

Didnt matter how I changed the settings in skype.

I hate to have redundant stuff loaded that will do the same thing.. thats why I have blacklisted all oss modules....................
I hope this will help others with the same problem, and maybe even the devs for making skype mic work without this config.
Thanks for posting this hack.

Looks like something worth some commenting from the developers.
I am surprised there wasn't any reaction neither from users nor from devs.

As there are still some issues with mic sound level I have tried the above suggested code and it seems to work fine for me.

BTW, what does it exactly do? tongueout.png

/P

This post has been edited by Gran Maestro: Tue Sep 11 2007, 14:29
Tue Sep 11 2007, 14:27 · Reply · Quote and reply · Permalink · Top ·
retr0virus
New member
Posts: 4

*


It worked for me too!
I am only wondering about happens with other programs with these settings.
While Skype did not work before I added the .asoundrc file every other program did.
I hope it does not affect other programs. But when it does I will just remove the .asoundrc
and only add it when I want to start skype.
Thanks!
Sun Sep 30 2007, 10:50 · Reply · Quote and reply · Permalink · Top ·
phdocq
New member
Posts: 1

*


Hello,

Newbie in Linux. I have Kubuntu 7.10 and Skype 1.3.0.53_API. The microphone did work a few weeks ago, but not anymore. I want to try your solution. But where do I place the .asoundrc file?
Fri Oct 5 2007, 09:50 · Reply · Quote and reply · Permalink · Top ·

Claudius
Skype.De
Posts: 4,789

Group Icon


phdocq: Why don't you use the latest 1.4 gold release? http://www.skype.com/go/download


--------------------
Every hitchhiker needs a towel (!):
Skype Kundendienst (DE) // customer support (EN)
Those towels can often be replaced by a search...
Fri Oct 5 2007, 14:19 · Reply · Quote and reply · Permalink · Top ·

berkus
Advanced Member
Posts: 350

Group Icon


QUOTE(Claudius @ Fri Oct 5 2007, 16:19) [snapback]448628[/snapback]

phdocq: Why don't you use the latest 1.4 gold release? http://www.skype.com/go/download


Don't forget to remove .asoundrc file if you run 1.4, it is not generally needed and shall be used only if you have problems with sound.


--------------------
Anachronistic and impulsive.
Fri Oct 5 2007, 17:38 · Reply · Quote and reply · Permalink · Top ·
Jinn
Regular member
Posts: 10

**


Hi. Glad that this has helped others than me.

As recommended above try 1.4 gold. but if you still have problems place the .asoundrc into your home folder.

Hope it helps.

This config file does not change anything for any other apps. All should work just as they did unless you define for your app to use a config specified by the asoundrc. Just as for skype, you have set it to use for example in this case the "asymed" config.

This post has been edited by Jinn: Fri Oct 5 2007, 20:00
Fri Oct 5 2007, 19:56 · Reply · Quote and reply · Permalink · Top ·
Andypoo
Advanced Member
Posts: 843

Group Icon


Many people who have older installs still have lingering /etc/asound.conf and ~/.asoundrc files from when dmix had to be configured manually. The sad part is that when dmix went in ALSA (in 1.0.11), these files actually cause more problems than they were intended to fix.

If you had a pre-1.0.11 asound.conf or .asoundrc file which is only used for dmix, then you can safely delete it.

You only need this file if you have a more advanced sound routing configuration or some special hardware.

Andy.
Sat Oct 6 2007, 09:30 · Reply · Quote and reply · Permalink · Top ·
Goldfisch
New member
Posts: 1

*


@Jinn
Hello, can you please explain for me again where to place the .asoundrc, have I to do something additional?
Tx
Sat Oct 6 2007, 22:35 · Reply · Quote and reply · Permalink · Top ·
Jinn
Regular member
Posts: 10

**


~/.asoundrc means your home folder.. for example for me it would be:
/home/jinn/.asoundrc

Just follow my steps and thats exactly all you need to do..

This post has been edited by Jinn: Mon Oct 8 2007, 15:06
Mon Oct 8 2007, 15:05 · Reply · Quote and reply · Permalink · Top ·
chymian
New member
Posts: 1

*


hi,
the provided patch with the dummy soundcard does not work for me :-(

i'm using skype 1.4.0.118-1,
debian lenny,
alsa 1.0.14-2
pulseaudio 0.9.6-2
using ALSA [1,0] USB-HID device 4 talk & the pulsaudio-dev. for ring and other notifications.

which all works fine for the 1st. call.
after the call is finished, skype tunes the MIC level down & does not restore it to it's previous values on a new call. sometimes it restores to 50%, sometimes to ~5-10%.
so any second and later caller does not here me.
manual workaround is, to call alsamixergui -c 1 and restore MIC volumes to a sane value.
kmix does not do the job at this point...

cheers
chymian

[EDIT]
just after posting this message, i realized the "automatic mixer adjustment", turned it off and everything is fine now.
HINT: to adjust your volumes use alsamixer or alsamixergui. to save them as defaults issue the following cmd as root:
alsactl store


This post has been edited by chymian: Tue Oct 9 2007, 12:47
Tue Oct 9 2007, 12:34 · Reply · Quote and reply · Permalink · Top ·
lazarux77
New member
Posts: 3

*


Hi people. I'm using an intel audio device (82801G, as well), and skype version 2.0.0.13-1 (the latest version). So, since I don't get any sound from my mic on linux using skype (either on Ubuntu Gutsy or Debian Lenny), I tried Jinn's hack, but after selecting "asymed" in 'Option>Sound devices>Sound in' I tried several times to make a sound test but it always returns nothing from what it's supposed to record from the mic. Some relevant info:

lspci gives me this:

CODE
00:1b.0 Audio device: Intel Corporation 82801G (ICH7 Family) High Definition Audio Controller (rev 01)


Also, the card seems to use a sigmatel chipset (STAC9227, to be precise):

CODE
aplay -l
**** Lista de PLAYBACK Dispositivos Hardware ****
tarjeta 0: Intel [HDA Intel], dispositivo 0: STAC92xx Analog [STAC92xx Analog]
  Subdispositivos: 0/1
  Subdispositivo #0: subdevice #0
tarjeta 0: Intel [HDA Intel], dispositivo 1: STAC92xx Digital [STAC92xx Digital]
  Subdispositivos: 1/1
  Subdispositivo #0: subdevice #0


Here's a snapshot of the volume control panel:

http://img519.imageshack.us/img519/387/pan...oldevoluqx6.png

On a side note, I can use the mic with skype on windows with no problems. Oh, and another thing that might be relevant: my PC has two mic input/line output sets; one at the front side and other one at the rear side, but on the Gnome Volume control panel I made sure I was using the mic input of the rear side which is where I have my mic plugged in.

Any other information that might be relevant?

Thanks in advance for your answers :-)
Thu Nov 22 2007, 04:00 · Reply · Quote and reply · Permalink · Top ·
dedo1978pb
New member
Posts: 1

*


try to install kmix:

sudo apt-get install kmix

then run it and enable mic devices (increase the boost level, if necessary) and try again..

wink.png

QUOTE(lazarux77 @ Thu Nov 22 2007, 04:00) [snapback]466710[/snapback]

Hi people. I'm using an intel audio device (82801G, as well), and skype version 2.0.0.13-1 (the latest version). So, since I don't get any sound from my mic on linux using skype (either on Ubuntu Gutsy or Debian Lenny), I tried Jinn's hack, but after selecting "asymed" in 'Option>Sound devices>Sound in' I tried several times to make a sound test but it always returns nothing from what it's supposed to record from the mic. Some relevant info:

lspci gives me this:

CODE
00:1b.0 Audio device: Intel Corporation 82801G (ICH7 Family) High Definition Audio Controller (rev 01)


Also, the card seems to use a sigmatel chipset (STAC9227, to be precise):

CODE
aplay -l
**** Lista de PLAYBACK Dispositivos Hardware ****
tarjeta 0: Intel [HDA Intel], dispositivo 0: STAC92xx Analog [STAC92xx Analog]
  Subdispositivos: 0/1
  Subdispositivo #0: subdevice #0
tarjeta 0: Intel [HDA Intel], dispositivo 1: STAC92xx Digital [STAC92xx Digital]
  Subdispositivos: 1/1
  Subdispositivo #0: subdevice #0


Here's a snapshot of the volume control panel:

http://img519.imageshack.us/img519/387/pan...oldevoluqx6.png

On a side note, I can use the mic with skype on windows with no problems. Oh, and another thing that might be relevant: my PC has two mic input/line output sets; one at the front side and other one at the rear side, but on the Gnome Volume control panel I made sure I was using the mic input of the rear side which is where I have my mic plugged in.

Any other information that might be relevant?

Thanks in advance for your answers :-)

Thu Jan 10 2008, 15:25 · Reply · Quote and reply · Permalink · Top ·
greybeard95a
New member
Posts: 1

*


I have a brand new Dell Inspiron 1545. I needed the .asoundrc given above. I also needed to set sound preferences to point to the digital microphone and to turn capture in volume control all the way up.
Sat Jun 6 2009, 22:33 · Reply · Quote and reply · Permalink · Top ·
 
3 User(s) are reading this topic (3 Guests and 0 Anonymous Users)
0 Members:

Display Mode: Standard · Switch to: Linear+ · Switch to: Outline

Track this topic · Email this topic · Print this topic · Subscribe to this forum

Welcome guest Read a quick guide to using these community forums.

  • My area
  • Sign in
  • Related
  • Search
  • Community guidelines
  • User guides
  • Knowledgebase

Heartbeat Heartbeat See how our products are performing on the Heartbeat blog.

About us · News · Jobs · Prices · Security · Site map
Privacy policy · Legal · © 2009 Skype Limited