Re: FC5 picks up my USB Camera not sound

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Friday 15 December 2006 08:10, Hadders wrote:
> dexter wrote:
> > On Fri December 15 2006 03:35, Hadders wrote:
> >> Hadders wrote:
> >>> Hi all,
> >>>  I've got a problem where sometimes FC5 picks up my USB Camera with
> >>> mic and not my Soundcard.
> >>>
> >>> It means I can't play any audio, because alsamixer thinks the sound
> >>> device is the USB camera.
> >>> How do I change that ordering? What info can I provide and from where
> >>> to help with this?
> >>>
> >>> Thanks
> >>
> >> A quick look at lsmod shows (cut down)
> >>
> >> snd_pcm                88005  4
> >> snd_usb_audio,snd_emu10k1,snd_ac97_codec,snd_pcm_oss
> >> snd_hwdep              14149  3 snd_emux_synth,snd_usb_audio,snd_emu10k1
> >> snd                    59973  18
> >> snd_emux_synth,snd_seq_virmidi,snd_usb_audio,snd_emu10k1,
> >>
> >>
> >> I'm thinking snd_pcm is important, but the usb_audio is ahead of the
> >> emu10k1
> >>
> >> Not sure what to do..
> >
> > me thinks you do this in /etc/modprobe.conf
> > alias snd-card-1 snd-emu10k1
> > options snd-card-1 index=1
> > should make it always first card.
> >
> > ...dex
>
> Actually a quick look in there shows.
>
> alias snd-card-0 snd-emu10k1
> options snd-card-0 index=0
> options snd-emu10k1 index=0
> remove snd-emu10k1 { /usr/sbin/alsactl store 0 >/dev/null 2>&1 || : ; };
> /sbin/modprobe -r --ignore-remove snd-emu10k1

That's correct for snd-emu10k1.  You will need to add an alias, and an options 
line in /etc/modprobe.conf if your having problems with snd-usb-audio being 
set as card0. Check this.
cat /proc/asound/cards
You will probably see snd-usb-audio (webcam) set as card0, and snd-emu10k1 
(your actual soundcard) set as card1.

Add the following lines to /etc/modprobe.conf while su'ed to root and with a 
text editor (gedit, kwrite or whichever you prefer).

alias snd-card-1 snd-usb-audio
options snd-card-1 index=1
options snd-usb-audio index=1

Save the changes, and exit the test editor, and the shell.

Reboot, and see it if the cards are loaded in the correct order now,
cat /proc/asound/cards

Strange you're having this problem on FC5. I've got a usb-midi-keyboard that I 
used to have this problem on earlier versions of FC, but I think since FC3 
the problem seemed to be resolved without having to set index options for 
snd-usb-audio, and snd-usb-audio is being set as card1 without any entries 
for it in /etc/modprobe.conf.

Nigel.

-- 
fedora-list mailing list
fedora-list@xxxxxxxxxx
To unsubscribe: https://www.redhat.com/mailman/listinfo/fedora-list
[Index of Archives]     [Older Fedora Users]     [Fedora Announce]     [Fedora Package Announce]     [EPEL Announce]     [Fedora Magazine]     [Fedora News]     [Fedora Summer Coding]     [Fedora Laptop]     [Fedora Cloud]     [Fedora Advisory Board]     [Fedora Education]     [Fedora Security]     [Fedora Scitech]     [Fedora Robotics]     [Fedora Maintainers]     [Fedora Infrastructure]     [Fedora Websites]     [Anaconda Devel]     [Fedora Devel Java]     [Fedora Legacy]     [Fedora Desktop]     [Fedora Fonts]     [ATA RAID]     [Fedora Marketing]     [Fedora Management Tools]     [Fedora Mentors]     [SSH]     [Fedora Package Review]     [Fedora R Devel]     [Fedora PHP Devel]     [Kickstart]     [Fedora Music]     [Fedora Packaging]     [Centos]     [Fedora SELinux]     [Fedora Legal]     [Fedora Kernel]     [Fedora OCaml]     [Coolkey]     [Virtualization Tools]     [ET Management Tools]     [Yum Users]     [Tux]     [Yosemite News]     [Gnome Users]     [KDE Users]     [Fedora Art]     [Fedora Docs]     [Asterisk PBX]     [Fedora Sparc]     [Fedora Universal Network Connector]     [Libvirt Users]     [Fedora ARM]

  Powered by Linux