LinuxQuestions.org
Share your knowledge at the LQ Wiki.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Mandriva
User Name
Password
Mandriva This Forum is for the discussion of Mandriva (Mandrake) Linux.

Notices

Reply
 
LinkBack Search this Thread
Old 07-10-2008, 10:27 PM   #1
GlennsPref
Senior Member
 
Registered: Apr 2004
Location: Brisbane, Australia
Distribution: Mageia Studio-13.37 Kubuntu.
Posts: 3,325
Blog Entries: 33

Rep: Reputation: 199Reputation: 199
Logitech express Webcam issues,


Hi, I'm trying to setup a web cam, first time for me with linux. The cam works OK in M$winxpsp2, but I can't seem to get it to show me a picture. Any ideas what I'm doing or not doing? Thanks in advance, Glenn

From the below info, I gather the address of the device is...
/dev/bus/usb/002/002

I installed WmWebcam and gv4l(?) (I'm using kde) and dkms-gspcav1 (but the module is already present in the kernel),

[glenn@GamesBox ~]$ uname -a
Linux GamesBox.GlennsPref.net 2.6.22.9-desktop-1mdv #1 SMP Fri Jun 20 10:12:54 EST 2008 x86_64 AMD Athlon(tm) 64 X2 Dual Core Processor 5600+ GNU/Linux
[glenn@GamesBox ~]$

lsusb...
Bus 002 Device 002: ID 046d:092f Logitech, Inc. QuickCam express Plus

lsmod...
gspca 694864 1
compat_ioctl32 13056 1 gspca
videodev 31360 2 gspca
v4l2_common 22272 2 compat_ioctl32,videodev
v4l1_compat 17540 1 videodev

dmesg | less...
Linux video capture interface: v2.00
/var/lib/dkms/gspca/1.00.20-2mdv2008.1/build/gspca_core.c: USB GSPCA camera found.(SPCA561A)
/var/lib/dkms/gspca/1.00.20-2mdv2008.1/build/gspca_core.c: [spca5xx_probe:4283] Camera type S561
/var/lib/dkms/gspca/1.00.20-2mdv2008.1/build/gspca_core.c: [spca5xx_getcapability:1256] maxw 352 maxh 288 minw 160 minh 120
usbcore: registered new interface driver gspca
/var/lib/dkms/gspca/1.00.20-2mdv2008.1/build/gspca_core.c: gspca driver 01.00.20 registered

/var/lib/dkms/gspca/1.00.20-2mdv2008.1/build/gspca_core.c: [spca5xx_set_light_freq:1940] Sensor currently not support light frequency banding filters.
/var/lib/dkms/gspca/1.00.20-2mdv2008.1/build/gspca_core.c: [gspca_set_isoc_ep:952] ISO EndPoint found 0x81 AlternateSet 7
/var/lib/dkms/gspca/1.00.20-2mdv2008.1/build/Sunplus/spca561.h: [spca561_init:467] Find spca561 USB Product ID 92f

/var/lib/dkms/gspca/1.00.20-2mdv2008.1/build/gspca_core.c: [spca5xx_set_light_freq:1940] Sensor currently not support light frequency banding filters.
/var/lib/dkms/gspca/1.00.20-2mdv2008.1/build/gspca_core.c: [gspca_set_isoc_ep:952] ISO EndPoint found 0x81 AlternateSet 7
/var/lib/dkms/gspca/1.00.20-2mdv2008.1/build/Sunplus/spca561.h: [spca561_init:467] Find spca561 USB Product ID 92f

gv4l[19413]: segfault at 0000000000000000 rip 00002b2f03225212 rsp 00007fffac2243c0 error 4 (end of dmesg)

regards, Glenn

Last edited by GlennsPref; 07-10-2008 at 10:31 PM.
 
Old 07-13-2008, 09:48 PM   #2
GlennsPref
Senior Member
 
Registered: Apr 2004
Location: Brisbane, Australia
Distribution: Mageia Studio-13.37 Kubuntu.
Posts: 3,325
Blog Entries: 33

Original Poster
Rep: Reputation: 199Reputation: 199
I have it sorted now, using the search function here at LQ I found this,

note, the module (gspca) is in the current mandriva kernel and loaded when the cam was plugged in, so downloading and compiling may not relevant,

This page is a bit old, but reveals other links to google, (old links)
http://www.linux.org/docs/ldp/howto/.../hardware.html

ch. 2.3.5. (of above link)
Quote:
2.3.5. Logitech (formerly Connectix) Quickcam Support

The QuickCam VC USB and parallel port model webcams are supported by the driver offered here. A kernel patch and recompile are necessary for support of this model.

The Quickcam driver is represented by two different projects that offer two different flavors of driver for certain Quickcam models, both of which are stand-alone drivers that do not require a kernel patch or recompile. The qce-ga and qc-usb drivers support the following models:

*

Logitech (earlier models of) Quickcam Express
*

Quickcam Web
*

Legocam
*

Dexxa Webcam
*

Labtec Webcam

The qc-usb driver is more experimental but reportedly works better on some models such as the Quickcam Web. Also, I have recieved correspondence that newer versions of the Logitech Quickcam Express no longer work with the above drivers; instead this page offers an experimental driver that claims to support the newer model.

Note to Redhat users: The qce-ga driver doesn't compile properly using the modified kernel source provided in Redhat 9, but a fix is available here.

Some Logitech camera models are supported by the Philips driver in Section 2.3.8.
link to qc-usb is old(moved), but I found this with google search...
http://tuukkat.awardspace.com/quickcam/quickcam.html


now viewing with gqcam

regards, Glenn

Last edited by GlennsPref; 07-21-2008 at 06:25 PM. Reason: add note.
 
Old 07-21-2008, 03:25 PM   #3
davholla
Member
 
Registered: Jun 2003
Location: London
Distribution: Mandriva 2008 Spring
Posts: 652

Rep: Reputation: 31
Sorry how did you solve it ?
 
Old 07-21-2008, 06:19 PM   #4
GlennsPref
Senior Member
 
Registered: Apr 2004
Location: Brisbane, Australia
Distribution: Mageia Studio-13.37 Kubuntu.
Posts: 3,325
Blog Entries: 33

Original Poster
Rep: Reputation: 199Reputation: 199
Hi, reading through this page...
http://qce-ga.sourceforge.net/

followed this link to the download page...
http://mxhaard.free.fr/download.html

I selected the mandriva package then downloaded and installed this driver...
dkms-gspcav1-1.00.20-2mdv2008.1.noarch.rpm

The dkms.rpm and its deps. (dynamic kernel module service) is required for mandriva.

note, The source files are available here...(i did not need them)
http://mxhaard.free.fr/spca50x/Download/oldrelease/?M=D

reboot, (make sure dkms (services) is started at boot)

check the hardware is connected...

[root@GamesBox glenn]# lsusb
Bus 001 Device 001: ID 0000:0000
Bus 002 Device 004: ID 046d:c215 Logitech, Inc.
Bus 002 Device 003: ID 046d:092f Logitech, Inc. QuickCam express Plus
Bus 002 Device 002: ID 04a9:1098 Canon, Inc.
Bus 002 Device 001: ID 0000:0000


check the module is loaded, (gspca)...

[root@GamesBox glenn]# /sbin/lsmod | grep -i usb
usb_storage 108100 0
usbhid 50400 0
ff_memless 9608 1 usbhid
usblp 17536 0
scsi_mod 157368 4 usb_storage,sg,libata,sd_mod
usbcore 145328 8 usb_storage,gspca,usbhid,usblp,uhci_hcd,ohci_hcd,ehci_hcd
[root@GamesBox glenn]#


Even though the module is built in to the mandriva kernel, it seems the dkms is required to load the module.

Istall Gqcam and any deps...

Using Gqcam to view the image.

# uname -a Linux GamesBox.GlennsPref.net 2.6.24.4-1mnbcustom #2 SMP Mon Jul 21 22:21:11 EST 2008 x86_64 AMD Athlon(tm) 64 X2 Dual Core Processor 5600+ GNU/Linux

Cheers, Glenn
 
Old 07-22-2008, 09:09 PM   #5
GlennsPref
Senior Member
 
Registered: Apr 2004
Location: Brisbane, Australia
Distribution: Mageia Studio-13.37 Kubuntu.
Posts: 3,325
Blog Entries: 33

Original Poster
Rep: Reputation: 199Reputation: 199
Hi, I have since switched to another recorder/viewer.

spcaview which is capable of recording and replaying video content with audio from the webcam.

SP54convert converts the film to standard .avi file, but I have not acheived that yet (still researching).

Perhaps because, The compression utility uses a "fourcc - DPSH" codec which I also have not been able to work.

There is also another batch of programs I am thinking about installing and trying out, uvcvideo and luvcview.

Overall, the spcaview program seems to be good, If I convert the video it will be best, and I will use it to post some vids to my blog (wip).

I have found Gideo to be a nice viewer, But I use 64bit-kde and not 32bit-gnome.

This seems to be it failing for my system, also the 64 bit OS, the libs sought for are not found by the ./configure and make processes. It seems I would require a full gnome 32bit os as well as the 64bit I have for my processor(cpu), so a bit of a mix, qt and gtk and 32bit as well as the 64bit libraries required for the system to operate. Too hard!

Installing from source in mandy-64bit is a hazardous exercise.

Cheers, Glenn.
 
Old 07-23-2008, 02:34 PM   #6
davholla
Member
 
Registered: Jun 2003
Location: London
Distribution: Mandriva 2008 Spring
Posts: 652

Rep: Reputation: 31
Thanks a lot for that but I get this message :-
"Could not find a mirror from mirrorlist http://plf.zarb.org/mirrors/2008.1.i586.list"


Any idea why ?
 
Old 07-23-2008, 07:17 PM   #7
GlennsPref
Senior Member
 
Registered: Apr 2004
Location: Brisbane, Australia
Distribution: Mageia Studio-13.37 Kubuntu.
Posts: 3,325
Blog Entries: 33

Original Poster
Rep: Reputation: 199Reputation: 199
Quote:
Originally Posted by davholla View Post
Thanks a lot for that but I get this message :-
"Could not find a mirror from mirrorlist http://plf.zarb.org/mirrors/2008.1.i586.list"


Any idea why ?
Hi, what caused that message to pop up?

Only thing I can think of is maybe the repo is down while repopulating the packages(adding new stuff).

Try again, and you need to be root.

Regards, Glenn
 
Old 07-26-2008, 12:22 PM   #8
davholla
Member
 
Registered: Jun 2003
Location: London
Distribution: Mandriva 2008 Spring
Posts: 652

Rep: Reputation: 31
Quote:
Originally Posted by GlennsPref View Post
Hi, what caused that message to pop up?

Only thing I can think of is maybe the repo is down while repopulating the packages(adding new stuff).
I think that was it the repo was down and it installed.

What is a good application to use to check if this is working. It does not seem to be working with aMSN.
 
Old 07-26-2008, 05:48 PM   #9
GlennsPref
Senior Member
 
Registered: Apr 2004
Location: Brisbane, Australia
Distribution: Mageia Studio-13.37 Kubuntu.
Posts: 3,325
Blog Entries: 33

Original Poster
Rep: Reputation: 199Reputation: 199
Quote:
[root@GamesBox glenn]# lsusb
Bus 001 Device 001: ID 0000:0000
Bus 002 Device 004: ID 046d:c215 Logitech, Inc.
Bus 002 Device 003: ID 046d:092f Logitech, Inc. QuickCam express Plus
Bus 002 Device 002: ID 04a9:1098 Canon, Inc.
Bus 002 Device 001: ID 0000:0000


check the module is loaded, (gspca)...

[root@GamesBox glenn]# /sbin/lsmod | grep -i usb
usb_storage 108100 0
usbhid 50400 0
ff_memless 9608 1 usbhid
usblp 17536 0
scsi_mod 157368 4 usb_storage,sg,libata,sd_mod
usbcore 145328 8 usb_storage,gspca,usbhid,usblp,uhci_hcd,ohci_hcd,ehci_hcd
[root@GamesBox glenn]#
I also remember renaming 2 files ...

cp /usr/lib64/libgnome-2.so.0 /usr/lib64/libgnome-1.so.0

and

cp /usr/lib64/libgnomeui-2.so.0 /usr/lib64/libgnomeui-1.so.0

to get the software to work, because of a dependency I could not resolve. The older gnome1 files were required by the software but I have gnome2 libs and I use kde. So I tried a trick, by copying and renaming the new files as the old ones.
 
Old 07-26-2008, 06:50 PM   #10
jiml8
Senior Member
 
Registered: Sep 2003
Posts: 3,171

Rep: Reputation: 114Reputation: 114
Quote:
Originally Posted by GlennsPref View Post
I also remember renaming 2 files ...

cp /usr/lib64/libgnome-2.so.0 /usr/lib64/libgnome-1.so.0

and

cp /usr/lib64/libgnomeui-2.so.0 /usr/lib64/libgnomeui-1.so.0

to get the software to work, because of a dependency I could not resolve. The older gnome1 files were required by the software but I have gnome2 libs and I use kde. So I tried a trick, by copying and renaming the new files as the old ones.
No need to copy the files. Just symlink them.
 
  


Reply

Tags
webcam


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
Logitech Quickcam Express on Debian DeLucas Linux - Hardware 4 01-27-2009 12:18 AM
Webcam Logitech Quickcam Express F M J Linux - Software 2 04-08-2008 07:37 PM
Camserv and Logitech Quickcam Express Infinity Linux - Software 4 10-07-2003 12:05 AM
Logitech Quickcam Express USB Webcam... bfloeagle Linux - Hardware 7 07-22-2002 08:27 AM
Logitech Quickcam Express and mod_quickcam.o Infinity Linux - General 3 10-18-2001 09:03 AM


All times are GMT -5. The time now is 01:38 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 Google+: linuxquestions
Open Source Consulting | Domain Registration