Dienstag, 14. April 2009

"qc-usb" Driver on Debian with 2.6 Kernel

The "qc-usb" driver is a driver for following webcames:
  • Dexxa Webcam
  • Labtec Webcam (old model)
  • LegoCam
  • Logitech QuickCam Express (old model)
  • Logitech QuickCam Notebook (some models)
  • Logitech QuickCam Web
Generally, any USB camera with a USB vendor ID of 0x46d and a USB product ID of 0x840, 0x850, or 0x870 (so, 0x46d:0x840, for example), should work

To install this on Debian with a 2.6 Kernel is a little bit tricky.
(Ok its very easy please scroll down...)

1. Get the Modul Source
apt-get install qc-usb-source

2. Get the Kernel Source
apt-get install linux-headers-2.6.26-1-686 linux-source-2.6.26

When you don't have 2.6.26 kernel you need to change this.
You can check the Kernel Version with "uname -a".

3. Decompress the Kernel Source and remove old linux folders
cd /usr/src
rmdir /usr/src/linux
tar xfvz linux-source-2.6.26.tar.bz2
ln -s /usr/src/linux-source-2.6.26 /usr/src/linux
cd /usr/src/linux
make oldconfig && make prepare

4. Decompress the Moduls and compile the Modul
cd /usr/src
bzip2 -d qc-usb.tar.bz2
tar xfvqc-usb.tar
cd /usr/src/modules/qc-usb
make all

Or the simplest way use the following command:
apt-get install module-assistant
module-assistant auto-install qc-usb

Don't forget to load the kernel modul qc-usb with:
modprobe quickcam

Keine Kommentare:

Kommentar veröffentlichen