LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Mandriva (https://www.linuxquestions.org/questions/mandriva-30/)
-   -   Logitech express Webcam issues, (https://www.linuxquestions.org/questions/mandriva-30/logitech-express-webcam-issues-654999/)

GlennsPref 07-10-2008 10:27 PM

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

GlennsPref 07-13-2008 09:48 PM

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

davholla 07-21-2008 03:25 PM

Sorry how did you solve it ?

GlennsPref 07-21-2008 06:19 PM

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

GlennsPref 07-22-2008 09:09 PM

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.

davholla 07-23-2008 02:34 PM

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 ?

GlennsPref 07-23-2008 07:17 PM

Quote:

Originally Posted by davholla (Post 3224082)
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

davholla 07-26-2008 12:22 PM

Quote:

Originally Posted by GlennsPref (Post 3224284)
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.

GlennsPref 07-26-2008 05:48 PM

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.

jiml8 07-26-2008 06:50 PM

Quote:

Originally Posted by GlennsPref (Post 3227208)
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.


All times are GMT -5. The time now is 11:57 AM.