View previous topic :: View next topic |
Author |
Message |
EasterParade l33t
Joined: 26 Jul 2003 Posts: 938
|
Posted: Fri Jan 13, 2012 4:33 pm Post subject: Nvidia HDA grabs usb-audio[SOLVED] |
|
|
Configured gentoo-sources 3.2.0-r1, from scratch
==> no copying over of old config.
Thought I give the built in audio of my 460 GTX another try
especially because I have edited alsa.conf to set usb-audio
of webcam as card 1 ( card 0 is x-fi).
Booting up showed nvidia HDA instead of usb-audio and NO
usb-audio.
I know it gets switched around a lot but could I prevent this
from happening by defining a third audio card being nvidia hda
and getting usb-audio back?
Or should I remove Intel HDA from kernel like I had before?
My alsa.conf
Code: | # Alsa kernel modules' configuration file.
# ALSA portion
alias char-major-116 snd
# OSS/Free portion
alias char-major-14 soundcore
##
## IMPORTANT:
## You need to customise this section for your specific sound card(s)
## and then run `update-modules' command.
## Read alsa-driver's INSTALL file in /usr/share/doc for more info.
##
## ALSA portion
alias snd-card-0 snd-ctxfi
alias snd-card-1 snd-usb-audio
options snd-ctxfi index=0
options snd-usb-audio index=1
## OSS/Free portion
alias sound-slot-0 snd-card-0
alias sound-slot-1 snd-card-1
##
# OSS/Free portion - card #1
alias sound-service-0-0 snd-mixer-oss
alias sound-service-0-1 snd-seq-oss
alias sound-service-0-3 snd-pcm-oss
alias sound-service-0-8 snd-seq-oss
alias sound-service-0-12 snd-pcm-oss
## OSS/Free portion - card #2
alias sound-service-1-0 snd-mixer-oss
alias sound-service-1-3 snd-pcm-oss
alias sound-service-1-12 snd-pcm-oss
## OSS/Free portion - card #3
## alias sound-service-1-0 snd-mixer-oss
## alias sound-service-1-3 snd-pcm-oss
## alias sound-service-1-12 snd-pcm-oss
alias /dev/mixer snd-mixer-oss
alias /dev/dsp snd-pcm-oss
alias /dev/midi snd-seq-oss
# Set this to the correct number of cards.
options snd cards_limit=2
|
Last edited by EasterParade on Fri Jan 13, 2012 6:45 pm; edited 1 time in total |
|
Back to top |
|
|
VoidMage Watchman
Joined: 14 Oct 2006 Posts: 6196
|
Posted: Fri Jan 13, 2012 5:19 pm Post subject: |
|
|
Perhaps you should try 'slots=' syntax, instead of 'index=' ? |
|
Back to top |
|
|
EasterParade l33t
Joined: 26 Jul 2003 Posts: 938
|
Posted: Fri Jan 13, 2012 6:30 pm Post subject: |
|
|
Yep, looks better now, thx. All that´s left is the question why I cannot pick a audio capture device on vlc if I want to test the webcam there - vlc being my preferred testing program for this or skype.
Up til now I could pick hw:0.0 for usb-audio as the webcam mic.
Vlc can be compiled with libv4l2 or libv4l USE-flags. Until now I believed libv4l2 was the correct flag for this quite new webcam. Am I wrong now? Does vlc need the v4l USE-flag too?
And in Skype i could choose the above device from a drop-down menu for mic.
EDIT:
Just answered that myself: vlc DOES need flag v4l additionally, plus libv4l2. All done |
|
Back to top |
|
|
|