LinuxQuestions.org
Review your favorite Linux distribution.
Home Forums Tutorials Articles Register
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 11-25-2007, 02:28 PM   #1
reefa
LQ Newbie
 
Registered: Mar 2005
Posts: 20

Rep: Reputation: 0
Logitech QuickCam not working on openSUSE 10.3 64-bit


Hey there...I just installed openSUSE 10.3 64-bit, here is a quick uname -a:

Linux linux 2.6.22.12-0.1-default #1 SMP 2007/11/06 23:05:18 UTC x86_64 x86_64 x86_64 GNU/Linux

I've been having some problems getting the Logitech QuickCam USB to work with xawtv-3.95. I compiled the qc-usb-0.6.5 and got the quickcam driver working with "insmod quickcam.ko" then "modprobe quickcam" and i have the /dev/video linked to /dev/video0. So now when I run xawtv -hwscan I get the following:

Code:
linux:/home/darvish # xawtv -hwscan
This is xawtv-3.95, running on Linux/x86_64 (2.6.22.12-0.1-default)
looking for available devices
port 275-306
    type : Xvideo, image scaler
    name : NV17 Video Texture

port 307-338
    type : Xvideo, image scaler
    name : NV05 Video Blitter

ioctl: VIDIOC_QUERYCAP(driver="";card="";bus_info="";version=0.0.0;capabilities=0x0 []): Unknown error 515
/dev/video0: OK                         [ -device /dev/video0 ]
    type : v4l
    name : Logitech QuickCam USB
    flags:  capture
As you can see I get that weird VIDIOC_QUERYCAP with Unknown error 515 there at the end of that line, does this have something to do with xawtv not displaying any sort of an image via the webcam? instead it just displays a black screen.

In order to get the xawtv program running, I need to issue the -nodga parameter. However, xawtv runs only at first try with a black screen, any more tries beyond that will make it stop running and hang with the following message:

Code:
linux:/home/darvish # xawtv -nodga
This is xawtv-3.95, running on Linux/x86_64 (2.6.22.12-0.1-default)
xinerama 0: 1280x1024+0+0
xinerama 1: 1280x1024+1280+0
X Error of failed request:  XF86DGANoDirectVideoMode
  Major opcode of failed request:  137 (XFree86-DGA)
  Minor opcode of failed request:  1 (XF86DGAGetVideoLL)
  Serial number of failed request:  13
  Current serial number in output stream:  13
v4l-conf had some trouble, trying to continue anyway
I have to use CTRL+C to get out of it, does anyone know what could possibly be wrong? I have tried compiling camstream, but it needs a multithreaded QT, and I have no idea on how to make QT compile with multithreaded support since I use YaST to install it. I havn't really tried any other sort of software, besides those two...

I would appreciate any help with getting my Logictech QuickCam working.

Thanks
 
Old 11-26-2007, 10:42 AM   #2
amishtechie
Member
 
Registered: Apr 2004
Distribution: Pop OS
Posts: 130

Rep: Reputation: 17
I have never used that driver but here is the one I used with my Logitech Quickcam and I had no issues.

http://mxhaard.free.fr/spca5xx.html

Hope it helps.
 
Old 11-26-2007, 12:29 PM   #3
reefa
LQ Newbie
 
Registered: Mar 2005
Posts: 20

Original Poster
Rep: Reputation: 0
qspca

Hey, thanks for the reply. This is what I did:

1) downloaded gspcav1-20070508.tar.gz for kernel up from 2.6.11
2) did a tar -zxf gspcav1-20070508.tar.gz
3) cd gspcav1-20070508; make; make install
4) I tried both insmod gspca.ko and modprobe gspca

Everything compiled fine and loaded fine from the logs below...

Now /var/log/messages showed:
Code:
Nov 26 12:22:53 linux kernel: usbcore: registered new interface driver gspca
Nov 26 12:22:53 linux kernel: /usr/local/src/gspcav1-20070508/gspca_core.c: gspca driver 01.00.18 registered
Some more outputs here, lsmod | grep -e gspca showed:
Code:
gspca                 668176  0
compat_ioctl32         25472  1 gspca
videodev               44416  1 gspca
usbcore               155816  6 gspca,usbhid,usblp,ehci_hcd,ohci_hcd
Now for the last output lsusb showed:
Code:
Bus 002 Device 001: ID 0000:0000
Bus 001 Device 005: ID 0f30:0107 Jess Technology Co., Ltd
Bus 001 Device 004: ID 046d:c01d Logitech, Inc.
Bus 001 Device 003: ID 046d:0870 Logitech, Inc. QuickCam Express
Bus 001 Device 002: ID 03f0:3f11 Hewlett-Packard PSC-1315/PSC-1317
Bus 001 Device 001: ID 0000:0000
So as you can see everything loaded fine, but for some reason /dev/video0 or /dev/video is not created. So I manually created it with mknod /dev/video0 c 81 0 and then made a symbolic link to ln -s /dev/video0 /dev/video but I'm still having problems, because xawtv -hwscan won't display the /dev/video device, it simple just says "No such device", whenever I try to run it with: xawtv -nodga
Code:
v4l2: open /dev/video: No such device
v4l2: open /dev/video: No such device
v4l: open /dev/video: No such device

Am I doing something wrong here?
Thanks again,

reefa

Last edited by reefa; 11-26-2007 at 12:53 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
Sound Blaster Live!24-bit not working on OpenSuse 10.2 WDSnav Linux - Hardware 2 12-23-2006 11:09 PM
Logitech Quickcam IM Aussiejoe Linux - Hardware 3 07-12-2006 12:09 PM
has someone logitech quickcam notebook deluxe working? abadile Linux - Hardware 1 12-17-2005 06:09 PM
Logitech Quickcam Zoom - A bit lost now blaroe Fedora 2 06-11-2004 09:00 AM

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

All times are GMT -5. The time now is 06:20 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
Open Source Consulting | Domain Registration