Results 1 to 10 of 17
Hi friends,
I have some doubts in video device driver. I have an Creative webcam with me. After inserting the webcam i have seen the following modules installed
Code:
Module ...
- 09-11-2009 #1Linux User
- Join Date
- Aug 2008
- Location
- Trichy,India
- Posts
- 308
About Webcam module
Hi friends,
I have some doubts in video device driver. I have an Creative webcam with me. After inserting the webcam i have seen the following modules installed
I dont know which module is exactly for my webcam? i am seeing 5 extra module installed after inserting my webcam. I am confused. Can anyone help me?Code:Module Size Used by gspca_zc3xx 55936 0 gspca_main 29312 1 gspca_zc3xx videodev 41344 1 gspca_main v4l1_compat 22404 1 videodev
Thanks in advance...
- 09-11-2009 #2
The first module is the driver code specific for the hardware.
The rest are more general routines that the driver depends on.Debian GNU/Linux -- You know you want it.
- 09-11-2009 #3Linux User
- Join Date
- Aug 2008
- Location
- Trichy,India
- Posts
- 308
so you mean this "gspca_zc3xx" is hardware driver?
Thanks in advance...
- 09-11-2009 #4
It contains the parts that are specific to this hardware model.
Together with the other, more generic, modules it forms the device driver.Debian GNU/Linux -- You know you want it.
- 09-11-2009 #5Linux User
- Join Date
- Aug 2008
- Location
- Trichy,India
- Posts
- 308
ok finally you mean this is the module for my device....right?
Thanks in advance...
- 09-14-2009 #6Linux User
- Join Date
- Aug 2008
- Location
- Trichy,India
- Posts
- 308
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
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?Code: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
Thanks in advance...
- 09-15-2009 #7Linux User
- Join Date
- Aug 2008
- Location
- Trichy,India
- Posts
- 308
I cam to know that i need the other two modules to be installed to work this module..ie "videodev" and "v4l1-compat"...so i copiled that modules too...but i am getting the following error..
I compiled all the required modules...ie gspca_main, gspca_zc3xx, v4l1-compat. But i am not getting this "videodev" module..I dont know why...
My Makefile
if i compile i am getting the the modules asCode:obj-m += gspca_main.o obj-m += gspca_zc3xx.o obj-m += v4l1-compat.o obj-m += v4l2-dev.o obj-m += v4l2-ioctl.o obj-m += v4l2-device.o gspca_main-objs := gspca.o gspca_zc3xx-objs := zc3xx.o videodev-objs := v4l2-dev.o v4l2-ioctl.o v4l2-device.o all: make -C /lib/modules/$(shell uname -r)/build M=$(PWD) modules clean: make -C /lib/modules/$(shell uname -r)/build M=$(PWD) clean
I am not getting the exact videodev module....please help meCode:sharief@sharief-desktop:~/Desktop/video/gspca$ make make -C /lib/modules/2.6.30/build M=/home/sharief/Desktop/video/gspca modules make[1]: Entering directory `/home/sharief/Desktop/kernelroot/linux-2.6.30' CC [M] /home/sharief/Desktop/video/gspca/gspca.o CC [M] /home/sharief/Desktop/video/gspca/zc3xx.o LD [M] /home/sharief/Desktop/video/gspca/gspca_main.o LD [M] /home/sharief/Desktop/video/gspca/gspca_zc3xx.o CC [M] /home/sharief/Desktop/video/gspca/v4l1-compat.o CC [M] /home/sharief/Desktop/video/gspca/v4l2-dev.o CC [M] /home/sharief/Desktop/video/gspca/v4l2-ioctl.o CC [M] /home/sharief/Desktop/video/gspca/v4l2-device.o Building modules, stage 2. MODPOST 6 modules CC /home/sharief/Desktop/video/gspca/gspca_main.mod.o LD [M] /home/sharief/Desktop/video/gspca/gspca_main.ko CC /home/sharief/Desktop/video/gspca/gspca_zc3xx.mod.o LD [M] /home/sharief/Desktop/video/gspca/gspca_zc3xx.ko CC /home/sharief/Desktop/video/gspca/v4l1-compat.mod.o LD [M] /home/sharief/Desktop/video/gspca/v4l1-compat.ko CC /home/sharief/Desktop/video/gspca/v4l2-dev.mod.o LD [M] /home/sharief/Desktop/video/gspca/v4l2-dev.ko CC /home/sharief/Desktop/video/gspca/v4l2-device.mod.o LD [M] /home/sharief/Desktop/video/gspca/v4l2-device.ko CC /home/sharief/Desktop/video/gspca/v4l2-ioctl.mod.o LD [M] /home/sharief/Desktop/video/gspca/v4l2-ioctl.ko I dont know why i am getting like this...?Please help me
Thanks in advance...
- 09-15-2009 #8
That driver is part of the kernel. You shouldn't need to compile it. Here is the info on it that I get from the kernel.
Code:│ CONFIG_VIDEO_DEV: │ │ │ │ V4L core support for video capture and overlay devices, webcams and │ │ AM/FM radio cards. │ │ │ │ This kernel includes support for the new Video for Linux Two API, │ │ (V4L2). │ │ │ │ Additional info and docs are available on the web at │ │ <http://linuxtv.org> │ │ │ │ Documentation for V4L2 is also available on the web at │ │ <http://bytesex.org/v4l/>. │ │ │ │ To compile this driver as a module, choose M here: the │ │ module will be called videodev. │ │ │ │ Symbol: VIDEO_DEV [=m] │ │ Prompt: Video For Linux │ │ Defined at drivers/media/Kconfig:14 │ │ Depends on: HAS_IOMEM │ │ Location: │ │ -> Device Drivers │ │ -> Multimedia devices │ │ │
Paul
Please do not send Private Messages to me with requests for help. I will not reply.
- 09-15-2009 #9Linux User
- Join Date
- Aug 2008
- Location
- Trichy,India
- Posts
- 308
Thanks for your information. yes i know it. But i am trying it for experiment. I want to compile it separately. That why i tried to compiled it....I am not gettig that videodev module....
Thanks in advance...
- 09-15-2009 #10
It looks like it is part of the v4l-dvb drivers:
v4l-dvb: 75184c1912a1 /linux/include/linux/
I don't know if it cam be compiled separately, as there is no Makefile for that branch. You may have to compile the entire driver package.
v4l-dvb: 75184c1912a1 /Paul
Please do not send Private Messages to me with requests for help. I will not reply.


Reply With Quote