AYUDA CON WEBCAM

Alejandro Valdes avaldes en utalca.cl
Jue Sep 29 08:58:48 CLT 2005


buenas!

como indica el mensaje, no encuentra el dispositivo /dev/video0

revisa en tal directorio si existe, si no está, entonces debes crearlo
con el comando MAKEDEV (si, en mayúsculas)

te ubicas en el directorio /dev y ejecutas el comando:

MAKEDEV video

El jue, 29-09-2005 a las 06:22 +0200, Isaac Smith escribió:
> Hola mundo!!
> 
> hace tiempo que trato de configurar mi webcam en
> linux, el problema es que mi webcam es mulita, no
> tiene ni marca, solo dice "webcam" y como  me la
> regalaron asi que mejor ni me quejo :D
> En windowsxp la instale con el cd de instalacion y me
> la reconoce con el nombre de
> 
> PC Camera (SN9C102) ver 4.12.0.0
> en el kernel acabo de encontrar este driver y lo
> compile dentro del kernel 
> 
> he tratado de configurarla siguiendo varios HOWTO en
> especial este 
> 
> http://gentoo-wiki.com/HOWTO_Install_a_webcam
> 
> pero no consigo que funcione, al tratar de hacer 
> 
> mplayer tv:// -tv
> driver=v4l:width=176:height=144:device=/dev/video0
> 
> esta es la salida de mplayer:
> MPlayer 1.0pre7try2-3.4.4 (C) 2000-2005 MPlayer Team
> CPU: Intel  (Family: 6, Stepping: 8)
> Detected cache-line size is 64 bytes
> CPUflags:  MMX: 1 MMX2: 1 3DNow: 0 3DNow2: 0 SSE: 1
> SSE2: 1
> Compilado para CPU x86 con extensiones: MMX MMX2 SSE
> SSE2
> 
> 85 audio & 196 video codecs
> Reproduciendo tv://.
> Cache fill:  0.00% (0 bytes)    Detectado TV.
> Selected driver: v4l
>  name: Video 4 Linux input
>  author: Alex Beregszaszi
>  comment: under development
> unable to open '/dev/video0': No such device
> 
> con camorama me dice:
>  "could not connect to video device (/dev/video0)"
> 
> tb trate con /dev/video, etc. y nada
> ojo que no es problema de mplayer, creo :D
> 
> aca va informacion de mis dispositivos USB y las
> configuraciones del kernel de video y usb. si me falta
> otra informacion que pueda proporcionar para que me
> puedan ayudar, por favor diganme, ya que no se de
> donde mas obtener info y como tendria que hacerlo.
> 
> desde ya muchas gracias
> 
> salu2.
> 
> //****************************************
> 
> # lspci -v | grep USB
> 
> 0000:00:1d.0 USB Controller: Intel Corporation
> 82801DB/DBL/DBM (ICH4/ICH4-L/ICH4-M) USB UHCI
> Controller #1 (rev 03) (prog-if 00 [UHCI])
> 0000:00:1d.1 USB Controller: Intel Corporation
> 82801DB/DBL/DBM (ICH4/ICH4-L/ICH4-M) USB UHCI
> Controller #2 (rev 03) (prog-if 00 [UHCI])
> 0000:00:1d.2 USB Controller: Intel Corporation
> 82801DB/DBL/DBM (ICH4/ICH4-L/ICH4-M) USB UHCI
> Controller #3 (rev 03) (prog-if 00 [UHCI])
> 0000:00:1d.7 USB Controller: Intel Corporation
> 82801DB/DBM (ICH4/ICH4-M) USB2 EHCI Controller (rev
> 03) (prog-if 20 [EHCI])
> 
> //*****************************************************
> # lsusb
> 
> Bus 004 Device 001: ID 0000:0000
> Bus 003 Device 002: ID 1267:0201 Logic3 / SpectraVideo
> plc
> Bus 003 Device 001: ID 0000:0000
> Bus 002 Device 002: ID 0c45:6019 Microdia      <<-----
> esta es la webCam
> Bus 002 Device 001: ID 0000:0000
> Bus 001 Device 001: ID 0000:0000
> 
> //****************************************************
> # less /proc/bus/usb/devices
> 
> T:  Bus=02 Lev=01 Prnt=01 Port=00 Cnt=01 Dev#=  2
> Spd=12  MxCh= 0
> D:  Ver= 1.10 Cls=00(>ifc ) Sub=00 Prot=00 MxPS=64
> #Cfgs=  1
> P:  Vendor=0c45 ProdID=6019 Rev= 1.01
> S:  Product=USB camera
> C:* #Ifs= 1 Cfg#= 1 Atr=80 MxPwr=500mA
> I:  If#= 0 Alt= 0 #EPs= 3 Cls=ff(vend.) Sub=ff Prot=ff
> Driver=(none)
> E:  Ad=81(I) Atr=01(Isoc) MxPS=   0 Ivl=1ms
> E:  Ad=82(I) Atr=02(Bulk) MxPS=  64 Ivl=0ms
> E:  Ad=83(I) Atr=03(Int.) MxPS=   1 Ivl=100ms
> I:  If#= 0 Alt= 1 #EPs= 3 Cls=ff(vend.) Sub=ff Prot=ff
> Driver=(none)
> E:  Ad=81(I) Atr=01(Isoc) MxPS= 128 Ivl=1ms
> E:  Ad=82(I) Atr=02(Bulk) MxPS=  64 Ivl=0ms
> E:  Ad=83(I) Atr=03(Int.) MxPS=   1 Ivl=100ms
> I:  If#= 0 Alt= 2 #EPs= 3 Cls=ff(vend.) Sub=ff Prot=ff
> Driver=(none)
> E:  Ad=81(I) Atr=01(Isoc) MxPS= 256 Ivl=1ms
> E:  Ad=82(I) Atr=02(Bulk) MxPS=  64 Ivl=0ms
> E:  Ad=83(I) Atr=03(Int.) MxPS=   1 Ivl=100ms
> I:  If#= 0 Alt= 3 #EPs= 3 Cls=ff(vend.) Sub=ff Prot=ff
> Driver=(none)
> E:  Ad=81(I) Atr=01(Isoc) MxPS= 384 Ivl=1ms
> E:  Ad=82(I) Atr=02(Bulk) MxPS=  64 Ivl=0ms
> E:  Ad=83(I) Atr=03(Int.) MxPS=   1 Ivl=100ms
> I:  If#= 0 Alt= 4 #EPs= 3 Cls=ff(vend.) Sub=ff Prot=ff
> Driver=(none)
> E:  Ad=81(I) Atr=01(Isoc) MxPS= 512 Ivl=1ms
> E:  Ad=82(I) Atr=02(Bulk) MxPS=  64 Ivl=0ms
> E:  Ad=83(I) Atr=03(Int.) MxPS=   1 Ivl=100ms
> I:  If#= 0 Alt= 5 #EPs= 3 Cls=ff(vend.) Sub=ff Prot=ff
> Driver=(none)
> E:  Ad=81(I) Atr=01(Isoc) MxPS= 680 Ivl=1ms
> E:  Ad=82(I) Atr=02(Bulk) MxPS=  64 Ivl=0ms
> E:  Ad=83(I) Atr=03(Int.) MxPS=   1 Ivl=100ms
> I:  If#= 0 Alt= 6 #EPs= 3 Cls=ff(vend.) Sub=ff Prot=ff
> Driver=(none)
> E:  Ad=81(I) Atr=01(Isoc) MxPS= 800 Ivl=1ms
> E:  Ad=82(I) Atr=02(Bulk) MxPS=  64 Ivl=0ms
> E:  Ad=83(I) Atr=03(Int.) MxPS=   1 Ivl=100ms
> I:  If#= 0 Alt= 7 #EPs= 3 Cls=ff(vend.) Sub=ff Prot=ff
> Driver=(none)
> E:  Ad=81(I) Atr=01(Isoc) MxPS= 900 Ivl=1ms
> E:  Ad=82(I) Atr=02(Bulk) MxPS=  64 Ivl=0ms
> E:  Ad=83(I) Atr=03(Int.) MxPS=   1 Ivl=100ms
> I:  If#= 0 Alt= 8 #EPs= 3 Cls=ff(vend.) Sub=ff Prot=ff
> Driver=(none)
> E:  Ad=81(I) Atr=01(Isoc) MxPS=1023 Ivl=1ms
> E:  Ad=82(I) Atr=02(Bulk) MxPS=  64 Ivl=0ms
> E:  Ad=83(I) Atr=03(Int.) MxPS=   1 Ivl=100ms
> 
> 
> 
> configuracion de video en el kernel
> 
> //********************************************
> Version del kernel = linux-2.6.12-gentoo-r9
> 
> //*******************************************
> 
> # zcat /proc/config.gz | grep VIDEO
> 
> CONFIG_ACPI_VIDEO=y
> # CONFIG_IEEE1394_VIDEO1394 is not set
> CONFIG_VIDEO_DEV=y
> # CONFIG_VIDEO_BT848 is not set
> # CONFIG_VIDEO_PMS is not set
> # CONFIG_VIDEO_CPIA is not set
> # CONFIG_VIDEO_SAA5246A is not set
> # CONFIG_VIDEO_SAA5249 is not set
> # CONFIG_VIDEO_STRADIS is not set
> # CONFIG_VIDEO_ZORAN is not set
> # CONFIG_VIDEO_SAA7134 is not set
> # CONFIG_VIDEO_MXB is not set
> # CONFIG_VIDEO_DPC is not set
> # CONFIG_VIDEO_HEXIUM_ORION is not set
> # CONFIG_VIDEO_HEXIUM_GEMINI is not set
> # CONFIG_VIDEO_CX88 is not set
> # CONFIG_VIDEO_OVCAMCHIP is not set
> CONFIG_VIDEO_SELECT=y
> 
> //********************************************
> 
> configuracion USB en el kernel
> 
> 
> # zcat /proc/config.gz | grep USB
> 
> # USB devices
> # CONFIG_SND_USB_AUDIO is not set
> # CONFIG_SND_USB_USX2Y is not set
> # USB support
> CONFIG_USB_ARCH_HAS_HCD=y
> CONFIG_USB_ARCH_HAS_OHCI=y
> CONFIG_USB=y
> # CONFIG_USB_DEBUG is not set
> # Miscellaneous USB options
> CONFIG_USB_DEVICEFS=y
> # CONFIG_USB_BANDWIDTH is not set
> # CONFIG_USB_DYNAMIC_MINORS is not set
> # CONFIG_USB_SUSPEND is not set
> # CONFIG_USB_OTG is not set
> # USB Host Controller Drivers
> CONFIG_USB_EHCI_HCD=y
> # CONFIG_USB_EHCI_SPLIT_ISO is not set
> # CONFIG_USB_EHCI_ROOT_HUB_TT is not set
> CONFIG_USB_OHCI_HCD=y
> # CONFIG_USB_OHCI_BIG_ENDIAN is not set
> CONFIG_USB_OHCI_LITTLE_ENDIAN=y
> CONFIG_USB_UHCI_HCD=y
> # CONFIG_USB_SL811_HCD is not set
> # USB Device Class drivers
> # CONFIG_USB_AUDIO is not set
> # CONFIG_USB_BLUETOOTH_TTY is not set
> # CONFIG_USB_MIDI is not set
> # CONFIG_USB_ACM is not set
> CONFIG_USB_PRINTER=y
> # NOTE: USB_STORAGE enables SCSI, and 'SCSI disk
> support' may also be needed; see USB_STORAGE Help for
> more information
> CONFIG_USB_STORAGE=y
> # CONFIG_USB_STORAGE_DEBUG is not set
> CONFIG_USB_STORAGE_DATAFAB=y
> # CONFIG_USB_STORAGE_FREECOM is not set
> # CONFIG_USB_STORAGE_ISD200 is not set
> CONFIG_USB_STORAGE_DPCM=y
> # CONFIG_USB_STORAGE_USBAT is not set
> CONFIG_USB_STORAGE_SDDR09=y
> CONFIG_USB_STORAGE_SDDR55=y
> # CONFIG_USB_STORAGE_JUMPSHOT is not set
> # USB Input Devices
> CONFIG_USB_HID=y
> CONFIG_USB_HIDINPUT=y
> # CONFIG_USB_HIDDEV is not set
> # CONFIG_USB_AIPTEK is not set
> # CONFIG_USB_WACOM is not set
> # CONFIG_USB_KBTAB is not set
> # CONFIG_USB_POWERMATE is not set
> # CONFIG_USB_MTOUCH is not set
> # CONFIG_USB_EGALAX is not set
> # CONFIG_USB_XPAD is not set
> # CONFIG_USB_ATI_REMOTE is not set
> # USB Imaging devices
> CONFIG_USB_MDC800=m
> # CONFIG_USB_MICROTEK is not set
> # USB Multimedia devices
> # CONFIG_USB_DABUSB is not set
> CONFIG_USB_VICAM=m
> # CONFIG_USB_DSBR is not set
> CONFIG_USB_IBMCAM=m
> CONFIG_USB_KONICAWC=m
> # CONFIG_USB_OV511 is not set
> # CONFIG_USB_SE401 is not set
> # CONFIG_USB_SN9C102 is not set
> # CONFIG_USB_STV680 is not set
> # CONFIG_USB_PWC is not set
> # USB Network Adapters
> # CONFIG_USB_CATC is not set
> # CONFIG_USB_KAWETH is not set
> # CONFIG_USB_PEGASUS is not set
> # CONFIG_USB_RTL8150 is not set
> # CONFIG_USB_USBNET is not set
> # CONFIG_USB_ZD1201 is not set
> CONFIG_USB_MON=y
> # USB port drivers
> # USB Serial Converter support
> # CONFIG_USB_SERIAL is not set
> # USB Miscellaneous drivers
> # CONFIG_USB_EMI62 is not set
> # CONFIG_USB_EMI26 is not set
> # CONFIG_USB_AUERSWALD is not set
> # CONFIG_USB_RIO500 is not set
> # CONFIG_USB_LEGOTOWER is not set
> # CONFIG_USB_LCD is not set
> CONFIG_USB_LED=y
> # CONFIG_USB_CYTHERM is not set
> # CONFIG_USB_PHIDGETKIT is not set
> # CONFIG_USB_PHIDGETSERVO is not set
> # CONFIG_USB_IDMOUSE is not set
> # CONFIG_USB_SISUSBVGA is not set
> # CONFIG_USB_TEST is not set
> # USB ATM/DSL drivers
> # USB Gadget Support
> # CONFIG_USB_GADGET is not set
> 
> //********************************************
> 
> 
>  C.M.C. 
> 
> 
> 		
> ______________________________________________ 
> Renovamos el Correo Yahoo! 
> Nuevos servicios, más seguridad 
> http://correo.yahoo.es
> 
-- 
Alejandro M. Valdés Jiménez.
Fono: 071 - 200413
RSS - DITyM
Universidad de Talca.



Más información sobre la lista de distribución Linux