Difference between revisions of "Logitech QuickCam Express"

From Organic Design wiki
m (Kernel driver)
m (Kernel driver)
 
(4 intermediate revisions by 2 users not shown)
Line 4: Line 4:
 
  Bus 001 Device 002: ID 046d:0870 Logitech, Inc. QuickCam Express
 
  Bus 001 Device 002: ID 046d:0870 Logitech, Inc. QuickCam Express
  
==Packages==
+
== Packages ==
  apt-get -y install build-essential gcc make linux-headers-2.6.18-6-686
+
  apt-get -y install build-essential gcc make linux-headers-2.6.18-6-686 qc-usb-utils
  
==Kernel driver==
+
== Kernel driver ==
 
*http://qce-ga.sourceforge.net/
 
*http://qce-ga.sourceforge.net/
 
  curl -O http://waix.dl.sourceforge.net/sourceforge/qce-ga/qc-usb-0.6.6.tar.gz
 
  curl -O http://waix.dl.sourceforge.net/sourceforge/qce-ga/qc-usb-0.6.6.tar.gz
 
  tar xzf qc-usb-0.6.6.tar.gz
 
  tar xzf qc-usb-0.6.6.tar.gz
 
  cd qc-usb-0.6.6
 
  cd qc-usb-0.6.6
 
+
 
Run ''make'' and you see
 
Run ''make'' and you see
 
<pre>
 
<pre>
Line 37: Line 37:
 
</pre>
 
</pre>
  
  make all && make install
+
  make all
 +
mkdir -p /lib/modules/2.6.18-6-686/misc/
 +
make install
 +
modprobe quickcam
 +
 
 +
You should now have a ''/dev/video0'' device.
 +
qcset -i
 +
Gives the device informaton. ''qcset'' gives control of a range of parameters to do with the webcam.
 +
[[Category:Rob]]
 +
 
 +
== See also ==
 +
*http://qce-ga.sourceforge.net/
 +
*http://linux-uvc.berlios.de/#documentation
 +
*http://www.mplayerhq.hu/design7/info.html#docs
 +
*http://gentoo-wiki.com/HOWTO_Install_a_webcam#Logitech
 +
*http://www.quickcamteam.net/hcl/linux/logitech-webcams
 +
[[Category:Linux]][[Category:Hardware]]

Latest revision as of 07:33, 16 November 2008

Logitec Quick Cam express USB camera under linux 2.6.18

colourbox:~# lsusb
Bus 001 Device 002: ID 046d:0870 Logitech, Inc. QuickCam Express

Packages

apt-get -y install build-essential gcc make linux-headers-2.6.18-6-686 qc-usb-utils

Kernel driver

curl -O http://waix.dl.sourceforge.net/sourceforge/qce-ga/qc-usb-0.6.6.tar.gz
tar xzf qc-usb-0.6.6.tar.gz
cd qc-usb-0.6.6

Run make and you see

-=- 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):         /root/qc-usb-0.6.6
Kernel source directory (LINUX_DIR):   /lib/modules/2.6.18-6-686/build
Module install directory (MODULE_DIR): /lib/modules/2.6.18-6-686
Utility install directory (PREFIX):    /usr/local
User options (USER_OPT):               -DHAVE_UTSRELEASE_H=1
Driver file name (use with insmod):    quickcam.ko
Kernel version code:                   132626

make all
mkdir -p /lib/modules/2.6.18-6-686/misc/
make install
modprobe quickcam

You should now have a /dev/video0 device.

qcset -i

Gives the device informaton. qcset gives control of a range of parameters to do with the webcam.

See also