LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Ubuntu (https://www.linuxquestions.org/questions/ubuntu-63/)
-   -   cant find module path (https://www.linuxquestions.org/questions/ubuntu-63/cant-find-module-path-672453/)

shariefbe 09-26-2008 01:19 AM

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

jailbait 09-26-2008 12:48 PM

Quote:

Originally Posted by shariefbe (Post 3292153)

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

shariefbe 09-27-2008 12:43 AM

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?

jailbait 09-27-2008 12:12 PM

Yes you can write your own driver and compile it into the kernel.

------------------------
Steve Stites

shariefbe 09-28-2008 01:01 AM

i am new to linux....i dont know how to build an new driver..can you help meee..

jailbait 09-28-2008 12:40 PM

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

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

----------------------
Steve Stites

shariefbe 09-29-2008 02:47 AM

yes....Thank you


All times are GMT -5. The time now is 11:04 PM.