[PlanetCCRMA] sound issue with webcam
Tom Poe
tompoe at fngi.net
Tue Feb 19 14:48:02 PST 2008
Nigel Henry wrote:
> On Tuesday 19 February 2008 17:57, Tom Poe wrote:
>
>> I'm running FC8, with planetccrma, and have logitech Pro 9000 webcam. I
>> can record video, but audio is not working. I tracked the issue this far:
>> "The webcam audio interface must be initialised before the video
>> interface. Linux will by default initialise the video interface first,
>> so you need to remove the uvcvideo.ko module from the /lib/modules
>> subdirectory where it gets loaded automatically, and load it manually
>> after plugging the webcam."
>>
>> Can anyone help me translate this quote into specific steps with
>> commands? I learn best with really big crayolas. :)
>>
>
> Hi Tom. I think you'll need the big crayolas. According to the quote above the
> uvcvideo is loaded automatically. Assuming that the webcam is a USB one, and
> the webcam is unplugged, the uvcvideo module would not be loaded as the USB
> device wasn't present.
>
> For example. I have a cheapo webcam (ov511 driver). If it's unplugged the
> ov511 module doesn't load. This webcam doesn't have integrated sound on the
> USB, but comes with a separate mic/earpiece, with jacks that plug into the
> soundcard, so the sound is totally distanced from the video, which is on the
> USB. The ov511 driver is only loaded when I plug the webcam in.
>
> I've looked on all the kernels on F8, that I have installed, but can't find
> the uvcvideo module, but I am at this time downloading planetccrma -core.
> Perhaps this module is on planetccrma's realtime kernel. Time will tell (I'm
> on dialup).
>
> Would you plugin the webcam, reboot, then post the output of /sbin/lsmod. Also
> post the output from:
> cat /proc/asound/cards
> And also the output from /sbin/lsusb.
>
> I have a usb midi keyboard, and have allways had to add lines for it
> in /etc/modprobe.conf, as below.
> alias snd-card-1 snd-usb-audio
> options snd-usb-audio index=1
> Otherwise the usb midi keyboard ends up being set as card0, and I have no
> sounds, which is due to the USB being started early in the boot process, and
> the keyboard is wrongly detected as an actual soundcard.
>
> This is presuming that you only have one actual soundcard, and that is set as
> card0.
>
>> I've found some stuff on rmmod, lsmod, insmod, modprobe, but just feel
>> overwhelmed. Any help appreciated.
>>
>
> I'm guessing here, and wish I had your webcam so that I could try out what I'm
> going to suggest. By the way the planetccrma kernel is now installed, and has
> the uvcvideo module available.
>
> Not having the webcam available doesn't help, but I think the way I'd go about
> this, is to plug the webcam in, then reboot.
>
> You say you have video from the webcam working, so the uvcvideo module is
> presumably loaded, but no sound from the webcam.
>
> I think now I'd su to root on the command line, and do a rmmod uvcvideo,
> followed by a rmmod snd-usb-audio.
>
> I don't like guessing for resolving problems, without having the hardware
> available, but I'd now do a modprobe snd-usb-audio, followed by a modprobe
> uvcvideo.
>
> Sorry if I've been of no help whatsoever, but it's all I can suggest without
> having the hardware available.
>
> Nigel.
>
>
>
>
>
>> Tom
>>
>> _______________________________________________
>> PlanetCCRMA mailing list
>> PlanetCCRMA at ccrma.stanford.edu
>> http://ccrma-mail.stanford.edu/mailman/listinfo/planetccrma
>>
>
> _______________________________________________
> PlanetCCRMA mailing list
> PlanetCCRMA at ccrma.stanford.edu
> http://ccrma-mail.stanford.edu/mailman/listinfo/planetccrma
>
>
Nigel: Here's the output. I'll run the modprobe commands, now.
[root at localhost tom]# /sbin/lsusb
Bus 001 Device 002: ID 046d:0990 Logitech, Inc.
Bus 001 Device 001: ID 0000:0000
Bus 004 Device 001: ID 0000:0000
Bus 003 Device 001: ID 0000:0000
Bus 002 Device 001: ID 0000:0000
[root at localhost tom]# /sbin/lsmod
Module Size Used by
i915 37888 0
drm 117524 1 i915
ipt_MASQUERADE 6656 1
iptable_nat 9348 1
nf_nat 18732 2 ipt_MASQUERADE,iptable_nat
bridge 47768 0
rfcomm 34320 0
l2cap 23040 9 rfcomm
bluetooth 49508 4 rfcomm,l2cap
autofs4 20996 2
sunrpc 153788 3
nf_conntrack_ipv4 11780 7 iptable_nat
ipt_REJECT 7296 4
iptable_filter 6272 1
ip_tables 14020 2 iptable_nat,iptable_filter
nf_conntrack_ipv6 16564 4
xt_state 5888 9
nf_conntrack 54336 6
ipt_MASQUERADE,iptable_nat,nf_nat,nf_conntrack_ipv4,nf_conntrack_ipv6,xt_state
xt_tcpudp 6784 16
ip6t_ipv6header 6016 2
ip6t_REJECT 7808 2
ip6table_filter 6144 1
ip6_tables 14788 2 ip6t_ipv6header,ip6table_filter
x_tables 14468 9
ipt_MASQUERADE,iptable_nat,ipt_REJECT,ip_tables,xt_state,xt_tcpudp,ip6t_ipv6header,ip6t_REJECT,ip6_tables
loop 16644 0
dm_multipath 18952 0
ipv6 235620 14 nf_conntrack_ipv6,ip6t_REJECT
snd_usb_audio 80128 2
parport_pc 27172 0
parport 33096 1 parport_pc
dcdbas 10400 0
snd_seq_dummy 6660 0
snd_intel8x0 31132 4
snd_ac97_codec 94880 1 snd_intel8x0
ac97_bus 6016 1 snd_ac97_codec
snd_seq_oss 32128 0
snd_seq_midi_event 9728 1 snd_seq_oss
snd_seq 50160 5 snd_seq_dummy,snd_seq_oss,snd_seq_midi_event
floppy 56580 0
snd_pcm_oss 44544 0
snd_mixer_oss 17280 3 snd_pcm_oss
snd_pcm 71556 4
snd_usb_audio,snd_intel8x0,snd_ac97_codec,snd_pcm_oss
snd_timer 21636 2 snd_seq,snd_pcm
pcspkr 6528 0
iTCO_wdt 14048 0
snd_usb_lib 18304 1 snd_usb_audio
snd_page_alloc 11528 2 snd_intel8x0,snd_pcm
e1000 112068 0
i2c_i801 12304 0
iTCO_vendor_support 6916 1 iTCO_wdt
snd_rawmidi 22528 1 snd_usb_lib
compat_ioctl32 5120 0
snd_seq_device 10252 4
snd_seq_dummy,snd_seq_oss,snd_seq,snd_rawmidi
videodev 29056 0
v4l1_compat 16004 1 videodev
snd_hwdep 10756 1 snd_usb_audio
v4l2_common 18432 1 videodev
snd 49924 22
snd_usb_audio,snd_seq_dummy,snd_intel8x0,snd_ac97_codec,snd_seq_oss,snd_seq,snd_pcm_oss,snd_mixer_oss,snd_pcm,snd_timer,snd_usb_lib,snd_rawmidi,snd_seq_device,snd_hwdep
soundcore 9824 3 snd
button 10256 0
i2c_i810 8708 0
i2c_algo_bit 8964 1 i2c_i810
i2c_core 21504 3 i2c_i801,i2c_i810,i2c_algo_bit
sr_mod 17572 0
sg 33168 0
cdrom 33312 1 sr_mod
dm_snapshot 18252 0
dm_zero 5632 0
dm_mirror 22144 0
dm_mod 50640 9 dm_multipath,dm_snapshot,dm_zero,dm_mirror
ata_piix 17796 2
pata_acpi 8704 0
ata_generic 8836 0
libata 130032 3 ata_piix,pata_acpi,ata_generic
sd_mod 27264 3
scsi_mod 126092 4 sr_mod,sg,libata,sd_mod
ext3 112776 2
jbd 41492 1 ext3
mbcache 10368 1 ext3
uhci_hcd 23696 0
ohci_hcd 22660 0
ehci_hcd 32012 0
[root at localhost tom]# cat /proc/asound/cards
0 [I82801DBICH4 ]: ICH4 - Intel 82801DB-ICH4
Intel 82801DB-ICH4 with AD1981B at irq 20
1 [U0x46d0x990 ]: USB-Audio - USB Device 0x46d:0x990
USB Device 0x46d:0x990 at usb-0000:00:1d.7-1, high
speed
More information about the PlanetCCRMA
mailing list