install gspca on CentOS 5.5 Linux

Posted on 2011-09-08
Medium Priority
Last Modified: 2012-08-13
I am trying to install the driver for my Longitech QuickCam Chat cammera, on to
CentOS 5.5. And I got the version  gspacv1-20071244. I seem to be able to build it but no luck when I tried to insert the module.  The following is the screen shot:

[root@cslinux gspcav1-20071224]# ls
changelog  Etoms         gspca.h      gspca.o       Mars-Semi       READ_AND_INSTALL  Transvision
Conexant   gspca_build   gspca.ko     license       Module.markers  Sonix             utils
cutlog.py  gspca_core.c  gspca.mod.c  Makefile      Module.symvers  Sunplus           Vimicro
decoder    gspca_core.o  gspca.mod.o  Makefile.kld  Pixart          Sunplus-jpeg
[root@cslinux gspcav1-20071224]# insmod gspca.mod.o
insmod: error inserting 'gspca.mod.o': -1 Unknown symbol in module
[root@cslinux gspcav1-20071224]# insmod gspca.ko
insmod: error inserting 'gspca.ko': -1 Unknown symbol in module
[root@cslinux gspcav1-20071224]#

What caused the  "Unknow symbol in module" error?  Is it kernal version or version of the driver or something else?   Experts please help.

Question by:zzhang2006
LVL 35

Accepted Solution

Duncan Roe earned 750 total points
ID: 36509880
gspca may depend on some other module which is not loaded yet. Rather than insmod, it is much better to use modprobe. modprobe will resolve such dependency issues if it can.
1. move gspca.ko into /lib/modules/$(uname -r)/kernel/drivers (actual directory is not so important as long as it's somewhere in the module tree)
2. run depmod -a
3. run modprobe gspca

Post back if this doesn't work

Author Closing Comment

ID: 36526817

Featured Post

Upgrade your Question Security!

Your question, your audience. Choose who sees your identity—and your question—with question security.

Question has a verified solution.

Are you are experiencing a similar issue? Get a personalized answer when you ask a related question.

Have a better answer? Share it in a comment.

Join & Write a Comment

Virtualization software lets you run different versions of Windows, Ubuntu Linux and other versions of Linux all at the same time, rather than running each one directly from your computer's hard drive.
This tutorial summarizes the causes behind"an unknown error prevented access to the PST File”.  It also suggests the various solutions to fix the problem.
Video by: Tony
This video teaches viewers how to export a project from Adobe Premiere Pro and the various file types involved.
XMind Plus helps organize all details/aspects of any project from large to small in an orderly and concise manner. If you are working on a complex project, use this micro tutorial to show you how to make a basic flow chart. The software is free when…

627 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question