LinuxQuestions.org
Share your knowledge at the LQ Wiki.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Ubuntu
User Name
Password
Ubuntu This forum is for the discussion of Ubuntu Linux.

Notices


Reply
  Search this Thread
Old 09-26-2008, 01:19 AM   #1
shariefbe
Member
 
Registered: Aug 2008
Location: Tiruchirappalli, India
Distribution: UBUNTU 11.04
Posts: 368

Rep: Reputation: 31
cant find module path


hello,i am new to linux...and i am using ubuntu 7.10 version.in that i connected USB camera.after i connect i found that the driver installed.i saw the details by tying dmesg.the message is

[ 128.986832] usb 1-1: new full speed USB device using uhci_hcd and address 2
[ 129.146742] usb 1-1: configuration #1 chosen from 1 choice
[ 129.419023] Linux video capture interface: v2.00
[ 129.468427] /build/buildd/linux-ubuntu-modules-2.6.22-2.6.22/debian/build/build-generic/media/gspcav1/gspca_core.c: USB SPCA5XX camera found. SONIX sn9c10[1 2]
[ 129.475893] usbcore: registered new interface driver gspca
[ 129.476360] /build/buildd/linux-ubuntu-modules-2.6.22-2.6.22/debian/build/build-generic/media/gspcav1/gspca_core.c: gspca driver 01.00.12 registered
[ 129.516484] sn9c102: V4L2 driver for SN9C1xx PC Camera Controllers v1:1.44
[ 129.517057] usbcore: registered new interface driver sn9c102


in this i want to see the module which installed after inserting the camera.when i get into "build" i didnt find the "buildd" directory.
so where to find the installed module and how to reach there.please help me.
Thank you
 
Old 09-26-2008, 12:48 PM   #2
jailbait
LQ Guru
 
Registered: Feb 2003
Location: Virginia, USA
Distribution: Debian 12
Posts: 8,334

Rep: Reputation: 547Reputation: 547Reputation: 547Reputation: 547Reputation: 547Reputation: 547
Quote:
Originally Posted by shariefbe View Post

in this i want to see the module which installed after inserting the camera.when i get into "build" i didnt find the "buildd" directory.
so where to find the installed module and how to reach there.please help me.

I am not sure what you are asking. You can list all of the modules which are loaded into memory with the lsmod command:

lsmod

You can find individual modules in the kernel on the disk with the find command, for example:

find /lib -iname "*sn9c1*"

-----------------
Steve Stites
 
Old 09-27-2008, 12:43 AM   #3
shariefbe
Member
 
Registered: Aug 2008
Location: Tiruchirappalli, India
Distribution: UBUNTU 11.04
Posts: 368

Original Poster
Rep: Reputation: 31
actually i am so interested in webcam drivers...so i planned to remove the original driver from the kernel and make it by own...Thats why i asked...can i able to do?
 
Old 09-27-2008, 12:12 PM   #4
jailbait
LQ Guru
 
Registered: Feb 2003
Location: Virginia, USA
Distribution: Debian 12
Posts: 8,334

Rep: Reputation: 547Reputation: 547Reputation: 547Reputation: 547Reputation: 547Reputation: 547
Yes you can write your own driver and compile it into the kernel.

------------------------
Steve Stites
 
Old 09-28-2008, 01:01 AM   #5
shariefbe
Member
 
Registered: Aug 2008
Location: Tiruchirappalli, India
Distribution: UBUNTU 11.04
Posts: 368

Original Poster
Rep: Reputation: 31
i am new to linux....i dont know how to build an new driver..can you help meee..
 
Old 09-28-2008, 12:40 PM   #6
jailbait
LQ Guru
 
Registered: Feb 2003
Location: Virginia, USA
Distribution: Debian 12
Posts: 8,334

Rep: Reputation: 547Reputation: 547Reputation: 547Reputation: 547Reputation: 547Reputation: 547
Here is an explanation of how to write a device driver:

http://lwn.net/Kernel/LDD3/

----------------------
Steve Stites
 
Old 09-29-2008, 02:47 AM   #7
shariefbe
Member
 
Registered: Aug 2008
Location: Tiruchirappalli, India
Distribution: UBUNTU 11.04
Posts: 368

Original Poster
Rep: Reputation: 31
yes....Thank you
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

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
How do I find the path...... kuplo Linux - Newbie 2 11-25-2005 07:36 AM
Wrong module path Digiital Linux - General 2 01-11-2005 07:23 AM
module path problem d4nr Linux - Software 2 07-20-2004 09:09 AM
How to Chnage Python's module search path (sys.path)? lramos85 Linux - Software 1 05-02-2004 06:10 PM
Can't find Qt Path Luantum Slackware 2 11-12-2003 08:49 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Ubuntu

All times are GMT -5. The time now is 07:02 AM.

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