LinuxQuestions.org
Welcome to the most active Linux Forum on the web.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Slackware
User Name
Password
Slackware This Forum is for the discussion of Slackware Linux.

Notices

Reply
 
LinkBack Search this Thread
Old 08-22-2007, 11:02 AM   #1
Zmyrgel
Senior Member
 
Registered: Dec 2005
Location: Finland
Distribution: Slackware, Ubuntu, OpenBSD
Posts: 1,004

Rep: Reputation: 36
Getting webcam to work


I trying to get my Logitech webcam to work with my Slack 12.0 desktop but haven't been succesfull so far.

I downloaded the source from http://qce-ga.sourceforge.net/ but when I try to compile it I get:
Code:
R(s)=#s" -D"KBUILD_BASENAME=KBUILD_STR(qc_driver)"  -D"KBUILD_MODNAME=KBUILD_STR(quickcam)" -c -o /home/zmyrgel/src/qc-usb-0.6.5/qc-driver.o /home/zmyrgel/src/qc-usb-0.6.5/qc-driver.c
In file included from /home/zmyrgel/src/qc-usb-0.6.5/qc-driver.c:47:
/home/zmyrgel/src/qc-usb-0.6.5/quickcam.h:79:26: error: linux/config.h: No such file or directory
/home/zmyrgel/src/qc-usb-0.6.5/qc-driver.c: In function 'qc_i2c_init':
/home/zmyrgel/src/qc-usb-0.6.5/qc-driver.c:825: warning: assignment from incompatible pointer type
/home/zmyrgel/src/qc-usb-0.6.5/qc-driver.c: In function 'qc_isoc_start':
/home/zmyrgel/src/qc-usb-0.6.5/qc-driver.c:1867: warning: assignment from incompatible pointer type
make[2]: *** [/home/zmyrgel/src/qc-usb-0.6.5/qc-driver.o] Error 1
make[1]: *** [_module_/home/zmyrgel/src/qc-usb-0.6.5] Error 2
make[1]: Leaving directory `/usr/src/linux-2.6.21.5'
make: *** [quickcam.ko] Error 2
zmyrgel@p180:~/src/qc-usb-0.6.5$
I run the stock kernel 2.6.21.5-smp with the kernel source package installed.
 
Old 08-22-2007, 12:16 PM   #2
gbonvehi
Senior Member
 
Registered: Jun 2004
Location: Argentina (SR, LP)
Distribution: Slackware
Posts: 3,145

Rep: Reputation: 51
Try this version: http://prdownloads.sourceforge.net/q...ar.gz?download
There's a new release that fixes that, but the page is not updated to reflect it.
 
Old 01-17-2008, 06:50 PM   #3
cornmeal2k
LQ Newbie
 
Registered: Jan 2008
Distribution: Slackware 12
Posts: 11

Rep: Reputation: 0
Question

Did you get this working? I have the Quickcam 4000 Pro. I can see the camera listed in lsusb, however I can't capture an image using Kooka(in KDE). I also tried using it in Gyachi, but the webcam window never pops up when I choose "start webcam".

I'm using, Slackware 12. I even did cat /dev/video0 > arse.tmp and there's data going into the .tmp file, so it seems like the camera is communicating with Linux, but nothing showing up in KDE(kind of like your problem).

AFAIK, I have all I need to use the camera.

Any suggestions?
 
Old 01-18-2008, 12:43 PM   #4
cornmeal2k
LQ Newbie
 
Registered: Jan 2008
Distribution: Slackware 12
Posts: 11

Rep: Reputation: 0
Just an update: I loaded up Knoppix off CD-Rom and ran xcam to try and capture from my webcam again. Gave me a pop-up error saying "invalid argument" or some such. Most likely I'm thinking it's something wrong with the driver I have for the Quickcam, but I do have the most current PWC installed(in Slackware at least). Maybe I should try updating it anyway... Knoppix is likely using the same version as Slackware 12 comes with. Webcam works fine in Windows.

Quote:
Originally Posted by cornmeal2k View Post
Did you get this working? I have the Quickcam 4000 Pro. I can see the camera listed in lsusb, however I can't capture an image using Kooka(in KDE). I also tried using it in Gyachi, but the webcam window never pops up when I choose "start webcam".

I'm using, Slackware 12. I even did cat /dev/video0 > arse.tmp and there's data going into the .tmp file, so it seems like the camera is communicating with Linux, but nothing showing up in KDE(kind of like your problem).

AFAIK, I have all I need to use the camera.

Any suggestions?
 
Old 01-18-2008, 02:19 PM   #5
Alien Bob
Slackware Contributor
 
Registered: Sep 2005
Location: Eindhoven, The Netherlands
Distribution: Slackware
Posts: 4,035

Rep: Reputation: Disabled
I use the pwc driver for my Philips Web Cam. It works perfectly, but you have to realize that your X Window system must cooperate! If your X video driver does not support or is not configured for video overlay (or the application is not configured to use it), there is little chance that you will see anything but a blue or black rectangle.

I have packages for several applications that I used to test my webcam's functionality. Ekiga is a video conferencing app which is great with this webcam. VLC will accept inpu from the video device too. And tvtime/xawtv/xdtv are programs that are meant to be used with a TV card but that also accept webcam input.
Most important is to look at your video overlay settings though.

Eric
 
Old 01-18-2008, 02:44 PM   #6
cwwilson721
Senior Member
 
Registered: Dec 2004
Location: In my house.
Distribution: Ubuntu 10.10 64bit, Slackware 13.1 64-bit
Posts: 2,649
Blog Entries: 1

Rep: Reputation: 65
I agree with alien. Try that stuff first.

One other thing to check (which I forgot to do!!). Make sure you are in the 'video' group, otherwise, no video...lol

But are you sure your webcam is supposed to use the pwc driver/module? Mine uses gspcav, as does 5 other webcams I have here at the house (A Logitech IM, Creative Notebook Pro, and a few others.) Just one more option to think about
 
Old 01-18-2008, 06:00 PM   #7
cornmeal2k
LQ Newbie
 
Registered: Jan 2008
Distribution: Slackware 12
Posts: 11

Rep: Reputation: 0
Thanks for the replies. I have an old Geforce 2 ULTRA in the machine, so maybe it's misconfigured or doesn't supportthe overlay as you mentioned. Another thing, is the "video" group. I am trying to get it working as root, but will make a user in the "video" group and see if that makes a difference. It'd be great to get it working!
 
Old 01-21-2008, 01:20 PM   #8
cornmeal2k
LQ Newbie
 
Registered: Jan 2008
Distribution: Slackware 12
Posts: 11

Rep: Reputation: 0
making a user in "video" group didn't work for me, so it must be the overlay issue. I'll try another video card later. Thanks again for the replies.
 
Old 05-12-2008, 08:19 PM   #9
cornmeal2k
LQ Newbie
 
Registered: Jan 2008
Distribution: Slackware 12
Posts: 11

Rep: Reputation: 0
Question

Back on this subject(been a few months I know), I've upgraded from the Geforce 2 to a Geforce 4ti 4800 SE. Still just a black video window. If it's the video overlay settings, how can I change them? I tried looking through xorg.conf and the nvidia settings, but haven't found anything hinting at changing those settings(unless it's just totally unsupported on this card too)

Quote:
Originally Posted by Alien Bob View Post
I use the pwc driver for my Philips Web Cam. It works perfectly, but you have to realize that your X Window system must cooperate! If your X video driver does not support or is not configured for video overlay (or the application is not configured to use it), there is little chance that you will see anything but a blue or black rectangle.

I have packages for several applications that I used to test my webcam's functionality. Ekiga is a video conferencing app which is great with this webcam. VLC will accept inpu from the video device too. And tvtime/xawtv/xdtv are programs that are meant to be used with a TV card but that also accept webcam input.
Most important is to look at your video overlay settings though.

Eric
 
Old 05-12-2008, 08:47 PM   #10
SqdnGuns
Member
 
Registered: Aug 2005
Location: Fountain Valley, CA / Thailand
Distribution: Slackware64® Current
Posts: 905

Rep: Reputation: 73
I have my Quickcam Pro 9000 working flawlessly using the directions found here:

http://blog.gnist.org/article.php?st...uickCamPro9000
 
  


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
Trackbacks are Off
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
My webcam does not work neither do these instructions gregorian Linux - Hardware 1 02-15-2007 02:16 AM
My webcam doesn't work krlostr Linux - Hardware 12 02-04-2007 08:38 PM
Why won't my webcam work? Lannix Linux - Hardware 3 01-22-2007 02:36 PM
I don't get my webcam to work wjleon Linux - Hardware 0 04-15-2005 10:15 AM
Labtec Webcam.........Can it work? Kryptow Linux - Hardware 3 09-16-2002 10:42 AM


All times are GMT -5. The time now is 09:53 AM.

Main Menu
 
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
identi.ca: @linuxquestions
Facebook: @linuxquestions
Open Source Consulting | Domain Registration