LinuxQuestions.org
Visit Jeremy's Blog.
Home Forums Tutorials Articles Register
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
  Search this Thread
Old 09-26-2010, 01:36 PM   #1
Beauford2008
LQ Newbie
 
Registered: Sep 2008
Posts: 28

Rep: Reputation: 0
Trying to get my webcam to work.


I have been going around in circles for the past two hours trying to figure out how to get my webcam to work in Skype.

I found some info on this and downloaded libv4l and installed it, but in the test video in Skype there is no webcam listed.

It's been a while since I used Slackware, but do drivers not need to be loaded somewhere for this? Just not finding any info on exactly what I need to do?

Any help is appreciated. Running Slack 13.1 and have an older Logitech webcam.

Thanks

I just found a driver and tried to compile and get this.

include/linux/bitops.h:6:1: warning: this is the location of the previous definition
/home/beauford/Downloads/qc-usb-0.6.6/qc-driver.c:52:74: error: operator '==' has no left operand
/home/beauford/Downloads/qc-usb-0.6.6/qc-driver.c: In function 'qc_i2c_init':
/home/beauford/Downloads/qc-usb-0.6.6/qc-driver.c:824: error: 'struct urb' has no member named 'lock'
/home/beauford/Downloads/qc-usb-0.6.6/qc-driver.c:824: error: 'struct urb' has no member named 'lock'
/home/beauford/Downloads/qc-usb-0.6.6/qc-driver.c:825: warning: assignment from incompatible pointer type
/home/beauford/Downloads/qc-usb-0.6.6/qc-driver.c: In function 'qc_proc_read':
/home/beauford/Downloads/qc-usb-0.6.6/qc-driver.c:882: error: 'UTS_RELEASE' undeclared (first use in this function)
/home/beauford/Downloads/qc-usb-0.6.6/qc-driver.c:882: error: (Each undeclared identifier is reported only once
/home/beauford/Downloads/qc-usb-0.6.6/qc-driver.c:882: error: for each function it appears in.)
/home/beauford/Downloads/qc-usb-0.6.6/qc-driver.c: In function 'qc_proc_create':
/home/beauford/Downloads/qc-usb-0.6.6/qc-driver.c:997: error: 'struct proc_dir_entry' has no member named 'owner'
/home/beauford/Downloads/qc-usb-0.6.6/qc-driver.c: In function 'qc_proc_init':
/home/beauford/Downloads/qc-usb-0.6.6/qc-driver.c:1035: error: 'struct proc_dir_entry' has no member named 'owner'
/home/beauford/Downloads/qc-usb-0.6.6/qc-driver.c: In function 'qc_isoc_start':
/home/beauford/Downloads/qc-usb-0.6.6/qc-driver.c:1867: warning: assignment from incompatible pointer type
/home/beauford/Downloads/qc-usb-0.6.6/qc-driver.c: In function 'qc_v4l_poll':
/home/beauford/Downloads/qc-usb-0.6.6/qc-driver.c:2256: error: 'struct video_device' has no member named 'priv'
/home/beauford/Downloads/qc-usb-0.6.6/qc-driver.c: In function 'qc_v4l_open':
/home/beauford/Downloads/qc-usb-0.6.6/qc-driver.c:2308: error: 'struct video_device' has no member named 'priv'
/home/beauford/Downloads/qc-usb-0.6.6/qc-driver.c: In function 'qc_v4l_close':
/home/beauford/Downloads/qc-usb-0.6.6/qc-driver.c:2376: error: 'struct video_device' has no member named 'priv'
/home/beauford/Downloads/qc-usb-0.6.6/qc-driver.c: In function 'qc_v4l_read':
/home/beauford/Downloads/qc-usb-0.6.6/qc-driver.c:2424: error: 'struct video_device' has no member named 'priv'
/home/beauford/Downloads/qc-usb-0.6.6/qc-driver.c: In function 'qc_v4l_mmap':
/home/beauford/Downloads/qc-usb-0.6.6/qc-driver.c:2479: error: 'struct video_device' has no member named 'priv'
/home/beauford/Downloads/qc-usb-0.6.6/qc-driver.c: In function 'qc_v4l_ioctl':
/home/beauford/Downloads/qc-usb-0.6.6/qc-driver.c:2511: error: 'struct video_device' has no member named 'priv'
/home/beauford/Downloads/qc-usb-0.6.6/qc-driver.c:2529: error: 'struct video_device' has no member named 'type'
/home/beauford/Downloads/qc-usb-0.6.6/qc-driver.c: At top level:
/home/beauford/Downloads/qc-usb-0.6.6/qc-driver.c:3008: error: unknown field 'type' specified in initializer
/home/beauford/Downloads/qc-usb-0.6.6/qc-driver.c:3009: error: unknown field 'hardware' specified in initializer
/home/beauford/Downloads/qc-usb-0.6.6/qc-driver.c:3013: warning: initialization from incompatible pointer type
/home/beauford/Downloads/qc-usb-0.6.6/qc-driver.c: In function 'qc_usb_init':
/home/beauford/Downloads/qc-usb-0.6.6/qc-driver.c:3158: error: 'struct video_device' has no member named 'priv'
/home/beauford/Downloads/qc-usb-0.6.6/qc-driver.c: In function 'qc_usb_probe':
/home/beauford/Downloads/qc-usb-0.6.6/qc-driver.c:3281: error: 'UTS_RELEASE' undeclared (first use in this function)
make[2]: *** [/home/beauford/Downloads/qc-usb-0.6.6/qc-driver.o] Error 1
make[1]: *** [_module_/home/beauford/Downloads/qc-usb-0.6.6] Error 2
make[1]: Leaving directory `/usr/src/linux-2.6.33.4'
make: *** [quickcam.ko] Error 2

Last edited by Beauford2008; 09-26-2010 at 02:00 PM. Reason: More info
 
Old 09-26-2010, 02:00 PM   #2
specialized
Member
 
Registered: Sep 2005
Location: Mar del Plata, Arg
Distribution: Always Slackware
Posts: 228

Rep: Reputation: 37
i dont remember well, but...........launch the application with some lines like

LDPRELOAD somethings skype

lsusb sees the webcam?
 
Old 09-26-2010, 02:17 PM   #3
adamk75
Senior Member
 
Registered: May 2006
Posts: 3,091

Rep: Reputation: 399Reputation: 399Reputation: 399Reputation: 399
Does /dev/video0 exist?

Adam
 
Old 09-26-2010, 02:18 PM   #4
Beauford2008
LQ Newbie
 
Registered: Sep 2008
Posts: 28

Original Poster
Rep: Reputation: 0
6# lsusb
Bus 001 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
Bus 002 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
Bus 003 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub
Bus 004 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub
Bus 005 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub
Bus 006 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub
Bus 006 Device 002: ID 046d:0801 Logitech, Inc. QuickCam Home
Bus 006 Device 003: ID 046d:c03d Logitech, Inc. M-BT96a Pilot Optical Mouse

Did the LDPRELOAD thing as alluded to in my initial post. There is no camera listed in Skype.

Do not see a dev/video0

How else can I test it?

Thanks

Last edited by Beauford2008; 09-26-2010 at 02:22 PM.
 
Old 09-26-2010, 02:26 PM   #5
x-alien
Member
 
Registered: Aug 2008
Distribution: Slackware
Posts: 39

Rep: Reputation: 21
Quickcam and qc-usb drivers compile only on very old kernels; it seems that the development of these drivers has been abandoned.

I suggest you to buy a more modern webcam; for example, a Logitech C200, C250, C300, C500, C600, perfectly supported by Linux through the UVC driver and V4L2.

Last edited by x-alien; 09-26-2010 at 03:42 PM.
 
Old 09-26-2010, 02:36 PM   #6
Beauford2008
LQ Newbie
 
Registered: Sep 2008
Posts: 28

Original Poster
Rep: Reputation: 0
LOL, Not an option at this point. It either works or I have no choice to go back to Windows where I know it works. I can't be getting rid of perfectly good hardware just because an OS abandons it, Which is really unfortunate as I really hate being tied to Windows. This is one of my pet peeves with any OS.

If anyone else has any other options on how to get this to work, I'd be thrilled.

Thanks
 
Old 09-26-2010, 02:57 PM   #7
PTrenholme
Senior Member
 
Registered: Dec 2004
Location: Olympia, WA, USA
Distribution: Fedora, (K)Ubuntu
Posts: 4,187

Rep: Reputation: 354Reputation: 354Reputation: 354Reputation: 354
Not a Slack solution, but I bought an old, discounted, Logitech camera for my wife's Fedora 13 system, plugged it in, and it "just worked." (Not all the functionality that the drivers on the disk provided for Windows, but good, basic, video.)

Perhaps what you could do is install an application, like "cheese," which requires the necessary drivers, and see if gets it working.
 
Old 09-26-2010, 03:09 PM   #8
Beauford2008
LQ Newbie
 
Registered: Sep 2008
Posts: 28

Original Poster
Rep: Reputation: 0
The one I have works perfect in Windows, I don't even have to load drivers, it is just there. Cheese???
 
Old 09-26-2010, 03:18 PM   #9
rokytnji
LQ Veteran
 
Registered: Mar 2008
Location: Waaaaay out West Texas
Distribution: antiX 23, MX 23
Posts: 7,139
Blog Entries: 21

Rep: Reputation: 3480Reputation: 3480Reputation: 3480Reputation: 3480Reputation: 3480Reputation: 3480Reputation: 3480Reputation: 3480Reputation: 3480Reputation: 3480Reputation: 3480
UCV is a place to go to see if your camera is listed.

Cheese? I am surprised I am explaining this to a Slackware User. But that is what Cheese? is. Unless the ? mark is because you are wondering why cheese was suggested. Hard to read into shorthAND.

Last edited by rokytnji; 09-26-2010 at 03:21 PM.
 
Old 09-26-2010, 03:42 PM   #10
GrapefruiTgirl
LQ Guru
 
Registered: Dec 2006
Location: underground
Distribution: Slackware64
Posts: 7,594

Rep: Reputation: 556Reputation: 556Reputation: 556Reputation: 556Reputation: 556Reputation: 556
Typically when a webcam is supported in Linux, it's pretty easy to locate the right information and/or drivers from one of only two or three places - not hard to find. In this case (QuickCam Home, specifically the :0801 model you have) it has also been rather easy to find information, but everything that I turn up indicates that this particular model is not known to work, period.

Postings to Logitech's own forums show that the linux driver(s) do not support this particular camera, and Logitech apparently says that there is not enough interest in it to make it worth developing one. For their cams that do work, they direct the user to one of the sites I link to below.

One popular driver site: http://mxhaard.free.fr/spca5xx.html does not list the device.

The other popular site: http://qce-ga.sourceforge.net/#unsupported says in the "Unsupported Cameras" section, "Logitech QuickCam Home is currently not known to work."

And here: http://302found.com/linux_webcams/ says, "Not supported".

I'm not trying to discourage you from fiddling and searching some more, if you're so inclined. That's what I'd do, until I'd exhausted all possibilities. However, do not be surprised if you do not get that particular camera to work. I wish you luck.
 
Old 09-26-2010, 03:53 PM   #11
Beauford2008
LQ Newbie
 
Registered: Sep 2008
Posts: 28

Original Poster
Rep: Reputation: 0
Never heard of Cheese, and by looking at it, too many dependencies to be messing around with it on a maybe. I know the camera worked on older versions of Slack. I think the last time I had it working was on 9.x.

Thanks.
 
Old 09-26-2010, 04:19 PM   #12
T3slider
Senior Member
 
Registered: Jul 2007
Distribution: Slackware64-14.1
Posts: 2,367

Rep: Reputation: 843Reputation: 843Reputation: 843Reputation: 843Reputation: 843Reputation: 843Reputation: 843
I have an old Logitech QuickCam that will not work with Linux and I suspect you have a similar model. There was a driver available for the 2.4 kernel series (which has been long since abandoned) and the driver was never updated for 2.6. There is no way to get that driver working in any modern Linux distro (unless you rewrite it completely), so your only options are to 1) buy a new webcam (they're very cheap nowadays), 2) go back to Windows if it works there or 3) see if you can get it working in a Virtual Machine in which a 2.4-based Linux, or Windows, is running.

Good luck.
 
Old 09-27-2010, 04:46 PM   #13
Beauford2008
LQ Newbie
 
Registered: Sep 2008
Posts: 28

Original Poster
Rep: Reputation: 0
Will it work if I install the drivers in Wine or some weird thing like that. A long shot, but just tossing out things.
 
Old 09-27-2010, 05:03 PM   #14
GrapefruiTgirl
LQ Guru
 
Registered: Dec 2006
Location: underground
Distribution: Slackware64
Posts: 7,594

Rep: Reputation: 556Reputation: 556Reputation: 556Reputation: 556Reputation: 556Reputation: 556
You'd not only/necessarily want to install the drivers in WINE, but you'd also need to be using whatever application you want to use with the camera, in WINE also. I'm not sure how that'd all go, if at all - but I don't use it so I wouldn't really know anyhow - maybe it'd work peachy!

Your better bet (I think someone mentioned this earlier) would be to install a VM on your Linux, and install Windows inside that. Then you can use whatever windows program, and the Windows driver, inside the VM.

Or, if you happen to live in Nova Scotia somewhere, we can meet up and I'll give you the two webcams I have here, which I never use and never will. At least one of them, if not both, works in Linux to some extent (a few years ago it did anyhow) and the other, I can't remember. One's a Quickcam Messenger, and the other, a Microtech something-or-other (that one's better than the Quickcam). And if neither of them work either, you'll have 3 useless webcams that maybe you can trade for one that works
 
Old 09-28-2010, 02:48 PM   #15
Beauford2008
LQ Newbie
 
Registered: Sep 2008
Posts: 28

Original Poster
Rep: Reputation: 0
OK,so I just bought a webcam. It is cheap as it gets at $17 CDN, but it is working - for the most part. Question is this, how do I configure the sound, brightness, resolution, etc. Is there a program for this as there is certainly no software that come with it for Linux?

I tried the mixer for adjusting my mic, but every few seconds it just goes back to full volume.

Thanks

And I am not in NS, but I do know a guy that works at Labatts in Halifax.

Oh, it is a generic PC Camera ASY U-CAM NE669

I'm trying to get wxcam and cheese (as was mentioned above) and will see if this does anything.

Last edited by Beauford2008; 09-28-2010 at 03:12 PM.
 
  


Reply



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
How do I get this Webcam to work? Taycs Linux - Newbie 13 03-12-2009 03:45 PM
I need help getting my webcam to work (if possible) JasonC10203 Linux - Hardware 5 03-04-2009 10:39 PM
How to work webcam, please? vibinlakshman Linux - Newbie 7 01-24-2009 08:09 PM
Getting webcam to work Zmyrgel Slackware 9 05-12-2008 08:47 PM
Why won't my webcam work? Lannix Linux - Hardware 3 01-22-2007 02:36 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Slackware

All times are GMT -5. The time now is 01:02 AM.

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
Open Source Consulting | Domain Registration