Kieth Posted May 2, 2009 Report Share Posted May 2, 2009 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. 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 ~]# Quote Link to comment Share on other sites More sharing options...
Snat Posted May 2, 2009 Report Share Posted May 2, 2009 Have you installed gspca as a Google search shows that is what is often used to get it working.? Quote Link to comment Share on other sites More sharing options...
Kieth Posted May 3, 2009 Author Report Share Posted May 3, 2009 (edited) 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 May 3, 2009 by Kieth Quote Link to comment Share on other sites More sharing options...
Greg2 Posted May 3, 2009 Report Share Posted May 3, 2009 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 Quote Link to comment Share on other sites More sharing options...
Kieth Posted May 3, 2009 Author Report Share Posted May 3, 2009 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 ~]# Quote Link to comment Share on other sites More sharing options...
scarecrow Posted May 4, 2009 Report Share Posted May 4, 2009 (edited) 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 May 4, 2009 by scarecrow Quote Link to comment Share on other sites More sharing options...
Greg2 Posted May 4, 2009 Report Share Posted May 4, 2009 It looks like you're using the proper module. I don't have a webcam yet so I can't really suggest an app to check it, but adamw also suggested using Cheese to test a cam, and it's in the repos. Quote Link to comment Share on other sites More sharing options...
Kieth Posted May 4, 2009 Author Report Share Posted May 4, 2009 My system sees the web cam, but as you can see from the attachment, it doesn't work. Is there a way to "adjust" it? Quote Link to comment Share on other sites More sharing options...
Greg2 Posted May 4, 2009 Report Share Posted May 4, 2009 Please try Cheese, so we can determine if the cam is working... before we try to fix Kopete. Quote Link to comment Share on other sites More sharing options...
scarecrow Posted May 4, 2009 Report Share Posted May 4, 2009 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. Quote Link to comment Share on other sites More sharing options...
Kieth Posted May 4, 2009 Author Report Share Posted May 4, 2009 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? Quote Link to comment Share on other sites More sharing options...
Kieth Posted May 6, 2009 Author Report Share Posted May 6, 2009 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 ~]$ Quote Link to comment Share on other sites More sharing options...
Recommended Posts
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.