All of lore.kernel.org
 help / color / mirror / Atom feed
From: Jean-Francois Moine <moinejf@free.fr>
To: Niamathullah sharief <newbiesha@gmail.com>
Cc: Steven Yao <yaohaiping.linux@gmail.com>,
	kernelnewbies@nl.linux.org, video4linux-list@redhat.com
Subject: Re: About Webcam module
Date: Sat, 12 Sep 2009 08:24:26 +0200	[thread overview]
Message-ID: <20090912082426.2dfba603@tele> (raw)
In-Reply-To: <25f5fcff0909110507y635aa97eg1d599710372a6e9e@mail.gmail.com>

On Fri, 11 Sep 2009 17:37:19 +0530
Niamathullah sharief <newbiesha@gmail.com> 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/

--
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-12  6:24 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 [this message]
2009-09-14 18:00       ` Niamathullah sharief
2009-09-14 18:28         ` Jean-Francois Moine
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=20090912082426.2dfba603@tele \
    --to=moinejf@free.fr \
    --cc=kernelnewbies@nl.linux.org \
    --cc=newbiesha@gmail.com \
    --cc=video4linux-list@redhat.com \
    --cc=yaohaiping.linux@gmail.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.