ALSA not recognizing soundcard when webcam plugged in at boot time

Skype beta now supports video. We purchased some logitech QuickCams to allow them to try out the video. When we plug in the QuickCam after boot, everything works fine. However, if we plug before booting, we lose sound. The problem is with the microphone on the webcam not the webcam driver. snd_usb_audio is loading before the soundcard. I added an index option to snd_usb_audio and voila it works fine after a reboot. Here is my modprobe.conf before and after:
Before: alias snd-card-0 snd-hda-intel options snd-card-0 index=0 options snd-hda-intel index=0 remove snd-hda-intel { /usr/sbin/alsactl store 0 >/dev/null 2>&1 || : ; }; /sbin/modprobe -r --ignore-remove snd-hda-intel
After: alias snd-card-0 snd-hda-intel alias snd-card-1 snd_usb_audio options snd-card-0 index=0 options snd-hda-intel index=0 options snd-card-1 index=1 options snd_usb_audio index=1 remove snd-hda-intel { /usr/sbin/alsactl store 0 >/dev/null 2>&1 || : ; }; /sbin/modprobe -r --ignore-remove snd-hda-intel One odd thing I noticed is that the file on disk is called snd-hda-intel.ko, but lsmod shows the module name as snd_hda_intel. Curious, it doesn't seem to matter whether I use underscores or dashes in modprobe.conf either. Someone probably knows why... Here is my src rpm for the gspca driver for the webcam also... gspca-kmod-1.00.20-0.1.2.6.18_53.1.13.el5.src.rpm

Comments

Add new comment

CAPTCHA
This question is for testing whether or not you are a human visitor and to prevent automated spam submissions.

About the Author...

Slides from LISA 2019 Linux systems troubleshooting #LISA2019 https://t.co/D4dMKflK6R Tue Oct 29 05:59:30 +0000 2019

https://t.co/AGeihMALAv configuring grub2 with EFI Fri Sep 13 05:20:01 +0000 2019

I published a Thing on @thingiverse! https://t.co/IYpRyEb7Hz #thingalert Tue Jul 23 19:27:57 +0000 2019

Nokogiri install on MacOSX https://t.co/v3An0miW9L Fri Jul 12 15:06:49 +0000 2019

HTML email with plain mailer plugin on Jenkins https://t.co/Z6FSDMDjy8 Thu Jul 11 21:07:25 +0000 2019