LinuxQuestions.org
Review your favorite Linux distribution.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Hardware
User Name
Password
Linux - Hardware This forum is for Hardware issues.
Having trouble installing a piece of hardware? Want to know if that peripheral is compatible with Linux?

Notices


Reply
  Search this Thread
Old 03-06-2005, 04:12 PM   #1
greenbox
Member
 
Registered: Jan 2005
Location: Not up there but not down there!
Posts: 94

Rep: Reputation: 15
how to get labtec webcam to work?


i got a labtec webcam pro. it isnt plug and play. i have searched for drivers, and have found none. please help me. thanx in advance!
 
Old 03-07-2005, 05:15 PM   #2
Peacedog
LQ Guru
 
Registered: Sep 2003
Location: Danville, VA
Distribution: Slackware, Windows, FreeBSD, OpenBSD, Mac OS X
Posts: 5,296

Rep: Reputation: 168Reputation: 168
One of these may help.

http://www.belgeler.linux-sevenler.o...id=415&lang=en

http://mirror.switch.ch/ftp/doc/Linu...O/Webcam-HOWTO

good luck.
 
Old 03-07-2005, 08:01 PM   #3
greenbox
Member
 
Registered: Jan 2005
Location: Not up there but not down there!
Posts: 94

Original Poster
Rep: Reputation: 15
thanx for the reply! i'll post my results.
 
Old 03-08-2005, 04:19 PM   #4
greenbox
Member
 
Registered: Jan 2005
Location: Not up there but not down there!
Posts: 94

Original Poster
Rep: Reputation: 15
Code:
[root@localhost ~]# cd Desktop
[root@localhost Desktop]# ls
camdrivr    floppy.desktop  qc-usb-0.6.2      Trash
CD.desktop  Home.desktop    spca5xx-20050301
[root@localhost Desktop]# cd qc-usb-0.6.2
[root@localhost qc-usb-0.6.2]# ./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 --->

/root/Desktop/qc-usb-0.6.2/quickcam.sh
/usr/bin/whoami
/bin/su
/bin/ls
/bin/cat
/usr/bin/gcc
/usr/bin/gcc
/usr/bin/make
/bin/grep
/bin/egrep
/bin/awk
/bin/sed
/usr/bin/tail
/usr/bin/head
/usr/bin/install
/usr/bin/ld
/bin/uname
/usr/bin/tr
which: no xawtv in (/usr/kerberos/sbin:/usr/kerberos/bin:/usr/local/sbin:/usr/local/bin:/sbin:/bin:/usr/sbin:/usr/bin:/usr/X11R6/bin:/root/bin)
Warning: xawtv missing
/usr/X11R6/bin/xdpyinfo
/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 --->
then i press crtl+c
 
Old 03-08-2005, 05:08 PM   #5
Peacedog
LQ Guru
 
Registered: Sep 2003
Location: Danville, VA
Distribution: Slackware, Windows, FreeBSD, OpenBSD, Mac OS X
Posts: 5,296

Rep: Reputation: 168Reputation: 168
It looks like you need to install xawtv. Then try the script again.
good luck.
 
Old 03-09-2005, 05:57 PM   #6
greenbox
Member
 
Registered: Jan 2005
Location: Not up there but not down there!
Posts: 94

Original Poster
Rep: Reputation: 15
i type this:
Code:
[root@localhost /]# cd /home/david
[root@localhost david]# ls
Desktop  Firefox_wallpaper.png  qc-usb-0.6.2
[root@localhost david]# cd qc-usb-0.6.2
[root@localhost qc-usb-0.6.2]# ls
APPLICATIONS                  qc-driver.o   qc-pb0100.o     quickcam.sh
COPYING                       qc-formats.c  qcset           README
CREDITS                       qc-formats.o  qcset.c         README.qce
debug.sh                      qc-hdcs.c     qc-vv6410.c     show.c
FAQ                           qc-hdcs.o     qc-vv6410.o     testquickcam
freeshm.sh                    qc-memory.c   qcweb-info.txt  TODO
linux-2.4.20-quickcam.patch   qc-memory.h   quickcam.h      videodev2.h
linux-2.6.7-quickcam.patch    qc-memory.o   quickcam.ko     videodevfix.h
linux-2.6.8.1-quickcam.patch  qc-mjpeg.c    quickcam.mod.c
Makefile                      qc-mjpeg.o    quickcam.mod.o
qc-driver.c                   qc-pb0100.c   quickcam.o
[root@localhost qc-usb-0.6.2]# ./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 --->

/home/david/qc-usb-0.6.2/quickcam.sh
/usr/bin/whoami
/bin/su
/bin/ls
/bin/cat
/usr/bin/gcc
/usr/bin/gcc
/usr/bin/make
/bin/grep
/bin/egrep
/bin/awk
/bin/sed
/usr/bin/tail
/usr/bin/head
/usr/bin/install
/usr/bin/ld
/bin/uname
/usr/bin/tr
/usr/local/bin/xawtv
/usr/X11R6/bin/xdpyinfo
/bin/dmesg
/usr/bin/wc
which: no realpath in (/usr/kerberos/sbin:/usr/kerberos/bin:/usr/local/sbin:/usr/local/bin:/sbin:/bin:/usr/sbin:/usr/bin:/usr/X11R6/bin:/root/bin)
which: no realpath in (/usr/local/bin)
/usr/bin/readlink
gcc version: gcc version 3.4.2 20041017 (Red Hat 3.4.2-6.fc3)
gcc version: gcc version 3.4.2 20041017 (Red Hat 3.4.2-6.fc3)
Make version: GNU Make 3.80
Linker version: GNU ld version 2.15.92.0.2 20040927
Kernel compiler: gcc version 3.4.2 20041017 (Red Hat 3.4.2-6.fc3)
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 /sbin/lsusb
depmod version: module-init-tools 3.1-pre5
insmod version: module-init-tools version 3.1-pre5
rmmod version: module-init-tools version 3.1-pre5
modprobe version: module-init-tools version 3.1-pre5
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.6.9-1.667/build
Detected kernel version is 2.6.x.
Kernel version name: 2.6.9-1.667
Kernel source version code: 132617
Driver file name: quickcam.ko
Module install directory: /lib/modules/2.6.9-1.667
Driver source directory (PWD):         /home/david/qc-usb-0.6.2
Kernel source directory (LINUX_DIR):   /lib/modules/2.6.9-1.667/build
Module install directory (MODULE_DIR): /lib/modules/2.6.9-1.667
Utility install directory (PREFIX):    /usr/local
User options (USER_OPT):
Driver file name (use with insmod):    quickcam.ko
Kernel version code:                   132617

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:
parport_pc lp parport autofs4 i2c_dev i2c_core sunrpc ipt_REJECT ipt_state ip_conntrack iptable_filter ip_tables reiserfs button battery ac md5 ipv6 joydev ohci1394 ieee1394 uhci_hcd snd_intel8x0 snd_ac97_codec snd_pcm_oss snd_mixer_oss snd_pcm snd_timer snd_page_alloc gameport snd_mpu401_uart snd_rawmidi snd_seq_device snd soundcore 8139too mii floppy dm_snapshot dm_zero dm_mirror ext3 jbd dm_mod
[!] Linux video driver appears to be not loaded.
You could load it as root with command:
        modprobe videodev
(but I can do it for you automatically)
I will now try to load the missing modules.
Type root password and press Enter (or Ctrl+D to abort).
=== Entering root mode ===
Now you will see some error messages.
They are probably harmless and you can ignore them
(until leaving root mode).
FATAL: Module usbcore not found.
FATAL: Module hc_sl811 not found.
=== Leaving root mode ===
Modules loaded now into the kernel:
videodev ohci_hcd parport_pc lp parport autofs4 i2c_dev i2c_core sunrpc ipt_REJECT ipt_state ip_conntrack iptable_filter ip_tables reiserfs button battery ac md5 ipv6 joydev ohci1394 ieee1394 uhci_hcd snd_intel8x0 snd_ac97_codec snd_pcm_oss snd_mixer_oss snd_pcm snd_timer snd_page_alloc gameport snd_mpu401_uart snd_rawmidi snd_seq_device snd soundcore 8139too mii floppy dm_snapshot dm_zero dm_mirror ext3 jbd dm_mod

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 --->
then ctrl+c
 
Old 03-09-2005, 06:03 PM   #7
Peacedog
LQ Guru
 
Registered: Sep 2003
Location: Danville, VA
Distribution: Slackware, Windows, FreeBSD, OpenBSD, Mac OS X
Posts: 5,296

Rep: Reputation: 168Reputation: 168
Looks like you might need a couple of modules loaded. What does

/sbin/lsmod

return.
good luck.
 
Old 03-10-2005, 02:44 PM   #8
greenbox
Member
 
Registered: Jan 2005
Location: Not up there but not down there!
Posts: 94

Original Poster
Rep: Reputation: 15
[root@localhost ~]# /sbin/lsmod
Module Size Used by
parport_pc 24705 1
lp 11565 0
parport 41737 2 parport_pc,lp
autofs4 24005 0
i2c_dev 10433 0
i2c_core 22081 1 i2c_dev
sunrpc 160421 1
ipt_REJECT 6465 1
ipt_state 1857 1
ip_conntrack 40693 1 ipt_state
iptable_filter 2753 1
ip_tables 16193 3 ipt_REJECT,ipt_state,iptable_filter
reiserfs 244245 1
button 6481 0
battery 8517 0
ac 4805 0
md5 4033 1
ipv6 232577 10
joydev 8705 0
ohci1394 35033 0
ieee1394 302869 1 ohci1394
uhci_hcd 31449 0
snd_intel8x0 34829 0
snd_ac97_codec 64401 1 snd_intel8x0
snd_pcm_oss 47609 0
snd_mixer_oss 17217 1 snd_pcm_oss
snd_pcm 97993 2 snd_intel8x0,snd_pcm_oss
snd_timer 29765 1 snd_pcm
snd_page_alloc 9673 2 snd_intel8x0,snd_pcm
gameport 4801 1 snd_intel8x0
snd_mpu401_uart 8769 1 snd_intel8x0
snd_rawmidi 26725 1 snd_mpu401_uart
snd_seq_device 8137 1 snd_rawmidi
snd 54053 9 snd_intel8x0,snd_ac97_codec,snd_pcm_oss,snd_mixer_oss,snd_pcm,snd_timer,snd_mpu401_uart,snd_rawmidi, snd_seq_device
soundcore 9889 1 snd
8139too 26305 0
mii 4673 1 8139too
floppy 58609 0
dm_snapshot 17029 0
dm_zero 2369 0
dm_mirror 23341 2
ext3 116809 2
jbd 74969 1 ext3
dm_mod 54741 6 dm_snapshot,dm_zero,dm_mirror
[root@localhost ~]#
 
Old 03-10-2005, 05:22 PM   #9
Peacedog
LQ Guru
 
Registered: Sep 2003
Location: Danville, VA
Distribution: Slackware, Windows, FreeBSD, OpenBSD, Mac OS X
Posts: 5,296

Rep: Reputation: 168Reputation: 168
Have you seen these?

http://qce-ga.sourceforge.net/

http://qce-ga.sourceforge.net/faq.html

good luck.
 
Old 03-10-2005, 06:41 PM   #10
greenbox
Member
 
Registered: Jan 2005
Location: Not up there but not down there!
Posts: 94

Original Poster
Rep: Reputation: 15
yes. i went there again, and i used this driver:


Note that some new Logitech QuickCam Expresses and Labtec cameras are reported not to work which have ProductId 921 or 920. For those cameras here is an experimental driver.

i went where they had the "here" link, and typed make clean, make, make install.
that seemed to do something. but how can i be sure?
 
Old 03-11-2005, 06:33 AM   #11
Peacedog
LQ Guru
 
Registered: Sep 2003
Location: Danville, VA
Distribution: Slackware, Windows, FreeBSD, OpenBSD, Mac OS X
Posts: 5,296

Rep: Reputation: 168Reputation: 168
If you didn't get any errors that means the commands ran and did what they were supposed to do.
good luck.
 
Old 03-11-2005, 08:57 PM   #12
greenbox
Member
 
Registered: Jan 2005
Location: Not up there but not down there!
Posts: 94

Original Poster
Rep: Reputation: 15
i didnt get any errors
what program should i use to work with the webcam?
 
Old 03-21-2005, 11:22 AM   #13
Peacedog
LQ Guru
 
Registered: Sep 2003
Location: Danville, VA
Distribution: Slackware, Windows, FreeBSD, OpenBSD, Mac OS X
Posts: 5,296

Rep: Reputation: 168Reputation: 168
Here is more info.

http://www.linux.com/howtos/Webcam-HOWTO/index.shtml

http://www.linux.com/howtos/Webcam-H...bers.shtml#GUI

good luck.
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
I don't get my webcam to work wjleon Linux - Hardware 0 04-15-2005 10:15 AM
How to install a Labtec webcam? jayhel Slackware 3 03-14-2005 10:17 PM
Labtec Webcam Rh9 2.4.20-6 install help konflict676 Linux - Hardware 0 07-28-2004 10:47 AM
Labtec Webcam No Drivers Either Kryptow Linux - Hardware 0 10-13-2002 04:18 AM
Labtec Webcam.........Can it work? Kryptow Linux - Hardware 3 09-16-2002 10:42 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Hardware

All times are GMT -5. The time now is 01:25 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration