What entries to put in modules.conf for webcam?
Here is the webcam i have:
USB Camera
Manufacturer: OmniVision Technologies, Inc.
Speed: 12Mb/s (full)
USB Version: 1.10
Device Class: 00(>ifc )
Device Subclass: 00
Device Protocol: 00
Maximum Default Endpoint Size: 8
Number of Configurations: 1
Vendor Id: 05a9
Product Id: 8519
Revision Number: 1.00
Well, after battling through google, i did many things. Here are a bunch that i have done:
-videodev loaded: yes
-ov511 loaded: yes
($lsmod : videodev 7168 1 ov511)
-/dev/video to /dev/video63 exist?: yes
-permissions ok on /dev/video?: yes, (ls -al /dev/video
lrwxrwxrwx 1 root root 6 Jun 9 13:05 /dev/video -> video0)
-usb-hcd and usbcore loaded? yes
-usb correctly detected? yes, look below for /proc/bus/usb/devices output for camera:
(T: Bus=02 Lev=01 Prnt=01 Port=00 Cnt=01 Dev#= 2 Spd=12 MxCh= 0
D: Ver= 1.10 Cls=00(>ifc ) Sub=00 Prot=00 MxPS= 8 #Cfgs= 1
P: Vendor=05a9 ProdID=8519 Rev= 1.00
S: Manufacturer=OmniVision Technologies, Inc.
S: Product=USB Camera
C:* #Ifs= 3 Cfg#= 1 Atr=80 MxPwr=500mA
I: If#= 0 Alt= 0 #EPs= 1 Cls=ff(vend.) Sub=00 Prot=00 Driver=(none)
E: Ad=81(I) Atr=01(Isoc) MxPS= 0 Ivl=1ms
I: If#= 0 Alt= 1 #EPs= 1 Cls=ff(vend.) Sub=00 Prot=00 Driver=(none)
E: Ad=81(I) Atr=01(Isoc) MxPS= 384 Ivl=1ms
I: If#= 0 Alt= 2 #EPs= 1 Cls=ff(vend.) Sub=00 Prot=00 Driver=(none)
E: Ad=81(I) Atr=01(Isoc) MxPS= 512 Ivl=1ms
I: If#= 0 Alt= 3 #EPs= 1 Cls=ff(vend.) Sub=00 Prot=00 Driver=(none)
E: Ad=81(I) Atr=01(Isoc) MxPS= 768 Ivl=1ms
I: If#= 0 Alt= 4 #EPs= 1 Cls=ff(vend.) Sub=00 Prot=00 Driver=(none)
E: Ad=81(I) Atr=01(Isoc) MxPS= 896 Ivl=1ms
I: If#= 1 Alt= 0 #EPs= 0 Cls=01(audio) Sub=01 Prot=00 Driver=audio
I: If#= 2 Alt= 0 #EPs= 0 Cls=01(audio) Sub=02 Prot=00 Driver=audio
I: If#= 2 Alt= 1 #EPs= 1 Cls=01(audio) Sub=02 Prot=00 Driver=audio
E: Ad=82(I) Atr=05(Isoc) MxPS= 40 Ivl=1ms
Phew, now, i think i have pretty much exhausted all the options that need enabling, but the webcam still does not work. Here is what i get with xawtv:
$ xawtv -c /dev/video (-hwscan does not detect the camera)
This is xawtv-3.92, running on Linux/i686 (2.6.6)
can't open /dev/video: No such device
v4l-conf had some trouble, trying to continue anyway
v4l2: open /dev/video: No such device
v4l2: open /dev/video: No such device
v4l: open /dev/video: No such device
And v4l-conf gives this:
# v4l-conf
v4l-conf: using X11 display :0.0
dga: version 2.0
mode: 1024x768, depth=24, bpp=32, bpl=4096, base=0xd8000000
can't open /dev/video0: No such device
At this point i am wondering if this has something to do with /etc/modules.conf file. I mean it has no entries in there as of now dealing with 'videodev/webcam' or actually anything at all dealing with video in general. Could this be the problem, and if so, what do i have to add to modules.conf? I know i am supposed to make a file in /etc/modutils and then just run update-modules in Debian Sid. But what should go in that file?
Thanks.
I am using Kernel 2.6.6 on Debian Sid with a Epox via KT266 mobo.
Reply to: