ALSA: Sound not working when webcam is plugged in. [Solved]

I'm using the out-of-the-box sound setup (ALSA, nothing else). My sound card setup (including the USB webcam with mike):
mrkline $ cat /proc/asound/cards
0 [VX5000 ]: USB-Audio - Microsoft LifeCam VX-5000
Microsoft Microsoft LifeCam VX-5000 at usb-0000:00:1d.7-2, high speed
1 [Intel ]: HDA-Intel - HDA Intel
HDA Intel at 0xfdff4000 irq 42
I'm aware of what the wiki says on the issue, and tried it to no avail. I created /etc/asound.conf and gave it the following contents, but as you can see from /proc/asound/cards, the webcam still initializes first sometimes.
ctl.dmixer {
type hw
card Intel
What additional steps can I take?
Last edited by slavik262 (2012-11-12 23:36:45)

Update: As mentioned above, the current wiki contents were useless. However, I discovered a fix and will be adding it to the wiki:
I noticed several of the more hands-off repos (namely Linux Mint and Ubuntu) contain an ALSA config file at /etc/modprobe.d/alsa-base.conf. In it, among other things, are lines that ensure USB cards are not selected as the first sound card. Creating a file at /etc/modprobe.d/alsa-base.conf with the following contents fixed the problem:
options bt87x index=-2
options cx88_alsa index=-2
options saa7134-alsa index=-2
options snd-atiixp-modem index=-2
options snd-intel8x0m index=-2
options snd-via82xx-modem index=-2
options snd-usb-audio index=-2
options snd-usb-caiaq index=-2
options snd-usb-ua101 index=-2
options snd-usb-us122l index=-2
options snd-usb-usx2y index=-2
# Keep snd-pcsp from being loaded as first soundcard
options snd-pcsp index=-2
# Keep snd-usb-audio from beeing loaded as first soundcard
options snd-usb-audio index=-2

Similar Messages

  • Browser sound not working when webcam is connected

    Hi,
    The other day I got a USB logitech webcam and I was able to get it working on my arch Linux. However, I'm having problems with the sound. When I plug in my webcam to my computer, there won't be any problem if my computer was already running, but if I plug in my USB webcam before starting my computer, the sound for browsers won't work at all. I thought it was Flash related issue, but I noticed that Chromium cannot play html5 videos, either. On the other hand, Amarok and other applications have no problem with the sound.
    My other issue is with the volume manager. My keyboard has a button for adjusting the volume, but if my webcam is connected, it won't be able to adjust the volume for my speakers. When I try to use this button, the picture for volume adjustment shows up with an empty bar.
    I think there's a conflict between my PCI sound card and the microphone of my USB webcam. Any idea how to resolve this issue?
    Thanks

    It's not the browser issue. It's an issue with the order of the cards.
    Sometimes The webcam goes as HW0 and the system try to use that rather than your sound card.
    Quickest fix:
    Edit /etc/modprobe.d/sound.conf
    Add:
    alias snd-card-0 snd-whatso-ever
    alias sound-slot-0 snd-whatso-ever
    Where snd-whatso-ever is your... sound card.
    To find it use:
    ls -l /sys/module/snd/holders
    Farther reading:
    http://wiki.archlinux.org/index.php/Als … sound_card

  • Touch ID in my iPhone six does not work when it's plugged  into the wall is anybody else having this problem?

    i've noticed a touch ID only works with my iPhone six is not plugged into the wall was soon as I plug it in it doesn't work anymore doesn't even register fingerprint.

    Charger60 wrote:
    i
    Touch ID in my iPhone six does not work when it's plugged  into the wall is anybody else having this problem?
    No. You are the only one. The way I know is that I don't have the problem, therefore no one else can have it.
    Seriously, no matter what problem you have, with a half billion iPhones in use, someone else will have the same or similar problem. So knowing that doesn't help solve it in the slightest. As it's new and still in warranty I would take it to an Apple store. Make a genius bar appointment first so you won't have a long wait.

  • I inherited an 2003 ipod from my daughter. The controls will not work when it is plugged into a power source. Can anyone help?

    I inherited a 2003 ipod from my daughter. The controls will not work when it is plugged into a power source. Can anyone help?

    But they work normally when not plugged in?  What kind of power source are you plugging it into? It maybe outputting more than what the iPod can handle.  I had this happen to an iPod I plugged into a powerstrip that was plugged into the cigarette lighter in a vehicle an experienced the same thing.
    B-rock

  • Sound not working when watching movies from MacBook Pro 15'' in full screen

    after a recent iTunes upgrade the sound will not work when I watch a movie or anything else in iTunes on my Thunderbold Display. I have the 15'' retina MacBook Pro connected to the display and it used to work flawlesly. has anyone had the same problem?

    When I upgraded the volume control in iTunes (at the top) defaulted to off (all the way left) so no sound.  I just slid the slider all the way to the right.  Also be sure display audio is set in the preferences, sound menu

  • ALSA sound not working. "-2 file not found"?

    I recently upgraded my system, changed some hardware and other things and now have figured out my sound is broken. Here is what I get:
    [earlz@EarlzAlpha spotify]$ speaker-test
    speaker-test 1.0.27.2
    Playback device is default
    Stream parameters are 48000Hz, S16_LE, 1 channels
    Using 16 octaves of pink noise
    ALSA lib pcm_dmix.c:1022:(snd_pcm_dmix_open) unable to open slave
    Playback open error: -2,No such file or directory
    [earlz@EarlzAlpha spotify]$ sudo alsa_in
    connect(2) call to /dev/shm/jack-0/default/jack_0 failed (err=No such file or directory)
    jackd 0.124.1
    Copyright 2001-2009 Paul Davis, Stephane Letz, Jack O'Quinn, Torben Hohn and others.
    jackd comes with ABSOLUTELY NO WARRANTY
    This is free software, and you are welcome to redistribute it
    under certain conditions; see the file COPYING for details
    could not open driver .so '/usr/lib/jack/jack_firewire.so': libffado.so.2: cannot open shared object file: No such file or directory
    JACK compiled with System V SHM support.
    loading driver ..
    creating alsa driver ... hw:0|hw:0|1024|2|48000|0|0|nomon|swmeter|-|32bit
    ALSA: Cannot open PCM device alsa_pcm for playback. Falling back to capture-only mode
    cannot load driver module alsa
    connect(2) call to /dev/shm/jack-0/default/jack_0 failed (err=No such file or directory)
    connect(2) call to /dev/shm/jack-0/default/jack_0 failed (err=No such file or directory)
    I do not have anything in /etc/asound.conf or ~/.alsa. And all of my packages are up to date. alsamixer shows my sound cards. I see this in alsamixer:
    │ │ │ │ │▒▒│ │▒▒│ │▒▒│ │▒▒│ │ │ │ │ │
    │ │ │ ┌────────────────── /proc/asound/cards ───────────────────┐ │
    < │ │ │ 0 [HDMI ]: HDA-Intel - HDA Intel HDMI │ >
    < │ │ │ HDA Intel HDMI at 0xd0914000 irq 45│ >
    < │ │ │ 1 [PCH ]: HDA-Intel - HDA Intel PCH │ >
    < │ │ │ HDA Intel PCH at 0xd0910000 irq 46 │ >
    < │ │ │ 2 [HDMI_1 ]: HDA-Intel - HDA ATI HDMI │ >
    < │ │ │ HDA ATI HDMI at 0xd0060000 irq 47 │ >
    < │ │ └─────────────────────────────────────────────────────────┘
    I'm aiming to use the plain analog 3.5mm audio jack on my motherboard, not the HDMI support

     Do you still experience the problem? If so, read this thread. In your case, I am guessing upon your alsamixer "screenshot", modprobe options should be set to:
    options snd-hda-intel index=1,0,2
     If that does not work, provide 'lspci -vvnn | grep -A 1 ''040[1-3]'.
     Should you consider this issue solved, then please mark the thread as such.

  • Movie sound not working when in full screen

    So when I go to watch a movie in full screen the sound stops working. Maybe it's the new itunes update?

    Good that you solved your problem. There will probably be other users that need to solve the same problem and your solution might help many others. The support here comes from users helping other users.

  • Volume control not working when speakers/headphones plugged in.

    When my external speakers or headphones are plugged into the back of my iMac, the volume control won't work. A "no sound" icon appears and the volume slider will not move. When I unplug speakers or headphones everything goes back to normal. All updates are current. My "Audio MIDI Setup" says, "Audio Output....Output Not Supported." Repairing disc permissions was run too. Any ideas?

    Hi Paul
    *First off:*
    Open System Preferences > Sound and select the Output tab. Now plug in your external speakers or headphones, do you see the Device Name change from Internal Speakers to Headphones?
    *If nothing:*
    Then try another Account, preferably your Admin. Account if your logged into another.
    *Still nothing:*
    Check the settings in other third party Audio programs you may have installed?
    *If still nothing:*
    Reset the SMC > http://support.apple.com/kb/HT3964
    +(as per the instructions at the bottom of the article)+
    and
    Zap the Pram > http://support.apple.com/kb/HT1379
    *Then if you still get nothing:*
    Take it in for service and have it checked for a hardware problem.
    Dennis

  • Sounds not working when playing youtube

    hi guys can anyone help me out? there is no sounds coming out from my imac pro when im playing video or muci in you tube, however; it works with my itunes...any help pls..

    Open System Preferences > Flash Player then select the Advanced tab.
    Click Delete All under Browsing Data and Settings
    Assuming  you are using Safari to view YouTube content...
    Press Command + Option + E to empty the Safari cache.
    Quit and relaunch Safari, try a video.
    If that doesn't help, you may have the YouTube  HTML5 beta enabled.
    Opt out here >  YouTube

  • Sound not working when I go to you tube

    When I go to You Tube the sound control is red. Does anybody know why?
    Here is a picture.
    http://www.imageno.com/4kaefark8e3hpic.html
    Does anybody know how to fix this?
    Thanks.

    andyBall_uk wrote:
    perhaps flash thinks your speakers are unavailable to it.
    If a new account works normally, trash the Flash settings at Home/Library/Preferences/Macromedia/, quit any browsers & try again.
    Brilliant that did it!

  • Sounds not working when a message is received, despite it being turned on?

    Despite all the proper settings on my iPad, when I receive a message there is no Sound received. This occurred right after I upgraded to iOS 6.

    I have this same problem after updating to iOS 6.  Plus my smart cover no longer clicks when closing. Anyone heard about solutions for these 'update' issues?

  • My iphone text tone is not working when I plug in the earphone.

    Hi,
    My iphone text tone is not working when I plug in the earphone.
    My earphone is always plug into the iphone as I use it to answer calls. I notice that iphone does not alert me (sound) when there is a new messages. Instead the text sound is transfer to the earphone speaker.
    As the earphone is plug into the iphone and I am not putting it on always, I need it to still hear the text tone whenever I received new messages.
    Anyone pls help.. the problem still there even I updated..

    goh steven wrote:
    hi wjosten
    I don't put the iphone in my front pocket. I put in my bag pack so vibration is not useful to me. Pls help
    The iPhone is working exactly as it is designed.
    Your options are:
    1) Unplug the headset.
    2) Leave the headset plugged in and the earpiece in your ear at all times.
    3) Turn on vibrate and put the phone in your pocket.
    4) Leave feedback for Apple and hope they deem it worthy of their time to fix.
    This is a user to user forum, these are the only solutions we can offer you here.

  • HEADPHONES do not work when plugged in - iMac Intel

    So I reinstalled the operating system a few months back. After completing this my headphones do not work when plugged in. I do have them plugged into the correct jack. When i plug them in the built-in speakers go silent for a second or two as if the headphones are working but then the speakers kick back in with no sound in the headphones.
    The headphones worked just prior to reinstall so I'm not sure its the jack itself but something in the operating system.
    I have also checked in System Preferences 'Sound' and when they are plugged in, they do not show in the devices window.
    What the heck is going on? I've read in other forums that this seems to be something of a typical problem but have not found a solution to the problem.
    thanks in advance for your help.
    Message was edited by: ikuchyacokov

    Welcome to the discussions.
    Mate, it sounds more like a system glitch than a hardware issue. I too have been experiences some 'funky' issues. However, they have all been fixed by running Onyx disc maintenance software. Install Onyx and run 'automation'. You can cancel the disc checking operations on start up and ignore the back up disclaimer. Give it a go and post back with the results.
    Onyx - http://www.titanium.free.fr/download.php?sid=6d79ad9269e8f01484b51a1056277186
    Make sure you get the right version for your OS.

  • My iPad 2 charger is not working when plugged to a wall..but when plugged to a computer...it says unknown device...what's happening and how do I fix this problem?!

    My iPad 2 charger is not working when plugged to a wall..but when plugged to a computer...it says unknown device...what's happening and how do I fix this problem?!

    Have you recharge your iPod for at least 2 hours, preferably till the Full charge Battery symbol comes ON.?
    See this Apple support Article
    http://www.apple.com/support/ipod/five_rs/classic/
    You did not by chance bought the Hello Kitty special edition?
    Have nice day!

  • My speakers are not working when I try to play music or when I get notifications buh when I go to sound and increase and decrease sound it works HELP

    My speakers are not working when I try to play music or when I get notifications buh when I go to sound and increase and decrease sound it works HELP

    Clean iPhone charging port with a clean dry toothbrush. The iPhone port has a short, and falsely senses it is in a dock device.

Maybe you are looking for