LinuxQuestions.org
Visit the LQ Articles and Editorials section
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Software
User Name
Password
Linux - Software This forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.

Notices

Reply
 
Search this Thread
Old 03-04-2013, 10:05 PM   #1
micemicerabies
LQ Newbie
 
Registered: Apr 2010
Posts: 8

Rep: Reputation: 0
Question Alsa config for c310 usb webcam and nvidia GeForce 210 hdmi audio


Debian Squeeze 3.2.0-0.bpo.2-amd64
alsa-utils 1.0.23-3

My goal is to get gtalk to register my webcam, so I can use the built in microphone.

Currently I have 3 sound cards, the on board sound, Nvidia 210, and the mic on my c310 webcam. They are registered

0: on board sound
1: nvidia hdmi audio
-- 7 is the device number that works for HDMI audio
2: c310 USB webcam microphone [ 046d:081b ]
-- 0 appears to be the capture device

I have set my /etc/asound.conf to
Code:
        defaults.pcm.card 1
        defaults.pcm.device 7
        defaults.ctl.card 1
This sets my nvidia card as the default device.

Which gives me proper playback on all applications over nvidia HDMI. This worked perfect until I added my webcam. The webcam registers on the gtalk settings page, the microphone only appears as a list of speakers. So i have started looking for a way to configure my /etc/asound.conf or ~/.asoundrc so that the webcam Microphone is set as the default input device. I found the following config via the arch wiki.

Code:
pcm.usb
{
    type hw
    card U0x46d0x81b
}
pcm.!default
{
    type asym
    playback.pcm
    {
        type plug
        slave.pcm "dmix"
    }
    capture.pcm
    {
        type plug
        slave.pcm "usb"
    }
}

When this is set via my .asoundrc the webcam microphone works, but other things break. This causes all the other applications to no longer be controlled by my default pcm volume control (except for mpd which adjusts fine).

I cannot set the volume for Flash, Mplayer or xbmc with any of the other mixer controls I have available. I have tried adjusting everything inside alsamixer, but no luck. I understand that ~/.asoundrc overrides the /etc/asound.conf. I cannot seem to solve how to incorporate both configs to achieve the goal of having one mixer control for system wide volume adjustment.


Thanks!
 
Old 03-31-2013, 12:13 AM   #2
Ztcoracat
Senior Member
 
Registered: Dec 2011
Distribution: Slackware, CentOS & Android
Posts: 3,045
Blog Entries: 1

Rep: Reputation: Disabled
Quote:
I cannot seem to solve how to incorporate both configs to achieve the goal of having one mixer control for system wide volume adjustment.
Seems really complex and I regret that I can't help you with this.

Other members here most likely know a way around to achieve the goal here that your trying to accomplish.

Your running Debian 3.2.0? Debian 6.0.7 is the current stable release.

http://mpd.wikia.com/wiki/Configuration

Last edited by Ztcoracat; 03-31-2013 at 12:17 AM.
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
nVidia HDMI Audio sherb114 Linux - Hardware 8 04-06-2012 06:42 AM
nVidia HDMI Audio Doesn't Work scott12087 Linux - Hardware 19 03-09-2011 04:43 PM
alsa problems multiple cards intel-nvidia hdmi eskuai Linux - General 0 01-29-2011 12:05 PM
NVIDIA GeForce 8200 using HDMI connection to TV RLH1919 Linux - Hardware 2 04-13-2009 04:08 PM
D-LINK DSB-C310 Webcam HellSpawn Linux - Hardware 2 06-26-2005 06:11 PM


All times are GMT -5. The time now is 06:38 AM.

Main Menu
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration