Fedora Linux Support Community & Resources Center

Go Back   FedoraForum.org > Fedora 17/18 > Using Fedora
FedoraForum Search

Forgot Password? Join Us!

Using Fedora General support for current versions. Ask questions about Fedora and it's software that do not belong in any other forum.

Reply
 
Thread Tools Search this Thread Display Modes
  #1  
Old 1st April 2010, 09:56 PM
RusH487 Offline
Registered User
 
Join Date: Apr 2010
Posts: 14
linuxfedorafirefox
Linux-UVC Driver Make Issues

Let me start by saying that while I've been tinkering with Ubuntu and its variations for 2 or 3 years, I've finally decided to try my hand at Fedora 12 as it was recommended to me by my friends in the security industry. My CLI experience is limited, so bear with me if I have some noobish questions.

That being said, I've been trying for the past 3 hours to get my webcam to work with Skype but to no avail. I found that I need to install the Linux-UVC drivers and have tried several methods to get these drivers installed. Unfortunately, I keep coming up with different errors. Below are the different methods and remedies I've tried but nothing seems to work. Any help would be much appreciated.

Setting up your webcam under Fedora 9

This had me edit the yum.conf to use the ATrpms repository. It then had me run
Code:
rpm --import http://ATrpms.net/RPM-GPG-KEY.atrpms
followed by
Code:
yum install uvc
This resulted in the following error
Code:
$ yum install uvc
Loaded plugins: presto, refresh-packagekit
Setting up Install Process
Resolving Dependencies
--> Running transaction check
---> Package uvc.i686 0:0.20090806-4.fc12 set to be updated
--> Processing Dependency: uvc-kmdl-0.20090806-4.fc12 for package: uvc-0.20090806-4.fc12.i686
--> Finished Dependency Resolution
uvc-0.20090806-4.fc12.i686 from atrpms has depsolving problems
  --> Missing Dependency: uvc-kmdl-0.20090806-4.fc12 is needed by package uvc-0.20090806-4.fc12.i686 (atrpms)
Error: Missing Dependency: uvc-kmdl-0.20090806-4.fc12 is needed by package uvc-0.20090806-4.fc12.i686 (atrpms)
 You could try using --skip-broken to work around the problem
 You could try running: package-cleanup --problems
                        package-cleanup --dupes
                        rpm -Va --nofiles --nodigest
I tried running the suggested commands (package-cleanup, etc) and even tried running the install with --skip-broken. No luck.

(Note that I did this tutorial first, so for the rest of the process I had yum.conf configured as he states in the tutorial. When I came to this forum and noticed that it might not be the smartest thing to do, I removed the changes this tutorial had me make to yum.conf, removed kernel-devel and kernel-headers, and reinstalled them -- assuming it would grab them from the regular Fedora repository this time. Still no luck.)

Then I went on to find the tar.gz file hosted at LinuxTV.org. I unpackaged the tar file, navigated to the directory, tried running the 'make' command, and got an error.

I then found this website that suggested I need to update/install my kernel-devel and kernel-headers files. I did so and received the same error

Code:
$ make
make -C /home/RusH/Drivers/v4l-dvb-a539e5b68945/v4l 
make[1]: Entering directory `/home/RusH/Drivers/v4l-dvb-a539e5b68945/v4l'
Updating/Creating .config
Preparing to compile for kernel version 2.6.31
File not found: /lib/modules/2.6.31.5-127.fc12.i686/build/.config at ./scripts/make_kconfig.pl line 32, <IN> line 4.
make[1]: *** No rule to make target `.myconfig', needed by `config-compat.h'.  Stop.
make[1]: Leaving directory `/home/RusH/Drivers/v4l-dvb-a539e5b68945/v4l'
make: *** [all] Error 2
I then came upon this site that stated a similar problem using MythDora. It appears that his issue was that the make file (file? module? command? process?) was looking for an earlier version of the kernel than he already had installed. In my instance, it seems it is looking for

Code:
File not found: /lib/modules/2.6.31.5-127.fc12.i686/build/.config at ./scripts/make_kconfig.pl line 32, <IN> line 4.
But when I look in the package manager it states that I have kernel-devel-2.6.32.10.90.fc12 and kernel-headers-2.6.32.10.90.fc12. I've tried uninstalling these packages and reinstalling them several times... Rebooting and the like... all to no avail.

Other information that may be of help:
Running Fedora 12 on VMWorkstation over Windows 7 Ultimate 64
AMD Phenom 9550 Black
ASUS M3A78-EM
4GB of RAM - 2 of which is accessible to the VM

I've been searching high and low for an answer to this problem forever just to get my stupid webcam to work. Please, any help would be very much appreciated.
Reply With Quote
  #2  
Old 1st April 2010, 11:30 PM
glennzo's Avatar
glennzo Online
Un-Retired Administrator
 
Join Date: Mar 2004
Location: Salem, Mass USA
Posts: 13,929
linuxfedorafirefox
Re: Linux-UVC Driver Make Issues

Exactly what tar.gz file did you you download?
__________________
Glenn
The Bassinator © ®


Laptop: Toshiba Satellite / Intel Core 2 Duo 1.73 GHz / 2GB / 160GB / Intel Mobile 945GM/GMS/GME/943/940GML Integrated Graphics
Desktop: BioStar MCP6PB M2+ / AMD Phenom 9750 Quad Core / 4GB / 1TB SATA / 500GB SATA / EVGA GeForce 8400 GS 1GB
Reply With Quote
  #3  
Old 1st April 2010, 11:31 PM
RusH487 Offline
Registered User
 
Join Date: Apr 2010
Posts: 14
windows_xp_2003firefox
Re: Linux-UVC Driver Make Issues

http://linuxtv.org/hg/v4l-dvb/rev/a539e5b68945.tar.gz
Reply With Quote
  #4  
Old 2nd April 2010, 12:48 AM
glennzo's Avatar
glennzo Online
Un-Retired Administrator
 
Join Date: Mar 2004
Location: Salem, Mass USA
Posts: 13,929
linuxfedorafirefox
Re: Linux-UVC Driver Make Issues

Here's what I got after downloading the file, moving it to /opt and unpacking it, and then cd to /opt/v4l-dvb-a539e5b68945.

Code:
[glenn@leonardo v4l-dvb-a539e5b68945]$ sudo make

.
.
.
.
.
LD [M]  /opt/v4l-dvb-a539e5b68945/v4l/zl10036.ko
  CC      /opt/v4l-dvb-a539e5b68945/v4l/zl10039.mod.o
  LD [M]  /opt/v4l-dvb-a539e5b68945/v4l/zl10039.ko
  CC      /opt/v4l-dvb-a539e5b68945/v4l/zl10353.mod.o
  LD [M]  /opt/v4l-dvb-a539e5b68945/v4l/zl10353.ko
  CC      /opt/v4l-dvb-a539e5b68945/v4l/zr36016.mod.o
  LD [M]  /opt/v4l-dvb-a539e5b68945/v4l/zr36016.ko
  CC      /opt/v4l-dvb-a539e5b68945/v4l/zr36050.mod.o
  LD [M]  /opt/v4l-dvb-a539e5b68945/v4l/zr36050.ko
  CC      /opt/v4l-dvb-a539e5b68945/v4l/zr36060.mod.o
  LD [M]  /opt/v4l-dvb-a539e5b68945/v4l/zr36060.ko
  CC      /opt/v4l-dvb-a539e5b68945/v4l/zr36067.mod.o
  LD [M]  /opt/v4l-dvb-a539e5b68945/v4l/zr36067.ko
  CC      /opt/v4l-dvb-a539e5b68945/v4l/zr364xx.mod.o
  LD [M]  /opt/v4l-dvb-a539e5b68945/v4l/zr364xx.ko
make[2]: Leaving directory `/usr/src/kernels/2.6.32.10-90.fc12.i686.PAE'
./scripts/rmmod.pl check
found 342 modules
make[1]: Leaving directory `/opt/v4l-dvb-a539e5b68945/v4l'
[glenn@leonardo v4l-dvb-a539e5b68945]$
Do you have the Development Tools group installed?
Code:
su -
yum groupinstall 'Development Tools'
__________________
Glenn
The Bassinator © ®


Laptop: Toshiba Satellite / Intel Core 2 Duo 1.73 GHz / 2GB / 160GB / Intel Mobile 945GM/GMS/GME/943/940GML Integrated Graphics
Desktop: BioStar MCP6PB M2+ / AMD Phenom 9750 Quad Core / 4GB / 1TB SATA / 500GB SATA / EVGA GeForce 8400 GS 1GB
Reply With Quote
  #5  
Old 2nd April 2010, 01:53 AM
RusH487 Offline
Registered User
 
Join Date: Apr 2010
Posts: 14
linuxfedorafirefox
Re: Linux-UVC Driver Make Issues

I installed the 'Development Tools' as you suggested (it doesn't appear they were installed before). I copied the v4l... directory to /etc/ and attempted to run 'make' again. It resulted in the following output, the same as before.

Code:
[root@localhost etc]# cd v4l-dvb-a539e5b68945/
[root@localhost v4l-dvb-a539e5b68945]# make
make -C /etc/v4l-dvb-a539e5b68945/v4l 
make[1]: Entering directory `/etc/v4l-dvb-a539e5b68945/v4l'
Updating/Creating .config
Preparing to compile for kernel version 2.6.31
File not found: /lib/modules/2.6.31.5-127.fc12.i686/build/.config at ./scripts/make_kconfig.pl line 32, <IN> line 4.
make[1]: *** No rule to make target `.myconfig', needed by `config-compat.h'.  Stop.
make[1]: Leaving directory `/etc/v4l-dvb-a539e5b68945/v4l'
make: *** [all] Error 2
[root@localhost v4l-dvb-a539e5b68945]#
Reply With Quote
  #6  
Old 2nd April 2010, 07:47 AM
glennzo's Avatar
glennzo Online
Un-Retired Administrator
 
Join Date: Mar 2004
Location: Salem, Mass USA
Posts: 13,929
linuxfedorafirefox
Re: Linux-UVC Driver Make Issues

Have you installed the kernel source, etc?
__________________
Glenn
The Bassinator © ®


Laptop: Toshiba Satellite / Intel Core 2 Duo 1.73 GHz / 2GB / 160GB / Intel Mobile 945GM/GMS/GME/943/940GML Integrated Graphics
Desktop: BioStar MCP6PB M2+ / AMD Phenom 9750 Quad Core / 4GB / 1TB SATA / 500GB SATA / EVGA GeForce 8400 GS 1GB
Reply With Quote
  #7  
Old 2nd April 2010, 03:57 PM
RusH487 Offline
Registered User
 
Join Date: Apr 2010
Posts: 14
linuxfedorafirefox
Re: Linux-UVC Driver Make Issues

I followed the directions on this page to install the kernel source files (up to the point where it says 'Prepare the Kernel Source Tree')
http://fedoraproject.org/wiki/Docs/CustomKernel

After everything was downloaded and installed, I tried running the 'make' command from the v4l... directory again and got the same error

Code:
[RusH@localhost ~]$ cd /etc/
[RusH@localhost etc]$ cd v4l-dvb-a539e5b68945/
[RusH@localhost v4l-dvb-a539e5b68945]$ make
make -C /etc/v4l-dvb-a539e5b68945/v4l 
make[1]: Entering directory `/etc/v4l-dvb-a539e5b68945/v4l'
Updating/Creating .config
Preparing to compile for kernel version 2.6.31
File not found: /lib/modules/2.6.31.5-127.fc12.i686/build/.config at ./scripts/make_kconfig.pl line 32, <IN> line 4.
make[1]: *** No rule to make target `.myconfig', needed by `config-compat.h'.  Stop.
make[1]: Leaving directory `/etc/v4l-dvb-a539e5b68945/v4l'
make: *** [all] Error 2
Are you sure it has nothing to do with the fact that it is looking for the 2.6.31.5-127.fc12 kernel and I have the 2.6.32.10-90.fc12 kernel (after the above installation process)?

---------- Post added at 10:57 AM CDT ---------- Previous post was at 09:54 AM CDT ----------

Turns out my stupid ass didn't tell VMWare to connect the device. Once I did, Skype picked up the webcam no problem.

(For anyone else with this issue, I went to VM->Removable Devices->Chicony USB Device->Connect)

However, I'd still like to know why the Linux-UVC drivers wouldn't/won't make.

All I need to do now is figure out why the webcam is so jumpy and it won't pick up the built-in microphone... Guess it's back to Google for me.

Anyway, thanks for your help -- if you still want to offer suggestions for why 'make' wouldn't work for that driver it'd be very much appreciated - and I'll be happy to keep trying different things, but for now it seems I've found another way to get my hardware recognized.

EDIT:

Sorry to keep adding to this post... But the webcam's still not working right (no other programs work with it -- like Cheese... And Skype is too jumpy to be usable) and I believe it has something to do with not having the proper drivers installed still. The model is HP KQ246AA.

Last edited by RusH487; 2nd April 2010 at 04:23 PM.
Reply With Quote
  #8  
Old 2nd April 2010, 06:09 PM
glennzo's Avatar
glennzo Online
Un-Retired Administrator
 
Join Date: Mar 2004
Location: Salem, Mass USA
Posts: 13,929
windows_xp_2003firefox
Re: Linux-UVC Driver Make Issues

I don't think you need to go to those extremes (source tree, etc). I don't have any of that installed. Based on my output would you say make worked? I'm not exactly a ./configure / make / make install guru but I don't think there were any errors. Anyhow, if I were you I would try the following and then see if make works.
Code:
yum update
yum install kernel-devel
yum groupinstall 'Development Tools'
__________________
Glenn
The Bassinator © ®


Laptop: Toshiba Satellite / Intel Core 2 Duo 1.73 GHz / 2GB / 160GB / Intel Mobile 945GM/GMS/GME/943/940GML Integrated Graphics
Desktop: BioStar MCP6PB M2+ / AMD Phenom 9750 Quad Core / 4GB / 1TB SATA / 500GB SATA / EVGA GeForce 8400 GS 1GB
Reply With Quote
  #9  
Old 2nd April 2010, 06:18 PM
RusH487 Offline
Registered User
 
Join Date: Apr 2010
Posts: 14
linuxfedorafirefox
Re: Linux-UVC Driver Make Issues

I ran all those commands and everything was already up to date. The make is not working -- it is giving me the same error it has been giving me since the beginning.

Code:
[RusH@localhost ~]$ cd /etc/
[RusH@localhost etc]$ cd v4l-dvb-a539e5b68945/
[RusH@localhost v4l-dvb-a539e5b68945]$ make
make -C /etc/v4l-dvb-a539e5b68945/v4l 
make[1]: Entering directory `/etc/v4l-dvb-a539e5b68945/v4l'
Updating/Creating .config
Preparing to compile for kernel version 2.6.31
File not found: /lib/modules/2.6.31.5-127.fc12.i686/build/.config at ./scripts/make_kconfig.pl line 32, <IN> line 4.
make[1]: *** No rule to make target `.myconfig', needed by `config-compat.h'.  Stop.
make[1]: Leaving directory `/etc/v4l-dvb-a539e5b68945/v4l'
make: *** [all] Error 2
[RusH@localhost v4l-dvb-a539e5b68945]$
The main error (from what I can tell) lies in
Code:
File not found: /lib/modules/2.6.31.5-127.fc12.i686/build/.config at ./scripts/make_kconfig.pl line 32, <IN> line 4.
make[1]: *** No rule to make target `.myconfig', needed by `config-compat.h'.  Stop.
Reply With Quote
  #10  
Old 2nd April 2010, 08:22 PM
CD-RW's Avatar
CD-RW Offline
Registered User
 
Join Date: Nov 2006
Posts: 555
linuxfedorakonqueror
Re: Linux-UVC Driver Make Issues

Hi.

You don't need to do ANY of that at all.

The UVC driver is built into the Fedora 12 kernel

Please see my guide on Linux compatible webcams here:

http://forums.fedoraforum.org/showthread.php?t=240812

HTH
Reply With Quote
  #11  
Old 2nd April 2010, 08:28 PM
RusH487 Offline
Registered User
 
Join Date: Apr 2010
Posts: 14
linuxfedorafirefox
Re: Linux-UVC Driver Make Issues

Thanks very much CD-RW -- I've since found that really all I needed to do was connect my webcam through VMWare I just went to go test 'Cheese' again and for some reason this time it worked perfectly fine whereas before it was giving me test patterns.

Now all I've got to do is get my stupid webcam-based mic to work with Skype and I'll be in business... But, alas, that's a topic for another thread:
http://forums.fedoraforum.org/showthread.php?t=242675
Reply With Quote
  #12  
Old 2nd April 2010, 09:04 PM
CD-RW's Avatar
CD-RW Offline
Registered User
 
Join Date: Nov 2006
Posts: 555
linuxfedorakonqueror
Re: Linux-UVC Driver Make Issues

Been there too with the soundcard problems and a UVC webcam, but not using a VM configuration.

http://forums.fedoraforum.org/showth...32#post1347532

Last edited by CD-RW; 2nd April 2010 at 09:10 PM.
Reply With Quote
Reply

Tags
linux-uvc

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

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 On
HTML code is Off

Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
Make Command - Issues with Fedora Core 8 earnolmartin Using Fedora 23 26th February 2008 12:44 AM
How to make dual boot linux-linux mustakim Installation and Live Media 17 15th January 2008 02:15 AM
How do I make a driver disk? talongrrl Installation and Live Media 8 20th May 2005 05:49 PM


Current GMT-time: 21:18 (Monday, 20-05-2013)

TopSubscribe to XML RSS for all Threads in all ForumsFedoraForumDotOrg Archive
logo

All trademarks, and forum posts in this site are property of their respective owner(s).
FedoraForum.org is privately owned and is not directly sponsored by the Fedora Project or Red Hat, Inc.

Privacy Policy | Term of Use | Posting Guidelines | Archive | Contact Us | Founding Members

Powered by vBulletin® Copyright ©2000 - 2012, vBulletin Solutions, Inc.

FedoraForum is Powered by RedHat