Opensuse 12.1: no mic input in skype

Hi,

It seems that multiple people have some problems with mic input in skype in Opensuse 12.1. And unfortunately, I am one of those poor souls :smiley:
Anyways, after reading multiple post, I still cannot solve my sound issues. The symptoms are the following:
1- My logitech notebook deluxe webcam is my mic
2- In skype, all audio settings point to Audiopulse
3- I can hear the Skype lady when doing a call test but she cannot hear me
4- While running skype, Audiopulse shows the following:
a- the Recording tab shows nothing (selection in Show: Applications)
b- the Input Devices tab shows 2 items: Internal Audio Analog Stereo and Notebook Deluxe Analog mono (Show: All Except Monitors). The input bar in the Notebook Deluxe Analog mono item moves left or right when I talk.
5- in skype, the video test also works

Any suggestion will be greatly appreciated.

Sebastien

Iā€™m one of the fortunate souls who have Skype working in 12.1 on 2 different PCs with no problems: My desktop with a USB wecam (logitec C910) mic and my Dell Studio 1537 laptopā€™s integrated mic.

My having no problems also means I do not know why this does not work for others. It simply works for me.

I recommend you install the application pulse audio volume control (pavucontrol). The idea with this app is to run it once the 1st time (at the same time) one runs an application and use it to tune pulse audio for that specific application. Pulse then records the settings and each time one runs the application again, pulse will apply the past settings.

Run pavucontrol at the same time as you are using the Skype testing services. Pay attention to the Configuration Tab in pavucontrol (ensuring you make the correct selection), and pay attention to the Input Devices Tab (set SHOW to all input devices and ensure your mic is NOT muted) and pay attention to the Recording Tab (set SHOW to ā€˜all streamsā€™) and select the correct input device.

Are you able to record from your webcam mic outside of Skype ? On my desktop PC (with a Logitec Webcam) if I type ā€˜arecord -lā€™ (thats a lower case ā€˜Lā€™) I get:


**** List of CAPTURE Hardware Devices ****
card 0: Intel [HDA Intel], device 0: AD198x Analog [AD198x Analog]
  Subdevices: 3/3
  Subdevice #0: subdevice #0
  Subdevice #1: subdevice #1
  Subdevice #2: subdevice #2
**card 1**: U0x46d0x821 **USB Device 0x46d:0x821**], **device 0**: USB Audio [USB Audio]
  Subdevices: 1/1
  Subdevice #0: subdevice #0

from which one can see that my Webam mic is device hw:1,0

That is useful in testing the record function, as I can record from a terminal with the command:


arecord -vv -f S16_LE -c 2 -D hw:1,0 new.wav

where I use 2 channels ( -c 2 ) and some users may need to use one channel ( -c 1 ) and I also assume the format ā€˜S16_LEā€™ . The recording is saved to the file ā€˜new.wavā€™ and I stop the recording by pressing and I play back with:


aplay new.wav

Note arecord bypasses pulse so you are not likely to see it in pavucontrol.

Hi,

Thanks for your reply. I did not intend to criticize opensuse in any way. I think it is a great distributionā€¦ just that I was one of the unlucky fewā€¦

Anyways, I greatly appreciate your help. I believe this is a procedure that you have suggested in other posts. I had pavucontrol already installed but I mistyped my point #4. Following your suggestions, I carefully watch the content of the recording tab when making the test call. The tab actually shows Skype only when making the call. However, the default input was from my Internal Audio Analog and not from my webcam. After making the change, the Skype Lady can hear me :D. Furthermore, the switch of input is kept even after reboot! Great

Just for record, the arecord test worked just fine. I could hear me when playing back new.wav.

Thanks a bunch for your help

Great news ! Glad to read its working now.

I have tried all the above and it all worked .I can record as detailed above.

I can see my voice input on the pulse volume monitor but still no Skype mic sound
the whole setup just worked in 11.4 out of the box . I have video working .

Pulse appears to working and I am using the 2.2 version of Skype .I have applied an alsa 32 bit rpm suggested in another thread

The box is 64 bit and the web cam is a logitek Bus 002 Device 004: ID 046d:081b Logitech, Inc. Webcam C310

As the whole setup was working in 11.4 two weeks ago I donā€™t think the issue is a hardware problem

Any ideas ??

A silly question, but have you ensured it is not muted in the input tab, and that the correct device selected in the recording tab (in pavucontrol) ?

I can see the output of the USB mike in the pulse volume control but there is nothing at all in the record tab and I cant see how to add something in the GUI anyway

Now I have dumped pulse from my machine and I have an almost working skype setup .Judging by the sound the sample rate in alsa is wrong where does one set it ?

I have same problem. None solution doesā€™t work of forums.I think that is kernel bug. I use alsa, mic noise is. Iā€™m not happy with 12.1

Welcome tp openSUSE forums. What precisely have you attempted to solve this problem? What desktop are you using? What audio hardware are you using? Is this an internal or an external mic? What is your Linux experience level?

I have this working with pulse on a logitech C910 usb web cam. It just works. To help I would need to see audio hardware and software settings. Removing pulse is not the sort of setup that I will help on. Good luck with your efforts.

Hi. I use Linux distro 8 years, previous mandriva, opensuse 2 years, 64 bit. I use KDE 4.7.3. My hardware:

**** List of CAPTURE Hardware Devices ****
card 0: Intel [HDA Intel], device 0: ALC663 Analog [ALC663 Analog]
  Subdevices: 1/1
  Subdevice #0: subdevice #0

laptop asus N71V
bug is an internal and external mic!!

What precisely have you attempted to solve this problem?

all
pulseaudio, alsamixer, fixing in modprobe.d - sound. conf, arecord, etc.
mic not working!
But 11.4 works, no noise.

I took a look at linlap for this laptop, and its too new for linlap to have any entries: Asus N71Vn [LinLap - Linux Laptop Wiki]

I found no entries in tux mobile nor in Linux on laptop for your Asus. Ergo you need to hope that a configuration for a different laptop with similar hardware works on your hardware ā€¦

Ok ā€¦ a couple of points ā€¦ ā€¦

I assume you know this is not the place to raise a bug report (and you were just using the term ā€˜bugā€™ to reference the problem). I can provide you guidance wrt raising a bug report if you wish.

Reference fixing in fixing in ā€œmodprobe.d - sound. confā€ ā€¦ there is no sound.conf. That was removed a long time ago. Its now called 50-sound.conf and your reply makes me wonder just what you tested there ?

Further to that, the option codes for the ALC663 are:


ALC662/663/272
==============
  3stack-dig	3-stack (2-channel) with SPDIF
  3stack-6ch	 3-stack (6-channel)
  3stack-6ch-dig 3-stack (6-channel) with SPDIF
  6stack-dig	 6-stack with SPDIF
  lenovo-101e	 Lenovo laptop
  eeepc-p701	ASUS Eeepc P701
  eeepc-ep20	ASUS Eeepc EP20
  ecs		ECS/Foxconn mobo
  m51va		ASUS M51VA
  g71v		ASUS G71V
  h13		ASUS H13
  g50v		ASUS G50V
  asus-mode1	ASUS
  asus-mode2	ASUS
  asus-mode3	ASUS
  asus-mode4	ASUS
  asus-mode5	ASUS
  asus-mode6	ASUS
  asus-mode7	ASUS
  asus-mode8	ASUS
  dell		Dell with ALC272
  dell-zm1	Dell ZM1 with ALC272
  samsung-nc10	Samsung NC10 mini notebook
  auto		auto-config reading BIOS (default)

which of those did you test, and what syntax did you use, and after applying each option (one at a time) what did you do to restart alsa and test? What test ?

You note ā€˜no noiseā€™ ? Does that mean sound works but no mic recording ? Or is the problem bigger.

You note ā€˜arecordā€™ ā€¦ exactly what ā€˜arecordā€™ lines did you try ? What error (if any) did arecord give ? I find arecord is very good at providing an error indication.

I assume you tried something like:


arecord -vv -f S16_LE -c 2 -D hw:0,0 new.wav

where I am assuming 2 channel ( -c 2 ) but its possible one channel ( -c 1 ) is superior for your hardware (I donā€™t know your hardware).

Did you try the application ā€˜pavucontrolā€™ ? That needs to be installed and then run at the same time as one is trying to record sound, and then it has to be tuned. It does NOT work with arecord which tends to bypass pulse audio.

What is the output website/address URL (linking to your PC hardware/audio configuration) provided by running the diagnostic script :


/usr/sbin/alsa-info.sh

selecting the SHARE/UPLOAD option ? Do NOT post the script generated content here. Only post the website/URL.

Also, what is the output of sending the commands:


rpm -qa '*alsa*'
rpm -qa '*pulse*'
rpm -q libasound2

I have re-installed pulse and can get sound working from both pulse and alsa ,it just sounds like a 33rpm record played at 78rpm .I tried setting the default pulse sample rate to 48k
Also as the camera is mono set the channel to 1

see /etc/pulse/daemon.conf below

; default-sample-format = s16le
default-sample-rate = 48000
default-sample-channels = 1
; default-channel-map = front-left,front-right

In short sound works but it is being sampled at the wrong rate . If I follow your method as above the sound is just fine.

Any ideas suggestions would be greatly appreciated

Have you checked out the possibilities in this arch linux guide: PulseAudio - ArchWiki

wrt your sampling rate change, did you restart afterward to test ?

Success ,The method you described did indeed fix the sound ,the chipmunk effect is another issue entirely with the logitek 310 web-cam

See Ubuntu bug 843431 , a temporary fix to that problem is to set the default sample rate to 16000 in .profile.conf

Thank you for your invaluable assistance.

PS to my last post from the Ubuntu bug list (Bug #843431 )

Santiagoā€™s fix (#80) made skype work for me but broke gmail voice functions and Audacity (for me). As they are more important to me than Skype I tried Tuomoā€™s (#87) and it worked not only with the test, but with an actual call. I guess starting the camera before the call made it work.

In short it may fix Skype nut it breaks other things

My asus n71v worked fine with 11.3 and 11.4 (all 64 bit)

Further to that, the option codes for the ALC663 are:

Code:
ALC662/663/272

3stack-dig 3-stack (2-channel) with SPDIF
3stack-6ch 3-stack (6-channel)
3stack-6ch-dig 3-stack (6-channel) with SPDIF
6stack-dig 6-stack with SPDIF
lenovo-101e Lenovo laptop
eeepc-p701 ASUS Eeepc P701
eeepc-ep20 ASUS Eeepc EP20
ecs ECS/Foxconn mobo
m51va ASUS M51VA
g71v ASUS G71V
h13 ASUS H13
g50v ASUS G50V
asus-mode1 ASUS
asus-mode2 ASUS
asus-mode3 ASUS
asus-mode4 ASUS
asus-mode5 ASUS
asus-mode6 ASUS
asus-mode7 ASUS
asus-mode8 ASUS
dell Dell with ALC272
dell-zm1 Dell ZM1 with ALC272
samsung-nc10 Samsung NC10 mini notebook
auto auto-config reading BIOS (default)
which of those did you test, and what syntax did you use, and after applying each option (one at a time) what did you do to restart alsa and test? What test ?

I know. I tested everything. didā€™t improve matters. Now my 50-sound.conf:

options snd-hda-intel model=g71v
options snd slots=snd-hda-intel
# u1Nb.jUWGKCcBVVB:8280II (ICH9 Family) HD Audio Controller
alias snd-card-0 snd-hda-intel

and
yast->security and users->grups and users
I have sets + ā€œaudioā€
Now mic works, but with noises.

I assume you tried something like:
Code:
arecord -vv -f S16_LE -c 2 -D hw:0,0 new.wav
where I am assuming 2 channel ( -c 2 ) but its possible one channel ( -c 1 ) is superior for your hardware (I donā€™t know your hardware).

Did you try the application ā€˜pavucontrolā€™ ? That needs to be installed and then run at the same time as one is trying to record sound, and then it has to be tuned. It does NOT work with arecord which tends to bypass pulse audio.

Yes, I tested it. Everything with noises or no mic.

Also, what is the output of sending the commands:
Code:
rpm -qa ā€˜alsaā€™
rpm -qa ā€˜pulseā€™
rpm -q libasound2

rpm -qa '*alsa*'
alsa-plugins-pulse-1.0.24-18.1.2.x86_64
alsa-oss-32bit-1.0.17-37.1.2.x86_64
alsa-1.0.24.1-23.1.2.x86_64
alsa-oss-1.0.17-37.1.2.x86_64
alsa-utils-1.0.24.2-12.8.1.x86_64
alsa-plugins-32bit-1.0.24-18.1.2.x86_64
alsa-plugins-1.0.24-18.1.2.x86_64
alsa-firmware-1.0.24.1-7.1.1.noarch
alsa-plugins-pulse-32bit-1.0.24-18.1.2.x86_64

rpm -qa '*pulse*'
pulseaudio-module-zeroconf-1.1-1.2.x86_64
alsa-plugins-pulse-1.0.24-18.1.2.x86_64
pulseaudio-module-x11-1.1-1.2.x86_64
pulseaudio-1.1-1.2.x86_64
pulseaudio-esound-compat-1.1-1.2.x86_64
pulseaudio-module-lirc-1.1-1.2.x86_64
pulseaudio-module-jack-1.1-1.2.x86_64
pulseaudio-utils-1.1-1.2.x86_64
libpulse-mainloop-glib0-1.1-1.2.x86_64
libpulse0-1.1-1.2.x86_64
libxine1-pulse-1.1.20-59.3.x86_64
alsa-plugins-pulse-32bit-1.0.24-18.1.2.x86_64
libpulse0-32bit-1.1-1.2.x86_64
pulseaudio-module-bluetooth-1.1-1.2.x86_64

rpm -q libasound2
libasound2-1.0.24.1-23.1.2.x86_64

Iā€™m surprised that with 11.4 everything worked, even with kernel 3.0.1

mtww,if applying a model option did not help, why do you have the option ā€˜g71vā€™ applied?

Because mic works, though of bigers noises.
I thing - kernel in 12.1 is bad or rpm packages responsible for multimedia are bad.
Problem affects many people on this forum and others forums.