LinuxQuestions.org
Download your favorite Linux distribution at LQ ISO.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Hardware
User Name
Password
Linux - Hardware This forum is for Hardware issues.
Having trouble installing a piece of hardware? Want to know if that peripheral is compatible with Linux?

Notices


Reply
  Search this Thread
Old 01-27-2003, 03:37 PM   #1
twofeet
LQ Newbie
 
Registered: Jan 2003
Posts: 9

Rep: Reputation: 0
Question ov511 webcam and v4l


Hi folks,

I have Mandrake 9.0, an ov511 webcam and a headache

I have loaded the drivers for the webcam, usbcore, v4l etc and lsmod dumps the following:

Module Size Used by Tainted: P
ov511_decomp 14420 0 (unused)
audio 38516 0 (unused)
ppp_deflate 41024 0 (autoclean)
bsd_comp 4344 0 (autoclean)
sr_mod 15096 0 (autoclean) (unused)
floppy 49340 0 (autoclean)
autofs4 9340 2 (autoclean)
lp 6720 0
agpgart 31840 3 (autoclean)
NVdriver 1065920 10 (autoclean)
ipt_TOS 984 12 (autoclean)
ipt_LOG 3384 5 (autoclean)
ipt_REJECT 2744 4 (autoclean)
ipt_state 568 8 (autoclean)
iptable_mangle 2072 1 (autoclean)
ip_nat_irc 2384 0 (unused)
ip_nat_ftp 2992 0 (unused)
iptable_nat 15224 2 [ip_nat_irc ip_nat_ftp]
ip_conntrack_irc 3056 1
ip_conntrack_ftp 3952 1
ip_conntrack 18400 4 [ipt_state ip_nat_irc ip_nat_ftp iptable_nat ip_conntrack_irc ip_conntrack_ftp]
iptable_filter 1644 1 (autoclean)
ip_tables 11672 9 [ipt_TOS ipt_LOG ipt_REJECT ipt_state iptable_mangle iptable_nat iptable_filter]
es1371 26568 1
soundcore 3780 0 [audio es1371]
ac97_codec 9928 0 [es1371]
gameport 1660 0 [es1371]
ppp_async 7456 1
ppp_generic 20064 3 [ppp_deflate bsd_comp ppp_async]
slhc 5072 1 [ppp_generic]
af_packet 13000 2 (autoclean)
tulip 40800 1 (autoclean)
nls_iso8859-15 3356 2 (autoclean)
nls_cp850 3580 2 (autoclean)
vfat 9588 2 (autoclean)
fat 31864 0 (autoclean) [vfat]
supermount 14340 4 (autoclean)
ext3 73736 1 (autoclean)
jbd 38608 1 (autoclean) [ext3]
ov511 68508 1 [ov511_decomp]
i2c-core 15332 0 [ov511]
videodev 5792 1 [ov511]
ide-cd 28712 0
cdrom 26848 0 [sr_mod ide-cd]
ide-scsi 8212 0
parport_pc 21672 2 (autoclean)
imm 9048 0
parport 23936 2 [lp parport_pc imm]
usb-uhci 21676 0 (unused)
usbcore 58304 1 [audio ov511 usb-uhci]
rtc 6560 0 (autoclean)
reiserfs 169776 4
sd_mod 11612 0
advansys 85132 0 (unused)
scsi_mod 91140 5 [sr_mod ide-scsi imm sd_mod advansys]


which seems to contain the drivers required.

ls -l /dev/vid* shows:

lr-xr-xr-x 1 root root 10 Jan 27 20:28 /dev/video -> v4l/video0
lr-xr-xr-x 1 root root 10 Jan 27 20:28 /dev/video0 -> v4l/video0

and ls -l /dev/v4l/ gives:

total 0
crw------- 1 jools sys 81, 0 Jan 1 1970 video0

The user and group settings appear to be what Mandrake has decided when dynamically creating the v4l device (jools is my uname).

The relevant parts of dmesg from boot time are:

Linux video capture interface: v1.00
i2c-core.o: i2c core module version 2.6.4 (20020719)
usb.c: registered new driver ov511
mod_ov511.c: USB OV518 video device found
Journalled Block Device driver loaded
mod_ov511.c: Device revision 1
mod_ov511.c: Compression required with OV518...enabling
kjournald starting. Commit interval 5 seconds
EXT3 FS 2.4-0.9.17, 10 Jan 2002 on ide1(22,72), internal journal
EXT3-fs: mounted filesystem with ordered data mode.
mod_ov511.c: Sensor is an OV6630
mod_ov511.c: Device registered on minor 0
mod_ov511.c: v2.09 : ov511 USB Camera Driver


Running xawtv generates the following output in a terminal:

This is xawtv-3.76, running on Linux/i686 (2.4.19-16mdk)
can't open /dev/v4l/video0: Function not implemented
v4l-conf had some trouble, trying to continue anyway
v4l2: open /dev/v4l/video0: Function not implemented
v4l: open /dev/v4l/video0: Function not implemented
no video grabber device available


and /var/log/kernel/errors reports:

Jan 27 20:56:17 main kernel: mod_ov511.c: No decompressor available


Any help appreciated.

Cheers,

jools
 
Old 08-05-2003, 07:22 PM   #2
enkyl
LQ Newbie
 
Registered: Aug 2003
Posts: 2

Rep: Reputation: 0
Hi,

I'm on a Debian sid kernel-2.4.21-ck3 with the correct modules compiled in.
Drivers for the webcam (ov511) are perfectly installed.
controlled under usbview, demsg, (read bellow)
The webcam is a @#!% Philips TouCam PCVC720k/20.
I've already saw it work fine under Mandrake 9.0 and 9.1.
But now i got a headake.
version: kernel-2.4.21-ck3
drivers version: ov511-1.65

lsmod: =============================
ov511_decomp 13252 0 (unused)
ov511 67804 1 [ov511_decomp]
videodev 6016 1 [ov511]
i2c-core 13028 0 (unused)
nvidia 1628096 11 (autoclean)
hid 14884 0 (unused)
apm 9924 1
es1371 27116 0 (unused)
gameport 1484 0 [es1371]
emu10k1 60556 2
sound 57416 0 [emu10k1]
ac97_codec 11700 0 [es1371 emu10k1]
soundcore 3652 11 [es1371 emu10k1 sound]
mousedev 4180 0
keybdev 2084 0 (unused)
usbkbd 3640 0 (unused)
input 3200 0 [mousedev keybdev usbkbd]
usb-uhci 23312 0 (unused)
usbcore 61804 1 [ov511 hid usbkbd usb-uhci]
=================================

cat /proc/video/dev/video0 ====================
name : OV511 USB Camera
type : VID_TYPE_CAPTURE
hardware : 0x1b
=====================================

dmesg | grep ov511 ========================
usb.c: registered new driver ov511
ov511.c: USB OV518 video device found
ov511.c: Device revision 1
ov511.c: Sensor is an OV6630AF
ov511.c: Device at usb-00:07.2-1 registered to minor 0
ov511.c: v1.65 : ov511 USB Camera Driver
ov511_decomp.c: v1.6 : OV511 Decompression Module
ov511.c: No decompressor available
ov511.c: No decompressor available
ov511.c: No decompressor available
ov511_decomp.c: deregistered
usb.c: deregistering driver ov511
ov511.c: driver deregistered
usb.c: registered new driver ov511
ov511.c: USB OV518 video device found
ov511.c: Device revision 1
ov511.c: Sensor is an OV6630AF
ov511.c: Device at usb-00:07.2-1 registered to minor 0
ov511.c: v1.65 : ov511 USB Camera Driver
ov511_decomp.c: v1.6 : OV511 Decompression Module
ov511.c: No decompressor available
ov511.c: No decompressor available
ov511_decomp.c: deregistered
usb.c: deregistering driver ov511
ov511.c: driver deregistered
usb.c: registered new driver ov511
ov511.c: USB OV518 video device found
ov511.c: Device revision 1
ov511.c: Sensor is an OV6630AF
ov511.c: Device at usb-00:07.2-1 registered to minor 0
ov511.c: v1.65 : ov511 USB Camera Driver
ov511_decomp.c: v1.6 : OV511 Decompression Module
ov511.c: No decompressor available
ov511.c: No decompressor available
ov511.c: USB OV518 video device found
ov511.c: Device revision 1
ov511.c: Sensor is an OV6630AF
ov511.c: Device at usb-00:07.2-2 registered to minor 0
ov511.c: No decompressor available
====================================

ls -l /dev/vid* ============================
lrwxrwxrwx 1 root root 11 2003-08-05 02:29 /dev/video -> /dev/video0
crw-rw-rw- 1 root root 81, 0 2003-08-05 01:38 /dev/video0
====================================

/etc/modules.conf=========================
alias char-major-81 ov511
above ov511 ov511_decomp
options ov511 compress=1 led=1
====================================

gqcam -v /dev/video0 ======================
/dev/video: Function not implemented
====================================

of course the kernel is well configured and of course i RTFM

Ok, i will try the other drivers version. But i someone has any id ...
 
Old 08-07-2003, 11:45 AM   #3
enkyl
LQ Newbie
 
Registered: Aug 2003
Posts: 2

Rep: Reputation: 0
THE SOLUTION, at last !!!

Hello again,

After 2 aspirines, i found the answer. I used the wrong decompression module.
The good one is ov518_decomp

Now, my modules.conf, with support for color :

vi /etc/modules.conf ======================
alias char-major-81 ov511
above ov511 ov518_decomp
options ov511 compress=1 led=2 fix_rgb_offset=1 mirror=1 ov518_color=1
===================================

For those of you who use debian : add this to automount the module at boot.

vi /etc/modules =========================
ov511
===================================

I've tested it with gnomemeeting, and for the first time ever under linux i talked to someone under netmeeting without any problem.

Now, my usb mouse ...

See ya !
 
  


Reply



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
Problems with webcam -- ov511 Adrohak Linux - Hardware 0 10-16-2004 10:30 AM
Need serious help with webcam and /dev/v4l jeffreybluml Linux - Newbie 0 07-16-2004 01:12 PM
ov511 webcam options LinFreak! Linux - Hardware 1 03-20-2004 03:46 PM
USB Webcam Howto? Problems with OV511 module... Goeland86 Linux - Hardware 14 02-16-2004 11:17 AM
ov511 framerates bward Linux - Hardware 0 12-29-2003 02:35 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Hardware

All times are GMT -5. The time now is 01:35 PM.

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