Fedora Linux Support Community & Resources Center
  #1  
Old 24th October 2009, 10:07 PM
Rezwan Mahbub Offline
Registered User
 
Join Date: Mar 2007
Posts: 148
linuxopera
Problem installing web cam sn9c201 in fc 11

Hello,
I am trying to install sn9c201 webcam driver in fedora 11 in accordance to the instructions given in http://groups.google.com/group/micro...a-driver-draft. Here's the problems I faced.

git clone http://repo.or.cz/r/microdia.git command works well
and the microdia folder is created and
I have installed the following programs as well
yum install git kernel-devel gcc make libv4l

but the make command shows:
make -C /lib/modules/2.6.29.4-167.fc11.i686.PAE/build SUBDIRS=/home/prome/microdia modules
make: *** /lib/modules/2.6.29.4-167.fc11.i686.PAE/build: No such file or directory. Stop.
make: *** [driver] Error 2

and then no further steps works...
whereas I have installed the driver in my desktop Ubuntu easily which works.

Can somebody help!
Reply With Quote
  #2  
Old 27th October 2009, 02:31 PM
Rezwan Mahbub Offline
Registered User
 
Join Date: Mar 2007
Posts: 148
linuxopera
Is there no body to help till far?
Reply With Quote
  #3  
Old 27th October 2009, 02:46 PM
Sagitter Offline
Registered User
 
Join Date: Sep 2009
Location: Salento - Italy
Age: 32
Posts: 507
linuxfedorafirefox
Quote:
make -C /lib/modules/2.6.29.4-167.fc11.i686.PAE/build SUBDIRS=/home/prome/microdia modules
make: *** /lib/modules/2.6.29.4-167.fc11.i686.PAE/build: No such file or directory. Stop.
make: *** [driver] Error 2
Show complete lines, please.
Also:

Code:
$ yum list installed | grep kernel
Do you just read #7 point of http://groups.google.com/group/microdia/web/testing-microdia-driver-draft ?

Last edited by Sagitter; 27th October 2009 at 03:07 PM.
Reply With Quote
  #4  
Old 11th November 2009, 01:54 PM
antony28 Offline
Registered User
 
Join Date: Nov 2009
Posts: 1
windows_vistaie
Have you made sure that you have installed the developer tools ?


# yum groupinstall 'development-tools'
# yum install kernel-headers kernel-devel
Reply With Quote
  #5  
Old 29th November 2009, 11:00 AM
royalwizards01 Offline
Registered User
 
Join Date: Nov 2009
Posts: 1
linuxfedorafirefox
Hi Rezwan,

I was closely following your post for the solution as I was facing the same problem as you were facing. But finally I ws able to crack the solution which is here under

The basic problem lies with 2.6.29.4-167.fc11.i686.PAE. You need to return back to kernel 2.6.30.9-96.fc11. For doing that you need to login as root and give following command
# yum install kernel 2.6.30.9-96.fc11
This action downloads the package 2.6.30.9-96.fc11.

Then you need to edit your grub.conf file and remove all entries pertaining to 2.6.29.4-167.fc11.i686.PAE. Just leave the entires related to 2.6.30.9-96.fc11. Pls be very careful when you edit your grub.conf file. I would strongly advice you to take the backup of your data.

Now delete the previously installed microdia folder from your system.

Reboot your system so that your system now uses kernel 2.6.30.9-96.fc11 in booting. Once you complete boot again follow the setps

# git clone http://repo.or.cz/r/microdia.git

# yum install git kernel-devel gcc make libv4l

Now the third step which is the problematic step. Change directory to Microdia using command
# cd microdia

Now open the file Makefile which is there in your microdia folder using command
# gedit Makefile

Make sure you are logged in as root when you are executing the above command.

When Makefile opens make sure you change the KSRC line by replacing your kernel version which is 2.6.30.9-96.fc11.i586 in place of $(KVER). SO the line should look like this as written below

KSRC=/lib/modules/2.6.30.9-96.fc11.i586/build

Save the file and come out. Now issue make command. Your microdia drivers will be compiled by using 2.6.30.9-96.fc11.i586 package. Once successfully compiled you will have sn9c20x.ko file and error 127. It means you are going good.

Then issue following commands
# sudo modprobe videodev

# sudo insmod sn9c20x.ko

VOILAA !! you are done. Test your webcam by running cheese.

Finall do not forget to carry out floowing commands once your webcam is working fine so that everythime you do not have to repeat the same steps again and again. These steps are listed as step no 7 on microdia draft page and are as under

# strip -g sn9c20x.ko
# mkdir -p /lib/modules/`uname -r`/kernel/drivers/media/video/usbvideo/
# cp sn9c20x.ko /lib/modules/`uname -r`/kernel/drivers/media/video/usbvideo/
# depmod -a


Sorry, I am a newbie to Fedora and tried almost 6 nights before i could get my webcam working. SO if I have not written in accordance with the standards of this forum pls pardon me. The final outcome should be that our problem should resolve no matter how the solution comes. If you face any problem pls feel free to get back to me...
Reply With Quote
Reply

Tags
cam, installing, problem, web

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
Problem installing VLC vappigural Using Fedora 8 19th April 2009 08:38 AM
problem in installing ssh falcon164 Using Fedora 7 17th February 2009 08:13 PM
problem doing yum updates and what may be a similar problem installing vlm bad horsie Using Fedora 1 26th December 2008 04:28 AM
problem installing fc4 on laptop (+photos of the problem) trisfores6 EOL (End Of Life) Versions 3 25th June 2005 04:19 PM
Problem installing updates after installing MySQL 4.1.11 garthbrown Using Fedora 4 26th May 2005 06:49 AM


Current GMT-time: 21:58 (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