Menu

qc-usb-0.6.3

2006-01-09
2013-06-03
  • Nobody/Anonymous

    -=- 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 --->

    /root/Archivos/Bajados/Driver_Camara/qc-usb-0.6.3/quickcam.sh
    /usr/bin/whoami
    /bin/su
    /usr/bin/ls
    /usr/bin/cat
    /usr/bin/gcc
    /usr/bin/gcc
    /usr/bin/make
    /usr/bin/grep
    /usr/bin/egrep
    /usr/bin/awk
    /usr/bin/sed
    /usr/bin/tail
    /usr/bin/head
    /usr/bin/install
    /usr/bin/ld
    /usr/bin/uname
    /usr/bin/tr
    /usr/local/bin/xawtv
    /usr/X11R6/bin/xdpyinfo
    /bin/dmesg
    /usr/bin/wc
    which: no realpath in (/usr/local/sbin:/usr/sbin:/sbin:/usr/local/bin:/usr/bin:/bin:/usr/X11R6/bin:/usr/games:/opt/www/htdig/bin:/usr/lib/java/bin:/usr/lib/java/jre/bin:/opt/kde/bin:/usr/lib/qt/bin:/usr/share/texmf/bin)
    which: no realpath in (/usr/local/bin)
    /usr/bin/readlink
    gcc version: gcc version 3.3.6
    gcc version: gcc version 3.3.6
    Make version: GNU Make 3.80
    Linker version: GNU ld version 2.15.92.0.2 20040927
    Kernel compiler: gcc version 3.3.5
    [!] Kernel compiler and gcc seem to be different versions.
    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 /sbin/mount
    Found program /sbin/lsusb
    depmod version: module-init-tools 3.1
    insmod version: insmod version 2.4.27
    rmmod version: rmmod version 2.4.27
    modprobe version: modprobe version 2.4.27
    Checking whether we're root... root
    [!] Running script as root.
    You shouldn't run this script as root. It should work,
    but is unsafe. Please run this as an ordinary user.
    When root access is really needed, you will be prompted
    for the root password.
    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 --->             

    Checking for driver source code...
    Checking for write permission...

    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.31/build
    Detected kernel version is 2.4.x.
    Kernel version name: 2.4.31
    Kernel source version code: 132127
    Driver file name: quickcam.o
    Module install directory: /lib/modules/2.4.31
    Driver source directory (PWD):         /root/Archivos/Bajados/Driver_Camara/qc-usb-0.6.3
    Kernel source directory (LINUX_DIR):   /lib/modules/2.4.31/build
    Module install directory (MODULE_DIR): /lib/modules/2.4.31
    Utility install directory (PREFIX):    /usr/local
    User options (USER_OPT):
    Driver file name (use with insmod):    quickcam.o
    Kernel version code:                   132127
    [!] 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:
    quickcam videodev snd-pcm-oss snd-mixer-oss CDCEther acm printer uhci usbcore snd-intel8x0 snd-ac97-codec snd-pcm snd-timer snd soundcore snd-page-alloc pcmcia_core ntfs ide-scsi agpgart
    [!] The QuickCam driver is already loaded!
    You should first remove the (old?) module by issuing
            rmmod mod_quickcam || rmmod quickcam
    as root, otherwise I will fail to install the new module.
    I will now try to unload it for you automatically,
    if you just give me the root password (Ctrl+D to cancel):
    === Entering root mode ===
    Trying to unload QuickCam driver...
    === Leaving root mode ===

    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 --->       

    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.
    Press Ctrl+C to quit, Enter to continue --->           

    Another round done. Let's now compile the driver, it takes a while.
    This step will also clear old unnecessary files from the directory.
    Press Ctrl+C to quit, Enter to continue --->           

    rm -f *.o qcset show *~ .\#* .*.cmd *.mod.c *.ko
    rm -rf .tmp_versions
    gcc -I/lib/modules/2.4.31/build/include -nostdinc -iwithprefix include -DMODULE -D__KERNEL__ -DNOKERNEL -O2 -fomit-frame-pointer -fno-strict-aliasing -fno-common -Wall -Wstrict-prototypes -Wno-trigraphs  -pipe -c qc-driver.c
    gcc -I/lib/modules/2.4.31/build/include -nostdinc -iwithprefix include -DMODULE -D__KERNEL__ -DNOKERNEL -O2 -fomit-frame-pointer -fno-strict-aliasing -fno-common -Wall -Wstrict-prototypes -Wno-trigraphs  -pipe -c qc-hdcs.c
    gcc -I/lib/modules/2.4.31/build/include -nostdinc -iwithprefix include -DMODULE -D__KERNEL__ -DNOKERNEL -O2 -fomit-frame-pointer -fno-strict-aliasing -fno-common -Wall -Wstrict-prototypes -Wno-trigraphs  -pipe -c qc-pb0100.c
    gcc -I/lib/modules/2.4.31/build/include -nostdinc -iwithprefix include -DMODULE -D__KERNEL__ -DNOKERNEL -O2 -fomit-frame-pointer -fno-strict-aliasing -fno-common -Wall -Wstrict-prototypes -Wno-trigraphs  -pipe -c qc-vv6410.c
    gcc -I/lib/modules/2.4.31/build/include -nostdinc -iwithprefix include -DMODULE -D__KERNEL__ -DNOKERNEL -O2 -fomit-frame-pointer -fno-strict-aliasing -fno-common -Wall -Wstrict-prototypes -Wno-trigraphs  -pipe -c qc-formats.c
    gcc -I/lib/modules/2.4.31/build/include -nostdinc -iwithprefix include -DMODULE -D__KERNEL__ -DNOKERNEL -O2 -fomit-frame-pointer -fno-strict-aliasing -fno-common -Wall -Wstrict-prototypes -Wno-trigraphs  -pipe -c qc-mjpeg.c
    gcc -I/lib/modules/2.4.31/build/include -nostdinc -iwithprefix include -DMODULE -D__KERNEL__ -DNOKERNEL -O2 -fomit-frame-pointer -fno-strict-aliasing -fno-common -Wall -Wstrict-prototypes -Wno-trigraphs  -pipe -c qc-memory.c
    qc-memory.c:73:2: warning: #warning "HAVE_VMA=0"
    ld -r -o quickcam.o qc-driver.o qc-hdcs.o qc-pb0100.o qc-vv6410.o qc-formats.o qc-mjpeg.o qc-memory.o
    gcc -Wall -O2 -s qcset.c -o qcset -lm
    -rw-r--r--  1 root root 80764 2006-01-08 21:27 quickcam.o

    Now everything should be well and the driver compiled.
    Let's then try actually loading the fresh driver and testing
    if it works.
    Press Ctrl+C to quit, Enter to continue --->                          

    To load the driver, I need to know the root password.
    === Entering root mode ===
    Now I finally will try to load the module.
    If you're unlucky, your computer might crash right now!!!!
    Consider long if you really want to continue.
    Press Ctrl+C to quit, Enter to continue --->   

    ou decided to do it, here we go...
    === Leaving root mode ===
    The driver detected the following supported cameras:
    [!] No cameras detected.
    Try unloading and reloading the driver manually with
            rmmod quickcam; insmod ./quickcam.o debug=-1
    and then checking whether there are any messages indicating
    problems with command
            dmesg
    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 --->       

    definitively it did not find camara... some idea of because no????

    with lsusb show me this:

    Bus 002 Device 001: ID 0000:0000
    Bus 002 Device 002: ID 07b2:5100 Motorola BCS, Inc. SurfBoard SB5100 Cable Modem
    Bus 001 Device 001: ID 0000:0000
    Bus 001 Device 002: ID 049f:001e Compaq Computer Corp.
    Bus 001 Device 003: ID 046d:0928 Logitech, Inc.

    my web cam is a logitech: WEB CAM LOGITECH QUICK CAM EXPRESS

    somebdoy can help me????, thanks

     
    • Nobody/Anonymous

      ProductId of your camera is 928 which is
      not supported by the qc-usb driver.

      Try the driver here instead:

      http://mxhaard.free.fr/download.html

       

Log in to post a comment.