Re: About Webcam module

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 





Here i am facing a new problem. I tried to compile and install the gspca_main and gspca_zc3xx modules separately. I compiled them successfully. but i am getting error when inserting that modules


root@sharief-desktop:/home/sharief/Desktop/video/gspca# insmod gspca_zc3xx.ko
insmod: error inserting 'gspca_zc3xx.ko': -1 Unknown symbol in module
root@sharief-desktop:/home/sharief/Desktop/video/gspca# insmod gspca_main.ko
insmod: error inserting 'gspca_main.ko': -1 Unknown symbol in module

I think this both modules what some other modules to get insert in to kernel...But i am sure about that modules. Can anyone help me?





On Sat, Sep 12, 2009 at 11:54 AM, Jean-Francois Moine <moinejf@xxxxxxx> wrote:
On Fri, 11 Sep 2009 17:37:19 +0530
Niamathullah sharief <newbiesha@xxxxxxxxx> wrote:

       [snip]
> sharief@sharief-desktop:~$ modinfo -d gspca_zc3xx
> >
> GSPCA ZC03xx/VC3xx USB Camera Driver
> >
> sharief@sharief-desktop:~$ modinfo -d gspca_main
> >
> GSPCA USB Camera Driver
> >
> sharief@sharief-desktop:~$ modinfo -d videodev
> >
> Device registrar for Video4Linux drivers v2
> >
> sharief@sharief-desktop:~$ modinfo -d v4l1_compat
> >
> v4l(1) compatibility layer for v4l2 drivers.
> >
> sharief@sharief-desktop:~$
> >
>
> So first two things are showing as camera driver. bur how it is
> possible. kindly help me

Hi,

The driver of a USB device is easily found looking at
       /lib/modules/`uname -r`/modules.usbmap

So, your driver is gspca_zc3xx. Then, this module uses the gspca
framework, i.e it calls functions of the module gspca_main. This last
one calls functions of the common video module videodev. Then again, if
v4l1 compatibility is enabled, videodev calls functions of v4l1_compat.

lsmod shows all that directly:

Module              Size   Used by
gspca_zc3xx        55936   0
gspca_main         29312   1   gspca_zc3xx
videodev           41344   1   gspca_main
v4l1_compat        22404   1   videodev

Regards.

--
Ken ar c'hentań |             ** Breizh ha Linux atav! **
Jef             |               http://moinejf.free.fr/


[Index of Archives]     [Newbies FAQ]     [Linux Kernel Mentors]     [Linux Kernel Development]     [IETF Annouce]     [Git]     [Networking]     [Security]     [Bugtraq]     [Yosemite]     [MIPS Linux]     [ARM Linux]     [Linux RAID]     [Linux SCSI]     [Linux ACPI]
  Powered by Linux