Jump to content

webcam


Kieth
 Share

Recommended Posts

I haven't been able to use my webcam since I loaded 2009.0. I would like to use it ( :P ) with skype, ekiga, and or Kopete. I've googled around and looked on this site, but. . . Any ideas on how to get it going would be appreciated. :thumbs: Thanks.

 

[root@localhost ~]# lsusb

Bus 005 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 003 Device 002: ID 093a:2468 Pixart Imaging, Inc. Cammaestro2.5DU/X-EYE/Orite SC-120/ICGear TravelCam/Easy Snap Snake Eye Webcam

Bus 003 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub

Bus 002 Device 002: ID 03f0:0904 Hewlett-Packard DeskJet 845c

Bus 002 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub

Bus 001 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub

[root@localhost ~]#

Link to comment
Share on other sites

Nope, can't get it installed. By clicking on the 2 .rpm files (listed below), .src file says it installs, but doesn't (using the command: rpm -qa | grep dkms), and the .noarch file will not compile, even though it states that it's installed. I tried the .tar.gz file, but cannot get it installed, either (using ./make. . .). This is, I'm sure, my inability, even though I tried following the various commands and instructions I found on the Internet.

 

Trying to install the .rpm files from console, I get these results.

 

[root@localhost webcam-files]# ls

dkms-gspcav1-1.00.20-2mdv2008.1.src.rpm

gspcav1-20071224.tar.gz*

dkms-gspcav1-1.00.20-2mdv2009.0.noarch.rpm

spcagui20060127/

gspcav1-20071224/

spcagui20060127.tar*

gspcav1-20071224.tar*

 

[root@localhost webcam-files]# rpm -Uvh dkms-gspcav1-1.00.20-2mdv2009.0.noarch.rpm

Preparing... (100%########################################### [100%]

1:dkms-gspcav1 ( 2%########################################### [100%]

 

Creating symlink /var/lib/dkms/gspca/1.00.20-2mdv2009.0/source ->

/usr/src/gspca-1.00.20-2mdv2009.0

 

DKMS: add Completed.

 

Preparing kernel 2.6.29.1-desktop586-4mnb for module build:

(This is not compiling a kernel, just preparing kernel symbols)

Storing current .config to be restored when complete

Running Generic preparation routine

make mrproper.......

using /proc/config.gz

make oldconfig....

make prepare....

 

Building module:

cleaning build area....

make KERNELRELEASE=2.6.29.1-desktop586-4mnb -C /lib/modules/2.6.29.1-desktop586-4mnb/build SUBDIRS=/var/lib/dkms/gspca/1.00.20-2mdv2009.0/build modules.....(bad exit status: 2)

 

Error! Bad return status for module build on kernel: 2.6.29.1-desktop586-4mnb (i586)

Consult the make.log in the build directory

/var/lib/dkms/gspca/1.00.20-2mdv2009.0/build/ for more information.

 

Error! Could not locate gspca.ko.gz for module gspca in the DKMS tree.

You must run a dkms build for kernel 2.6.29.1-desktop586-4mnb (i586) first.

warning: %post(dkms-gspcav1-1.00.20-2mdv2009.0.noarch) scriptlet failed, exit status 4

[root@localhost webcam-files]#

 

[root@localhost webcam-files]# rpm -Uvh dkms-gspcav1-1.00.20-2mdv2008.1.src.rpm

1:dkms-gspcav1 warning: user mandrake does not exist - using root

warning: group mandrake does not exist - using root

warning: user mandrake does not exist - using root

warning: group mandrake does not exist - using root

warning: user mandrake does not exist - using root

warning: group mandrake does not exist - using root

warning: user mandrake does not exist - using root

warning: group mandrake does not exist - using root

########################################### [100%]

[root@localhost webcam-files]#

 

Even though the .noarch file came up with an error, in console, it shows that it's installed.

 

[root@localhost webcam-files]# rpm -qa | grep dkms

dkms-minimal-2.0.19-15mdv2009.1

dkms-gspcav1-1.00.20-2mdv2009.0

dkms-2.0.19-15mdv2009.1

Edited by Kieth
Link to comment
Share on other sites

What are you doing? :) You've installed a 2008.1 src rpm as root, and also installed both 2009.0 and 2009.1 rpms? :huh:

 

The 2009.0 and 2009.1 kernels already contain all the gspca modules

[greg@halfway ~]$ /sbin/modprobe -l | grep -i gspca
/lib/modules/2.6.27.19-desktop-1mnb/kernel/drivers/media/video/gspca/gspca_conex.ko.gz
/lib/modules/2.6.27.19-desktop-1mnb/kernel/drivers/media/video/gspca/gspca_spca501.ko.gz
/lib/modules/2.6.27.19-desktop-1mnb/kernel/drivers/media/video/gspca/gspca_stk014.ko.gz
/lib/modules/2.6.27.19-desktop-1mnb/kernel/drivers/media/video/gspca/gspca_etoms.ko.gz
/lib/modules/2.6.27.19-desktop-1mnb/kernel/drivers/media/video/gspca/gspca_t613.ko.gz
/lib/modules/2.6.27.19-desktop-1mnb/kernel/drivers/media/video/gspca/gspca_main.ko.gz
/lib/modules/2.6.27.19-desktop-1mnb/kernel/drivers/media/video/gspca/gspca_pac207.ko.gz
/lib/modules/2.6.27.19-desktop-1mnb/kernel/drivers/media/video/gspca/gspca_spca508.ko.gz
/lib/modules/2.6.27.19-desktop-1mnb/kernel/drivers/media/video/gspca/gspca_spca561.ko.gz
/lib/modules/2.6.27.19-desktop-1mnb/kernel/drivers/media/video/gspca/gspca_zc3xx.ko.gz
/lib/modules/2.6.27.19-desktop-1mnb/kernel/drivers/media/video/gspca/gspca_sonixb.ko.gz
/lib/modules/2.6.27.19-desktop-1mnb/kernel/drivers/media/video/gspca/gspca_mars.ko.gz
/lib/modules/2.6.27.19-desktop-1mnb/kernel/drivers/media/video/gspca/gspca_vc032x.ko.gz
/lib/modules/2.6.27.19-desktop-1mnb/kernel/drivers/media/video/gspca/gspca_pac7311.ko.gz
/lib/modules/2.6.27.19-desktop-1mnb/kernel/drivers/media/video/gspca/gspca_ov519.ko.gz
/lib/modules/2.6.27.19-desktop-1mnb/kernel/drivers/media/video/gspca/gspca_tv8532.ko.gz
/lib/modules/2.6.27.19-desktop-1mnb/kernel/drivers/media/video/gspca/m5602/gspca_m5602.ko.gz
/lib/modules/2.6.27.19-desktop-1mnb/kernel/drivers/media/video/gspca/gspca_sonixj.ko.gz
/lib/modules/2.6.27.19-desktop-1mnb/kernel/drivers/media/video/gspca/gspca_spca500.ko.gz
/lib/modules/2.6.27.19-desktop-1mnb/kernel/drivers/media/video/gspca/gspca_spca506.ko.gz
/lib/modules/2.6.27.19-desktop-1mnb/kernel/drivers/media/video/gspca/gspca_spca505.ko.gz
/lib/modules/2.6.27.19-desktop-1mnb/kernel/drivers/media/video/gspca/gspca_sunplus.ko.gz

I believe that you want to use the gspca_pac207 module for your cam. I would suggest removing all the mess that you have installed first. Then with the cam attached, please post the output of

lsmod | grep -i gspca

Link to comment
Share on other sites

What are you doing? smile.gif
Same thing as I always do, mess things up! :P

 

I think I cleaned up the mess I created.

 

[root@localhost ~]# rpm -qa | grep dkms

dkms-minimal-2.0.19-15mdv2009.1

 

[root@localhost ~]# lsmod | grep -i gspca

gspca_pac207 6556 0

gspca_main 22108 1 gspca_pac207

videodev 40352 4 gspca_main,tuner,saa7134,v4l2_common

usbcore 179376 6 gspca_pac207,gspca_main,usblp,ehci_hcd,uhci_hcd

[root@localhost ~]#

Link to comment
Share on other sites

Since 2.6.27, most webcams are supported by the kernel right out of the box.

On my laptop all I had to do is finding a goo d frontend for the webcam. KDE4 does not have any good frontend, while Gnome has cheese, which is rather OK, but VERY limited.

Finally I found guvcview ( http://guvcview.berlios.de/ ) which is really great app (OK, rather fugly, as most wxgtk apps, but very functional, feature-rich and remarkably stable).

The webcam is labelled as "LG webcam" and it's actually baed on the well supported Microdia capture chip. The lappy is a LG E210 subnotebook.

Edited by scarecrow
Link to comment
Share on other sites

I'd rather suggest guvcview again (likely available from the Mandriva repos), as you can use this app to control the image within Kopete, or Cheese, or any other application that's using the webcam. You just have to start the application like

guvcview --control_only

as mentioned in its manual.

Link to comment
Share on other sites

After my last post with a kopete attachment, I also tried a couple of other programs (camstream and camorama), but the webcam didn't work. Before trying guvcview, I decided to try cheese. This time, all went well - it works! I just presumed (silly me!), that if it didn't work in kopete, it wouldn't work in other programs. In fact it didn't work in the other 2. Why does it work with cheese? Any advice on getting it to work with kopete and skype?

Link to comment
Share on other sites

When I try to start video in skype and kopete in console, below are the results. Any idea on how to resolve the problem?

 

[kieth@localhost ~]$ skype

Skype V4L2: Failed to change capture framerate (15)

Skype V4L2: Failed to change capture framerate (15)

Starting the process...

Skype Xv: Xv ports available: 18

Skype XShm: XShm support enabled

Skype Xv: Using Xv port 58

 

[kieth@localhost ~]$ kopete

Calling appendChild() on a null node does nothing.

Calling appendChild() on a null node does nothing.

kopete(20653)/libkopete Kopete::PluginManager::loadPluginInternal: Unable tofind a plugin named ' "" '!

[kieth@localhost ~]$ VIDIOC_ENUM_FMT: Invalid argument

VIDIOC_STREAMOFF error 22, Invalid argument

VIDIOC_ENUMSTD: Invalid argument

VIDIOC_ENUM_FMT: Invalid argument

VIDIOC_ENUM_FMT: Invalid argument

VIDIOC_ENUMSTD: Invalid argument

VIDIOC_ENUM_FMT: Invalid argument

 

[kieth@localhost ~]$

Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

Loading...
 Share

×
×
  • Create New...