HowTo:Workstation:ConfigWebCam
De Luispa
WebCam Logitech QuickCam Pro 9000
Kernel
- Realizo las siguientes modificaciones en mi Kernel.
| Configuración del kernel de Linux: Video For Linux y Sound Card USB |
Device Drivers --->
Multimedia Devices
┌──────────────────────────────────────────────────────────────────────────┐
│ │ *** Multimedia core support *** │ │
│ │ <M> Video For Linux │ │ videodev
│ │ [ ] Enable Video For Linux API 1 (DEPRECATED) │ │
│ │ [ ] Enable Video For Linux API 1 compatible Layer │ │
│ │ < > DVB for Linux │ │
│ │ *** Multimedia drivers *** │ │
│ │ [ ] Load and attach frontend and tuner driver modules as needed │ │
│ │ [ ] Customize analog and hybrid tuner modules to build ---> │ │
│ │ [*] Video capture adapters ---> │ │
│ │ [ ] Radio Adapters ---> │ │
│ │ [ ] DAB adapters │ │
[*] Video capture adapters ---> (TODO QUITADO MENOS LOS SIGUIENTES)
<*> V4L Video USB Devices
<M> USB Video Class (UVC) uvcvideo
<*> UVC input events device support
Device Drivers --->
<*>Sound Card Support
| │ <M> Advanced Linux Sound Architecture ---> │ │
| │ --- Advanced Linux Sound Architecture │ │
│ │ <M> Sequencer support │ │ ¿??????????
│ │ < > Sequencer dummy client │ │
│ │ <M> OSS Mixer API │ │ snd-mixer-oss
│ │ <M> OSS PCM (digital audio) API │ │ snd-pcm-oss
│ │ [*] OSS PCM (digital audio) API - Include plugin system │ │
│ │ [ ] OSS Sequencer API │ │
│ │ [ ] Dynamic device file minor numbers │ │
│ │ [ ] Support old ALSA API │ │
│ │ [ ] Verbose procfs contents │ │
│ │ [ ] Verbose printk │ │
│ │ [ ] Debug │ │
│ │ [ ] Generic sound devices ---> │ │
│ │ [*] PCI sound devices ---> │ │
│ │ [*] USB sound devices ---> │ │
│ │ < > ALSA for SoC audio support ---> │ │
| │ <M> Intel HD Audio │ │ snd-hda-intel
│ │ [*] Build hwdep interface for HD-audio driver │ │
│ │ [*] Support digital beep via input layer │ │
│ │ [*] Build Realtek HD-audio codec support │ │
│ │ [*] Build Analog Device HD-audio codec support │ │
│ │ [*] Build IDT/Sigmatel HD-audio codec support │ │
│ │ [*] Build VIA HD-audio codec support │ │
│ │ [*] Build ATI HDMI HD-audio codec support │ │
│ │ [*] Build NVIDIA HDMI HD-audio codec support │ │
│ │ [*] Build Conexant HD-audio codec support │ │
│ │ [*] Build C-Media HD-audio codec support │ │
│ │ [*] Build Silicon Labs 3054 HD-modem codec support │ │
│ │ [*] Enable generic HD-audio codec parser │ │
│ │ [*] Aggressive power-saving on HD-audio │ │
│ │ (0) Default time-out for HD-audio power-save mode
| │ --- USB sound devices │ │
│ │ <M> USB Audio/MIDI driver │ │ snd-usb-audio
│ │ < > Tascam US-122, US-224 and US-428 USB driver │ │
│ │ < > Native Instruments USB audio devices │ │
│ │ < > Tascam US-122L USB driver │ │
|
- Recompilar el kernel
# make && make modules_install # cp arch/x86_64/boot/bzImage /boot/bzImage-2.6.28-gentoo-r1 # cp System.map /boot/System.map-2.6.28-gentoo-r1 # cd /usr/src # emerge -v nvidia-drivers # eselect opengl set nvidia # emerge -v vmware-modules
- Se instalan los siguientes módulos relacionados con Video y Audio
INSTALL drivers/media/video/compat_ioctl32.ko INSTALL drivers/media/video/uvc/uvcvideo.ko INSTALL drivers/media/video/v4l2-common.ko INSTALL drivers/media/video/v4l2-int-device.ko INSTALL drivers/media/video/videodev.ko
INSTALL sound/core/oss/snd-mixer-oss.ko INSTALL sound/core/oss/snd-pcm-oss.ko INSTALL sound/core/seq/snd-seq-device.ko INSTALL sound/core/seq/snd-seq-midi-event.ko INSTALL sound/core/seq/snd-seq-midi.ko INSTALL sound/core/seq/snd-seq.ko INSTALL sound/core/snd-hwdep.ko INSTALL sound/core/snd-page-alloc.ko INSTALL sound/core/snd-pcm.ko INSTALL sound/core/snd-rawmidi.ko INSTALL sound/core/snd-timer.ko INSTALL sound/core/snd.ko INSTALL sound/pci/hda/snd-hda-intel.ko INSTALL sound/usb/snd-usb-audio.ko INSTALL sound/usb/snd-usb-lib.ko
- Rearranco el equipo.
- Tras el arranque por completo verifico que los módulos de video y audio están cargados
# lsmod Module Size Used by : snd_seq 48496 0 snd_pcm_oss 34720 0 snd_mixer_oss 14912 1 snd_pcm_oss snd_usb_audio 87920 0 snd_usb_lib 16192 1 snd_usb_audio snd_rawmidi 20704 1 snd_usb_lib snd_seq_device 7188 2 snd_seq,snd_rawmidi snd_hda_intel 488836 3 snd_pcm 63880 3 snd_pcm_oss,snd_usb_audio,snd_hda_intel snd_timer 20240 2 snd_seq,snd_pcm snd_page_alloc 9232 2 snd_hda_intel,snd_pcm snd_hwdep 8136 2 snd_usb_audio,snd_hda_intel uvcvideo 53448 0 snd 53368 16 snd_seq,snd_pcm_oss,snd_mixer_oss,snd_usb_audio,snd_rawmidi,snd_seq_device,snd_hda_intel,snd_pcm,snd_timer,snd_hwdep videodev 30976 2 uvcvideo,compat_ioctl32 :
Instalación
- No hace falta realizar ningúna instalación adicional, simplemente comprobar que reconoce la camara/micrófono una vez lo conectamos a un puerto USB libre:
# dmesg : usb 1-6: new high speed USB device using ehci_hcd and address 6 usb 1-6: configuration #1 chosen from 1 choice uvcvideo: Found UVC 1.00 device <unnamed> (046d:0990) input: UVC Camera (046d:0990) as /devices/pci0000:00/0000:00:1a.7/usb1/1-6/1-6:1.0/input/input6 usb 1-6: New USB device found, idVendor=046d, idProduct=0990 usb 1-6: New USB device strings: Mfr=0, Product=0, SerialNumber=2 usb 1-6: SerialNumber: 2F5DA448 usbcore: registered new interface driver snd-usb-audio
# lsusb : Bus 001 Device 003: ID 046d:0990 Logitech, Inc.
Configuración
- Después la configuramos en algún programa que use video y audio, en mi caso he utilizado Skype
Options/Sound Devices/Sound In: USB Device ...(hw)
Enlaces y Créditos
| [1] | http://wiki.luispa.com/ | Página principal de LuisPa. |
| [2] | http://en.gentoo-wiki.zugaina.org/index.php/HOWTO_Install_a_webcam | Cómo instalar una Webcam |
Volver a la página de Role como Estación de trabajo
--Luis 12:03 18 mar 2009 (CET)

