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

Re: webcam logitech



On 9/22/05, David Ballano <ballano@ya.com> wrote:
> Hola jose y gente,
>
> He lanzado el quickcam.sh y esto es lo que me pasa:
>
> ./quickcam.sh
> -=- Logitech QuickCam USB camera driver installer -=-
> Hello! I am the (hopefully) easy-to-use, fully automated
> qc-usb driver installation script.
> At the moment, this is experimental, and if it doesn't work,
> don't hesitate to quit this with Ctrl+C and install the
> driver manually.
>
> The driver is provided in source code form, so it has to be
> compiled. This should happen automatically, but it does mean
> that there are some steps required before installation.
>
> You also need to know "root" user password to test and
> install the driver.
>
> Basically you need only to keep hitting Enter whenever you
> see this prompt: --->. Sometimes you're asked root password.
> Pay special attention to lines beginning with [!].
> It means that some trouble has been detected.
>
> To most important location is the path to your kernel source
> or headers. This can be guessed, but you can specify it by
> giving it as an argument to this script like this:
>         ./quickcam.sh LINUX_DIR=/usr/src/linux
>
> If you haven't done it yet, now it would be a good moment to
> take a look at file README.
>
> Next I'm going to check if you have some important programs installed
> and if they and the kernel are of suitable version.
> Press Ctrl+C to quit, Enter to continue --->
>
> ./quickcam.sh
> /usr/bin/whoami
> /bin/su
> /bin/ls
> /bin/cat
> /usr/bin/gcc
> /usr/bin/gcc
> /usr/bin/make
> /bin/grep
> /bin/egrep
> /usr/bin/awk
> /bin/sed
> /usr/bin/tail
> /usr/bin/head
> /usr/bin/install
> /usr/bin/ld
> /bin/uname
> /usr/bin/tr
> Warning: xawtv missing
> Warning: xdpyinfo missing

Instalate estos dos programas

> /bin/dmesg
> /usr/bin/wc
> [!] Some important programs can not be found on default path.
> Probably they aren't installed.
> You should install them, for example, by using apt-get or rpm.
> WARNING: If you press Enter, I'll try to continue anyway,
> but this probably will fail. You SHOULD press Ctrl+C now.
> Press Ctrl+C to quit, Enter to continue --->
>
> /bin/readlink
> gcc version:
> gcc version:
> Make version: GNU Make 3.80
> Linker version: GNU ld versión 2.15
> Kernel compiler: gcc version 3.3.5 (Debian 1:3.3.5-12)
> [!] Kernel compiler and gcc seem to be different versions.

Distintas versiones de los compiladores?

> Instead, they should be the same. If you have many compilers
> installed, you can specify the correct one with command (in bash)
>         export CC=kgcc
> before trying to install the driver. Replace kgcc with the command
> required for compiling kernels (kgcc is often used in Red Hat systems).
> WARNING: If you press Enter, I'll try to continue anyway,
> but this probably will fail. You SHOULD press Ctrl+C now.
> Press Ctrl+C to quit, Enter to continue --->
>
> Looking for more necessary programs...
> Found program /sbin/depmod
> Found program /sbin/insmod
> Found program /sbin/rmmod
> Found program /sbin/modprobe
> Found program /bin/mount
> Found program /usr/bin/lsusb
> depmod version: module-init-tools 3.2-pre1
> insmod version: insmod version 2.4.26
> rmmod version: rmmod version 2.4.26
> modprobe version: modprobe version 2.4.26
> Checking whether we're root... david

Parece que tienes que estar como root

> Checking for driver source code...
> Checking for write permission...
> [!] Current directory not writable
> You don't seem to have write permission to the current directory
> (/usr/src/modules/qc-usb-source)

Sip, tienes que estar como root. No tienes permisos para escritura con
tu usuario.

> WARNING: If you press Enter, I'll try to continue anyway,
> but this probably will fail. You SHOULD press Ctrl+C now.
> Press Ctrl+C to quit, Enter to continue --->
>
>
> Previous round done. Now checking if you have kernel source installed.
> Press Ctrl+C to quit, Enter to continue --->
>
> Kernel source directory: /lib/modules/2.4.27-2-386/build
> Detected kernel version is 2.4.x.
> Kernel version name: 2.4.27-2-386
> Kernel source version code: 132123
> Driver file name: quickcam.o
> Module install directory: /lib/modules/2.4.27-2-386
> Driver source directory (PWD):         /usr/src/modules/qc-usb-source
> Kernel source directory (LINUX_DIR):   /lib/modules/2.4.27-2-386/build
> Module install directory (MODULE_DIR): /lib/modules/2.4.27-2-386
> Utility install directory (PREFIX):    /usr/local
> User options (USER_OPT):
> Driver file name (use with insmod):    quickcam.o
> Kernel version code:                   132123
> [!] Using module-init-tools with 2.4.x/2.2.x kernel.
> These kernels require older modutils.
> WARNING: If you press Enter, I'll try to continue anyway,
> but this probably will fail. You SHOULD press Ctrl+C now.
> Press Ctrl+C to quit, Enter to continue --->
>
>
> The QuickCam driver requires other drivers from kernel.
> I'll now check if those seem to be loaded.
> Press Ctrl+C to quit, Enter to continue --->
>
> Modules loaded into the kernel:
> videodev ehci-hcd usb-uhci usbcore i810_audio ac97_codec soundcore ide-scsi
> 8139too mii crc32 ohci1394 sr_mod sbp2 ieee1394 scsi_mod ide-cd cdrom rtc
> ext3 jbd ide-detect piix ide-disk ide-core unix
>
> Next round: let's see if you have a supported QuickCam.
> Please plug in your USB camera before continuing.
> Press Ctrl+C to quit, Enter to continue --->
>
> I can find the following probably compatible devices:
> [!] Didn't find compatible cameras.
> If you got message: "Permission denied", it means that
> you simply have too old lsusb, and you can ignore this problem.
> In this case you have to be root to use lsusb, but I won't do that.
> WARNING: If you press Enter, I'll try to continue anyway,
> but this probably will fail. You SHOULD press Ctrl+C now.
>
>
>
> Que raro no?, no es compatible???
>

Resuelve todos esos problemas que te da y vuelve a intentarlo :)

Saludos

--
Linux Registered User # 386081
A menudo unas pocas horas de "Prueba y error" podrán ahorrarte minutos
de leer manuales.



Reply to: