Re: [Hampshire] usb webcam drivers

Top Page

Reply to this message
Author: Andrew Rogers
Date:  
To: Hampshire LUG Discussion List
Subject: Re: [Hampshire] usb webcam drivers
On Sun, 2007-04-08 at 19:45 -0500, Mike Burrows wrote:
> Hello folks. I've downloaded what I think is the latest driver for my
> webcam but get this stuff when I try and "make" the file.
>
>
>
> marvin:/tmp/qc-usb-0.6.5# make
> awk: cmd. line:1: fatal: cannot open file
> `/lib/modules/2.6.8-3-386/build/include/linux/version.h' for reading (No
> such file or directory)
> /bin/sh: line 1: [: -ge: unary operator expected
> /bin/sh: line 1: [: -ge: unary operator expected
> -=- Logitech QuickCam USB camera driver -=-
>
> Makefile target examples:
> make all - Compile driver and utilities against current running kernel
> make all USER_OPT=-DDEBUG - Compile with debugging code and messages
> make all LINUX_DIR=/usr/src/linux - Compile against specified kernel
> source
> make install - Copy driver and utilities into standard locations (needs
> root)
> make install PREFIX=/usr - Copy utilities to /usr/bin instead
> of /usr/local/bin
> make install MODULE_DIR=/lib/modules/2.4.0 - Copy module
> to /lib/modules/2.4.0/misc
> make clean - Remove object files from the source directory
>
> Current configuration:
> Driver source directory (PWD):         /tmp/qc-usb-0.6.5
> Kernel source directory (LINUX_DIR):   /lib/modules/2.6.8-3-386/build
> Module install directory (MODULE_DIR): /lib/modules/2.6.8-3-386
> Utility install directory (PREFIX):    /usr/local
> User options (USER_OPT):               -DHAVE_UTSRELEASE_H=
> Driver file name (use with insmod):    quickcam.o
> Kernel version code:
> marvin:/tmp/qc-usb-0.6.5#     

>
> using make is recommended by the readme file. I'm guessing that the
> 2.6.8-3-386 kernel is too modern for the driver but other than that, I
> don't know why the file wont compile.
>
> Any help gratefully received.
>
> TIA
> Mike
>
>


Mike,
    dare I say if you used ubuntu the correct kernel module is there
waiting to be automatically loaded when you connect the camera.  Im
currently using feisty beta and it just works.  see below:-


andrew@bigblue:~$ lsusb
Bus 002 Device 002: ID 046d:0850 Logitech, Inc. QuickCam Web

andrew@bigblue:~$ lsmod
quickcam               71204  0


andrew@bigblue:~$ uname -a
Linux bigblue 2.6.20-14-386 #2 Mon Apr 2 20:34:35 UTC 2007 i686
GNU/Linux

It has also been working without problems in the previous 3 releases
from ubuntu. If you still wish to compile the module I think you need
to install the correct kernel headers as Al says in his post.

Andy Rogers