All of lore.kernel.org
 help / color / mirror / Atom feed
From: Jean-Francois Moine <moinejf@free.fr>
To: Niamathullah sharief <newbiesha@gmail.com>
Cc: kernelnewbies@nl.linux.org, video4linux-list@redhat.com
Subject: Re: About Webcam module
Date: Mon, 14 Sep 2009 20:28:55 +0200	[thread overview]
Message-ID: <20090914202855.61b5e8ea@tele> (raw)
In-Reply-To: <25f5fcff0909141100m49db178cu178801a4d4fd5976@mail.gmail.com>

On Mon, 14 Sep 2009 23:30:27 +0530
Niamathullah sharief <newbiesha@gmail.com> wrote:

> 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?

Indeed, the 2 modules videodev and v4l1_compat must be loaded prior to
load first gspca_main and then gspca_zc3xx, as shown by lsmod (below).

Usually, insmod is not directly used. You must use modprobe which looks
at the symbols and loads the required modules.

> On Sat, Sep 12, 2009 at 11:54 AM, Jean-Francois Moine
> <moinejf@free.fr>wrote:
> > 
> > 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


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

--
video4linux-list mailing list
Unsubscribe mailto:video4linux-list-request@redhat.com?subject=unsubscribe
https://www.redhat.com/mailman/listinfo/video4linux-list

  reply	other threads:[~2009-09-14 18:29 UTC|newest]

Thread overview: 8+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2009-09-11  7:20 About Webcam module Niamathullah sharief
     [not found] ` <b89eadb20909110234v2b8ee579nc19eed163cc77463@mail.gmail.com>
2009-09-11 12:07   ` Niamathullah sharief
2009-09-12  6:24     ` Jean-Francois Moine
2009-09-14 18:00       ` Niamathullah sharief
2009-09-14 18:28         ` Jean-Francois Moine [this message]
2009-09-15  2:23           ` Niamathullah sharief
     [not found]             ` <41d311580909160826v7ab50508k96ed1035558263f8@mail.gmail.com>
2009-09-16 16:57               ` Niamathullah sharief
     [not found]                 ` <41d311580909161827m3d8d59aam37b1a22396799335@mail.gmail.com>
2009-09-17  5:32                   ` Niamathullah sharief

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20090914202855.61b5e8ea@tele \
    --to=moinejf@free.fr \
    --cc=kernelnewbies@nl.linux.org \
    --cc=newbiesha@gmail.com \
    --cc=video4linux-list@redhat.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.