webcam integrated microphone problem

Use this forum for questions related to graphics, sound or desktop environments.

webcam integrated microphone problem

Postby Maxtor09 » June 26th, 2012, 1:59 pm

Logitech webcam C170 integrated microphone is not working with Debian 6.0.5
The webcam integrated microphone is working on the same machine with Ubuntu 10.04.4

Debian 6.0.5 / Kernel 2.6.32-5-686 / ALSA 1.0.23 / USB Webcam Logitech C170 /
basic audio :
0 [NVidia]: HDA-Intel - HDA NVidia HDA NVidia at 0xfb100000 irq 23
1 [C170]: USB-Audio - Webcam C170 Webcam C170 at usb-0000:00:02.1-4, high speed

-----
$ arecord -l

gives

card 1: C170 [Webcam C170], device 0: USB Audio [USB Audio]
Subdevices: 1/1
Subdevice #0: subdevice #0

-----
$ arecord hw:1,0 -d 10 /tmp/test-mic.wav
then
$ aplay /tmp/test-mic.wav
gives : no sound

-----

Could configure Skype to hook up the Webcam's microphone, but the sound recorder stopped working because Skype changed some ALSA parameters.

How can I make the Webcam's microphone to the default device for "all" applications. Switching ALSA parameters for each application is a bit boring. Thanks for answers.
Maxtor09
 
Posts: 3
Joined: June 26th, 2012, 1:52 pm

Re: webcam integrated microphone problem

Postby huggybear » June 26th, 2012, 2:07 pm

Not sure, but I think the system is confused as to what mic is default, but you can tell it manually. See the following page, section Troubleshooting...
http://wiki.debian.org/ALSA/
<< I guess that makes them "DEBITARDS" ..... >>
User avatar
huggybear
 
Posts: 1408
Joined: February 9th, 2011, 6:54 pm
Location: Gargantua's cookie jar

Re: webcam integrated microphone problem

Postby Maxtor09 » June 29th, 2012, 3:00 pm

Thank you for your message!
The "ALSA Troubleshooting" describes how to switch sound cards. I need to know how to make my USB microphone (integrated in a webcam) to the default "recording input" device. My microphone is recognized by ALSA as card 1 device 0. But the test "arecord hw:1,0 -d 10 /tmp/test-mic.wav" does not work.
Maybe I will find here something :
http://www.seehuhn.de/pages/alsa
http://doc.ubuntu-fr.org/son_problemes
Maxtor09
 
Posts: 3
Joined: June 26th, 2012, 1:52 pm

Re: webcam integrated microphone problem

Postby huggybear » June 29th, 2012, 3:23 pm

<< I guess that makes them "DEBITARDS" ..... >>
User avatar
huggybear
 
Posts: 1408
Joined: February 9th, 2011, 6:54 pm
Location: Gargantua's cookie jar

Re: webcam integrated microphone problem

Postby notthatguy » June 29th, 2012, 5:05 pm

User avatar
notthatguy
 
Posts: 388
Joined: February 27th, 2011, 4:42 pm

Re: webcam integrated microphone problem

Postby Maxtor09 » June 30th, 2012, 5:42 pm

Thank you huggybear and notthatguy for your answers I used the following workaround.

http://wiki.audacityteam.org/wiki/USB_mic_on_Linux

The following ALSA configuration setting uses the default sound card as playback device (hw:0,0) and sets hw:1,0 (that suppose to be your USB-mic) to become the default capture device.

pcm.!default {
type asym
playback.pcm {
type plug
slave.pcm "hw:0,0"
}
capture.pcm {
type plug
slave.pcm "hw:1,0"
}
}

Editing the "~/.asoundrc" for a specific user
Editing the "/etc/asound.conf" for system-wide settings

Restart ALSA (after editing ): /etc/init.d/alsa-utils restart

done
Maxtor09
 
Posts: 3
Joined: June 26th, 2012, 1:52 pm


Return to Desktop & Multimedia

Who is online

Users browsing this forum: No registered users and 2 guests

x