View previous topic :: View next topic |
Author |
Message |
ZenPiPerS Apprentice
Joined: 17 Nov 2004 Posts: 207 Location: Galicia
|
Posted: Tue Aug 04, 2009 6:39 pm Post subject: [Webcam]error al instalar el driver gspcav1 (abierto) |
|
|
Hola,
No puedo instalar el driver gspcav1, me devuelve el siguiente error:
Code: | emerge gspcav1
Calculating dependencies... done!
>>> Verifying ebuild manifests
>>> Emerging (1 of 1) media-video/gspcav1-20071224
* gspcav1-20071224.tar.gz RMD160 SHA1 SHA256 size ;-) ... [ ok ]
* checking ebuild checksums ;-) ... [ ok ]
* checking auxfile checksums ;-) ... [ ok ]
* checking miscfile checksums ;-) ... [ ok ]
* Determining the location of the kernel source code
* Found kernel source directory:
* /usr/src/linux
* Found kernel object directory:
* /lib/modules/2.6.29-gentoo-r5/build
* Found sources for kernel version:
* 2.6.29-gentoo-r5
* Checking for suitable kernel configuration options... [ ok ]
>>> Unpacking source...
>>> Unpacking gspcav1-20071224.tar.gz to /var/tmp/portage/media-video/gspcav1-20071224/work
* Converting gspcav1-20071224/Makefile to use M= instead of SUBDIRS= ... [ ok ]
>>> Source unpacked in /var/tmp/portage/media-video/gspcav1-20071224/work
>>> Compiling source in /var/tmp/portage/media-video/gspcav1-20071224/work/gspcav1-20071224 ...
ln: creating symbolic link `Module.symvers': File exists
* Preparing gspca module
make -j3 HOSTCC=x86_64-pc-linux-gnu-gcc CROSS_COMPILE=x86_64-pc-linux-gnu- LDFLAGS= KERNELDIR=/usr/src/linux default
make -C /usr/src/linux M=/var/tmp/portage/media-video/gspcav1-20071224/work/gspcav1-20071224 CC=cc modules
make[1]: Entering directory `/usr/src/linux-2.6.29-gentoo-r5'
CC [M] /var/tmp/portage/media-video/gspcav1-20071224/work/gspcav1-20071224/gspca_core.o
CC [M] /var/tmp/portage/media-video/gspcav1-20071224/work/gspcav1-20071224/decoder/gspcadecoder.o
/var/tmp/portage/media-video/gspcav1-20071224/work/gspcav1-20071224/decoder/gspcadecoder.c: In function 'pac7311_decode':
/var/tmp/portage/media-video/gspcav1-20071224/work/gspcav1-20071224/decoder/gspcadecoder.c:764: error: implicit declaration of function 'info'
make[2]: *** [/var/tmp/portage/media-video/gspcav1-20071224/work/gspcav1-20071224/decoder/gspcadecoder.o] Error 1
make[2]: *** Waiting for unfinished jobs....
/var/tmp/portage/media-video/gspcav1-20071224/work/gspcav1-20071224/gspca_core.c:54:27: error: asm/semaphore.h: No such file or directory
In file included from /var/tmp/portage/media-video/gspcav1-20071224/work/gspcav1-20071224/gspca_core.c:845:
/var/tmp/portage/media-video/gspcav1-20071224/work/gspcav1-20071224/utils/spcausb.h: In function 'spca5xxRegRead':
/var/tmp/portage/media-video/gspcav1-20071224/work/gspcav1-20071224/utils/spcausb.h:95: error: implicit declaration of function 'info'
/var/tmp/portage/media-video/gspcav1-20071224/work/gspcav1-20071224/utils/spcausb.h: In function 'spca_set_interface':
/var/tmp/portage/media-video/gspcav1-20071224/work/gspcav1-20071224/utils/spcausb.h:278: error: implicit declaration of function 'warn'
In file included from /var/tmp/portage/media-video/gspcav1-20071224/work/gspcav1-20071224/gspca_core.c:853:
/var/tmp/portage/media-video/gspcav1-20071224/work/gspcav1-20071224/Sunplus-jpeg/sp5xxfw2.h: In function 'sp5xxfw2_init':
/var/tmp/portage/media-video/gspcav1-20071224/work/gspcav1-20071224/Sunplus-jpeg/sp5xxfw2.h:122: error: called object 'info' is not a function
/var/tmp/portage/media-video/gspcav1-20071224/work/gspcav1-20071224/Sunplus-jpeg/sp5xxfw2.h:136: error: called object 'info' is not a function
/var/tmp/portage/media-video/gspcav1-20071224/work/gspcav1-20071224/Sunplus-jpeg/sp5xxfw2.h:141: error: called object 'info' is not a function
/var/tmp/portage/media-video/gspcav1-20071224/work/gspcav1-20071224/Sunplus-jpeg/sp5xxfw2.h:148: error: called object 'info' is not a function
/var/tmp/portage/media-video/gspcav1-20071224/work/gspcav1-20071224/Sunplus-jpeg/sp5xxfw2.h:176: error: called object 'info' is not a function
/var/tmp/portage/media-video/gspcav1-20071224/work/gspcav1-20071224/Sunplus-jpeg/sp5xxfw2.h: In function 'sp5xxfw2_start':
/var/tmp/portage/media-video/gspcav1-20071224/work/gspcav1-20071224/Sunplus-jpeg/sp5xxfw2.h:214: error: called object 'info' is not a function
/var/tmp/portage/media-video/gspcav1-20071224/work/gspcav1-20071224/Sunplus-jpeg/sp5xxfw2.h:230: error: called object 'info' is not a function
/var/tmp/portage/media-video/gspcav1-20071224/work/gspcav1-20071224/gspca_core.c: In function 'spca5xx_ioctl':
/var/tmp/portage/media-video/gspcav1-20071224/work/gspcav1-20071224/gspca_core.c:2463: error: implicit declaration of function 'video_usercopy'
/var/tmp/portage/media-video/gspcav1-20071224/work/gspcav1-20071224/gspca_core.c: At top level:
/var/tmp/portage/media-video/gspcav1-20071224/work/gspcav1-20071224/gspca_core.c:2604: error: 'v4l_compat_ioctl32' undeclared here (not in a function)
/var/tmp/portage/media-video/gspcav1-20071224/work/gspcav1-20071224/gspca_core.c:2609: error: unknown field 'owner' specified in initializer
/var/tmp/portage/media-video/gspcav1-20071224/work/gspcav1-20071224/gspca_core.c:2609: warning: initialization from incompatible pointer type
/var/tmp/portage/media-video/gspcav1-20071224/work/gspcav1-20071224/gspca_core.c:2611: error: unknown field 'type' specified in initializer
/var/tmp/portage/media-video/gspcav1-20071224/work/gspcav1-20071224/gspca_core.c:2615: warning: initialization from incompatible pointer type
/var/tmp/portage/media-video/gspcav1-20071224/work/gspcav1-20071224/gspca_core.c: In function 'spca50x_create_sysfs':
/var/tmp/portage/media-video/gspcav1-20071224/work/gspcav1-20071224/gspca_core.c:2769: error: implicit declaration of function 'video_device_create_file'
/var/tmp/portage/media-video/gspcav1-20071224/work/gspcav1-20071224/gspca_core.c:2780: error: implicit declaration of function 'video_device_remove_file'
/var/tmp/portage/media-video/gspcav1-20071224/work/gspcav1-20071224/gspca_core.c: In function 'spca5xx_probe':
/var/tmp/portage/media-video/gspcav1-20071224/work/gspcav1-20071224/gspca_core.c:4301: error: incompatible types in assignment
make[2]: *** [/var/tmp/portage/media-video/gspcav1-20071224/work/gspcav1-20071224/gspca_core.o] Error 1
make[1]: *** [_module_/var/tmp/portage/media-video/gspcav1-20071224/work/gspcav1-20071224] Error 2
make[1]: Leaving directory `/usr/src/linux-2.6.29-gentoo-r5'
make: *** [default] Error 2
*
* ERROR: media-video/gspcav1-20071224 failed.
* Call stack:
* ebuild.sh, line 49: Called src_compile
* environment, line 3340: Called linux-mod_src_compile
* environment, line 2592: Called die
* The specific snippet of code:
* eval "emake HOSTCC=\"$(tc-getBUILD_CC)\" CROSS_COMPILE=${CHOST}- LDFLAGS=\"$(get_abi_LDFLAGS)\" ${BUILD_FIXES} ${BUILD_PARAMS} ${BUILD_TARGETS} " || die "Unable to emake HOSTCC="$(tc-getBUILD_CC)" CROSS_COMPILE=${CHOST}- LDFLAGS="$(get_abi_LDFLAGS)" ${BUILD_FIXES} ${BUILD_PARAMS} ${BUILD_TARGETS}";
* The die message:
* Unable to emake HOSTCC=x86_64-pc-linux-gnu-gcc CROSS_COMPILE=x86_64-pc-linux-gnu- LDFLAGS= KERNELDIR=/usr/src/linux default
*
* If you need support, post the topmost build error, and the call stack if relevant.
* A complete build log is located at '/var/tmp/portage/media-video/gspcav1-20071224/temp/build.log'.
* The ebuild environment file is located at '/var/tmp/portage/media-video/gspcav1-20071224/temp/environment'.
*
>>> Failed to emerge media-video/gspcav1-20071224, Log file:
>>> '/var/tmp/portage/media-video/gspcav1-20071224/temp/build.log'
* Messages for package media-video/gspcav1-20071224:
*
* ERROR: media-video/gspcav1-20071224 failed.
* Call stack:
* ebuild.sh, line 49: Called src_compile
* environment, line 3340: Called linux-mod_src_compile
* environment, line 2592: Called die
* The specific snippet of code:
* eval "emake HOSTCC=\"$(tc-getBUILD_CC)\" CROSS_COMPILE=${CHOST}- LDFLAGS=\"$(get_abi_LDFLAGS)\" ${BUILD_FIXES} ${BUILD_PARAMS} ${BUILD_TARGETS} " || die "Unable to emake HOSTCC="$(tc-getBUILD_CC)" CROSS_COMPILE=${CHOST}- LDFLAGS="$(get_abi_LDFLAGS)" ${BUILD_FIXES} ${BUILD_PARAMS} ${BUILD_TARGETS}";
* The die message:
* Unable to emake HOSTCC=x86_64-pc-linux-gnu-gcc CROSS_COMPILE=x86_64-pc-linux-gnu- LDFLAGS= KERNELDIR=/usr/src/linux default
*
* If you need support, post the topmost build error, and the call stack if relevant.
* A complete build log is located at '/var/tmp/portage/media-video/gspcav1-20071224/temp/build.log'.
* The ebuild environment file is located at '/var/tmp/portage/media-video/gspcav1-20071224/temp/environment'.
*
* Regenerating GNU info directory index...
* Processed 116 info files.
|
emerge --info
Code: | Portage 2.1.6.13 (default/linux/amd64/2008.0, gcc-4.1.2, glibc-2.9_p20081201-r2, 2.6.29-gentoo-r5 x86_64)
=================================================================
System uname: Linux-2.6.29-gentoo-r5-x86_64-Intel-R-_Core-TM-2_Duo_CPU_T5450_@_1.66GHz-with-gentoo-1.12.11.1
Timestamp of tree: Sun, 02 Aug 2009 11:00:21 +0000
app-shells/bash: 3.2_p39
dev-java/java-config: 2.1.8-r1
dev-lang/python: 2.4.4-r13, 2.5.4-r3, 2.6.2-r1
dev-python/pycrypto: 2.0.1-r6
sys-apps/baselayout: 1.12.11.1
sys-apps/sandbox: 1.6-r2
sys-devel/autoconf: 2.13, 2.63-r1
sys-devel/automake: 1.7.9-r1, 1.9.6-r2, 1.10.2
sys-devel/binutils: 2.18-r3
sys-devel/gcc-config: 1.4.1
sys-devel/libtool: 1.5.26
virtual/os-headers: 2.6.27-r2
ACCEPT_KEYWORDS="amd64"
CBUILD="x86_64-pc-linux-gnu"
CFLAGS="-march=nocona -O2 -pipe"
CHOST="x86_64-pc-linux-gnu"
CONFIG_PROTECT="/etc /usr/kde/3.5/env /usr/kde/3.5/share/config /usr/kde/3.5/shutdown /usr/share/config"
CONFIG_PROTECT_MASK="/etc/ca-certificates.conf /etc/env.d /etc/env.d/java/ /etc/fonts/fonts.conf /etc/gconf /etc/revdep-rebuild /etc/sandbox.d /etc/terminfo /etc/udev/rules.d"
CXXFLAGS="-march=nocona -O2 -pipe"
DISTDIR="/usr/portage/distfiles"
FEATURES="distlocks fixpackages parallel-fetch protect-owned sandbox sfperms strict unmerge-orphans userfetch"
GENTOO_MIRRORS="ftp://distro.ibiblio.org/pub/linux/distributions/gentoo/ http://distro.ibiblio.org/pub/linux/distributions/gentoo/ http://gentoo.mirrors.pair.com/ ftp://mirror.datapipe.net/gentoo ftp://ftp.wallawalla.edu/pub/mirrors/ftp.gentoo.org ftp://mirrors.localhost.net.ar/pub/mirrors/gentoo http://mirror.hamakor.org.il/pub/mirrors/gentoo/ ftp://ftp.unina.it/pub/linux/distributions/gentoo http://ftp.daum.net/gentoo/ "
LDFLAGS="-Wl,-O1"
LINGUAS="es es_ES"
MAKEOPTS="-j3"
PKGDIR="/usr/portage/packages"
PORTAGE_CONFIGROOT="/"
PORTAGE_RSYNC_OPTS="--recursive --links --safe-links --perms --times --compress --force --whole-file --delete --stats --timeout=180 --exclude=/distfiles --exclude=/local --exclude=/packages"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage"
SYNC="rsync://rsync.gentoo.org/gentoo-portage"
USE="X acl alsa amarok amd64 amule arts berkdb bzip2 cli cracklib crypt cups dbus dri dvdr firefox fortran gdbm gpm gtk hal iconv ipv6 isdnlog java jpg kde midi mmx mp3 mplayer mudflap multilib ncurses nls nptl nptlonly nvidia opengl openmp pam pcre perl pppd python qt3 qt3support qt4 readline reflection session spl sse sse2 ssl svg sysfs tcpd unicode xorg xulrunner zlib" ALSA_CARDS="ali5451 als4000 atiixp atiixp-modem bt87x ca0106 cmipci emu10k1x ens1370 ens1371 es1938 es1968 fm801 hda-intel intel8x0 intel8x0m maestro3 trident usb-audio via82xx via82xx-modem ymfpci" ALSA_PCM_PLUGINS="adpcm alaw asym copy dmix dshare dsnoop empty extplug file hooks iec958 ioplug ladspa lfloat linear meter mmap_emul mulaw multi null plug rate route share shm softvol" APACHE2_MODULES="actions alias auth_basic authn_alias authn_anon authn_dbm authn_default authn_file authz_dbm authz_default authz_groupfile authz_host authz_owner authz_user autoindex cache dav dav_fs dav_lock deflate dir disk_cache env expires ext_filter file_cache filter headers include info log_config logio mem_cache mime mime_magic negotiation rewrite setenvif speling status unique_id userdir usertrack vhost_alias" ELIBC="glibc" INPUT_DEVICES="evdev keyboard mouse synaptics" KERNEL="linux" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" LINGUAS="es es_ES" USERLAND="GNU" VIDEO_CARDS="nvidia"
Unset: CPPFLAGS, CTARGET, EMERGE_DEFAULT_OPTS, FFLAGS, INSTALL_MASK, LANG, LC_ALL, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS, PORTDIR_OVERLAY
|
¿A alguién le ha pasado?
Un Saludo! _________________ Registered Linux user #327019
JID: zenpipers#jabberes.org |
|
Back to top |
|
|
vincent- Retired Dev
Joined: 13 Jan 2007 Posts: 415 Location: Valencia (Spain)
|
Posted: Tue Aug 04, 2009 7:59 pm Post subject: |
|
|
A lo mejor no funciona con esa versión del kernel que usas. Puede que haga falta algún parche para que funcione en una versión tan nueva.
De todas formas, si está enmascarado será por algo |
|
Back to top |
|
|
Dj_Dexter n00b
Joined: 12 Feb 2009 Posts: 63 Location: Chile
|
Posted: Tue Aug 04, 2009 8:06 pm Post subject: |
|
|
Hola, ese error sucede con las versiones de kernel desde el 2.6.27
a mi si me ha pasado, la solucion es recompilar el kernel con los drivers de gspca como modulo
ya que el driver gspca desde esa version del kernel ya esta integrado y ya no hace falta al gspcav1, excepto para kernels anteriores
recompile el kernel, eliga esas opciones con
Code: |
Device Drivers --->
Multimedia devices --->
Video capture adapters --->
V4L USB devices --->
GSPCA based webcams --->
|
para ver que modulos activar ademas de los de gspca ya integrados en el kernel con un:
asi podra saber que modelo de web cam tiene y asi cargar el modulo de gspca al que le corresponde
active el soporte de Video For Linux 2 para que funcione la web cam
Para que carge el modulo de gspca con:
Code: |
#modprobe nombre_modulo_gspca
|
Espero que le sirva
Saludos!!! _________________ Slim + Xorg 1.12.0-r1 + dwm-6.0 + Urxvt + Openrc 0.9.9.1 + Ati Radeon 9600
Mi Blog |
|
Back to top |
|
|
ZenPiPerS Apprentice
Joined: 17 Nov 2004 Posts: 207 Location: Galicia
|
Posted: Wed Aug 05, 2009 8:30 pm Post subject: |
|
|
Hola,
Tengo activando los siguientes parámetros en el kernel:
Code: |
<M> Video For Linux
[*] Enable Video For Linux API 1 (DEPRECATED)
[*] Video capture adapters --->
[*] V4L USB devices --->
<M> GSPCA based webcams --->
<M> SPCA500 USB Camera Driver
<M> SPCA501 USB Camera Driver
<M> SPCA505 USB Camera Driver
<M> SPCA506 USB Camera Drive
<M> SPCA508 USB Camera Driver
<M> SPCA561 USB Camera Driver
<M> USB Logitech Quickcam Messenger
|
lsusb -v
Code: | Bus 005 Device 002: ID 046d:092c Logitech, Inc. QuickCam Chat |
y estos los módulos que tengo cargados:
Code: |
lsmod |grep gspca
gspca_spca561 6904 0
gspca_main 16152 1 gspca_spca561
videodev 34080 2 gspca_main,uvcvideo
usbcore 96816 10 gspca_spca561,gspca_main,uvcvideo,sl811_hcd,usbhid,ohci_hcd,uhci_hcd,usb_storage,ehci_hcd
|
Intento acceder a la webcam a través de camstream pero no soy capaz de que se vea nada :s
Un Saludo! _________________ Registered Linux user #327019
JID: zenpipers#jabberes.org |
|
Back to top |
|
|
|
|
You cannot post new topics in this forum You cannot reply to topics in this forum You cannot edit your posts in this forum You cannot delete your posts in this forum You cannot vote in polls in this forum
|
|