LinuxQuestions.org
Share your knowledge at the LQ Wiki.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Software
User Name
Password
Linux - Software This forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.

Notices


Reply
  Search this Thread
Old 04-26-2005, 10:25 AM   #1
floris
Member
 
Registered: Feb 2005
Posts: 36

Rep: Reputation: 15
cannot compile ov511


I'm running mandrake 10.1 and trying to get my webcam working wich should be compatible with the ov511chip. I downloaded the sources but I get this error:
make -C /lib/modules/2.6.8.1-10mdk SUBDIRS=/home/f/ov511-b/ov511-2.27 modules
make[1]: Entering directory `/lib/modules/2.6.8.1-10mdk'
make[1]: *** No rule to make target `modules'. Stop.
make[1]: Leaving directory `/lib/modules/2.6.8.1-10mdk'
make: *** [default] Error 2

originally it would look for /lib/modules/(uname -r)/build, but I changed the Makefile, I don't understand what the makefile is looking for..
 
Old 04-27-2005, 03:09 AM   #2
slackie1000
Senior Member
 
Registered: Dec 2003
Location: Brasil
Distribution: Arch
Posts: 1,037

Rep: Reputation: 46
hi there,

how exactly did you change your Makefile?
can you post the output of
Code:
grep -i uname Makefile
grep -i "/lib/modules*" Makefile
regards

slackie1000
 
Old 04-27-2005, 07:42 AM   #3
floris
Member
 
Registered: Feb 2005
Posts: 36

Original Poster
Rep: Reputation: 15
Hi, here's my output

grep -i uname Makefile
ifeq ($(shell uname -r | cut -d . -f 1-2),2.4)
ifeq ($(shell uname -r | cut -d . -f 1-2),2.6)
KDIR := /lib/modules/$(shell uname -r)
[root@localhost ov511-2.27]# grep -i "/lib/modules*" Makefile
KDIR := /lib/modules/$(shell uname -r)

KDIR was originally /lib/modules/$(shell uname -r)/build, but because there was no folder named "build" I left it out, by the way when I do a "lsusb" I see the camera listed, does that mean that ov511 module is already loaded?
lsusb
Bus 005 Device 001: ID 0000:0000
Bus 004 Device 001: ID 0000:0000
Bus 003 Device 002: ID 05a9:0518 OmniVision Technologies, Inc. OV518 WebCam
Bus 003 Device 001: ID 0000:0000
Bus 002 Device 001: ID 0000:0000
Bus 001 Device 001: ID 0000:0000
 
Old 04-27-2005, 07:52 AM   #4
slackie1000
Senior Member
 
Registered: Dec 2003
Location: Brasil
Distribution: Arch
Posts: 1,037

Rep: Reputation: 46
hi there,

to check if a kernel module is loaded, you can use
Code:
lsmod
and if it is not, and you are sure that it is correct built you can load it
Code:
modprobe $module_name
about your makefile, i don't know. you changed the KDIR variable and now you have different path.
did it work anyway? where else KDIR is called?

regards

slackie1000

Last edited by slackie1000; 04-27-2005 at 08:11 AM.
 
Old 04-27-2005, 08:28 AM   #5
floris
Member
 
Registered: Feb 2005
Posts: 36

Original Poster
Rep: Reputation: 15
Hi,
lsmod does, partialy, this:
tda9887 11204 0
tuner 18320 0
saa7134 93232 0
video-buf 16868 1 saa7134
v4l2-common 4896 1 saa7134
v4l1-compat 13092 1 saa7134
soundcore 7008 4 snd,saa7134
i2c-core 19060 4 ovcamchip,tda9887,tuner,saa7134
ir-common 3972 1 saa7134
videodev 7168 2 ov511,saa7134
nvidia 3462936 12
loop 12520 0
dm-mod 51100 2
ehci-hcd 26244 0
uhci-hcd 28752 0
usbcore 103172 6 ov511,usbhid,ehci-hcd,uhci-hcd
genrtc 7444 0
ext3 120680 1
jbd 49080 1 ext3

it seems to be loaded, but when I start gnomemeeting I can only choose the tvcard and not the webcam, maybe I should link it to v4l somehow....?...

Last edited by floris; 04-27-2005 at 08:34 AM.
 
Old 04-27-2005, 08:39 AM   #6
slackie1000
Senior Member
 
Registered: Dec 2003
Location: Brasil
Distribution: Arch
Posts: 1,037

Rep: Reputation: 46
hi there,

Quote:
Originally posted by floris

i2c-core 19060 4 ovcamchip,tda9887,tuner,saa7134
here ... this is the module name that you are trying to compile? - see red ....
it is not in the list from "lsmod" ???
did you execute
Code:
modprobe ovcamship
???
looks weird. if you compile the modules sucessfully and your camera is linux compatible, it should work.
how about gnomeeting settings? is there something that should be checked? sorry, know nothing about gnomeeting...

regards

slackie1000
 
Old 04-27-2005, 09:28 AM   #7
floris
Member
 
Registered: Feb 2005
Posts: 36

Original Poster
Rep: Reputation: 15
ok, thanks for you're help sofar slackie, I think I'll start a new threath about gnomemeeting then...
 
Old 04-27-2005, 09:35 AM   #8
slackie1000
Senior Member
 
Registered: Dec 2003
Location: Brasil
Distribution: Arch
Posts: 1,037

Rep: Reputation: 46
hi there,

welcome... i don't think i helped so much...
anyway the issue, i think is with gnome and not with kernel modules..
good luck

regards

slackie1000
 
Old 11-13-2005, 02:25 PM   #9
foolsh
Member
 
Registered: Apr 2005
Location: IL
Distribution: kubuntu
Posts: 56

Rep: Reputation: 15
http://home.insightbb.com/~foolsh/

Last edited by foolsh; 04-24-2006 at 01:20 PM.
 
  


Reply



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



Similar Threads
Thread Thread Starter Forum Replies Last Post
Problems with webcam -- ov511 Adrohak Linux - Hardware 0 10-16-2004 10:30 AM
Trying to compile ov511 for Fedora 1 jryoung Linux - Newbie 0 04-01-2004 04:57 AM
ov511 webcam options LinFreak! Linux - Hardware 1 03-20-2004 03:46 PM
ov511 framerates bward Linux - Hardware 0 12-29-2003 02:35 PM
ov511 webcam and v4l twofeet Linux - Hardware 2 08-07-2003 11:45 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Software

All times are GMT -5. The time now is 05:52 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration