TODO

changelog

HARDWARE : ov519 : (for Hercules WebCam Deluxe - Webcam - 4780401 )

  • Hercules WebCam Deluxe - Webcam - 4780401

lspci

ID 05a9:4519 OmniVision Technologies, Inc.
ID 05a9:4519 OmniVision Technologies, Inc. Webcam Classic

DRIVERS

sudo aptitude install -t unstable ov51x-jpeg-source
# module-assistant camorama
sudo modprobe -r ov51x ov519 ov51x-jpeg
sudo aptitude remove ov519-modules-$(uname -r)
sudo m-a a-i ov51x-jpeg --text-mode && dpkg -L ov51x-jpeg-modules-$(uname -r)
sudo modprobe -rv ov51x_jpeg  video gspca_ov519  gspca_main videodev v4l1_compat 
sudo modprobe -rv ov51x_jpeg && sudo modprobe -v ov51x_jpeg && camorama -d /dev/video* && empathy

ov51x

MAINLINE

 │ Symbol: USB_GSPCA_OV519 [=n]                                                                                                                                                            │  
  │ Type  : tristate                                                                                                                                                                        │  
  │ Prompt: OV51x / OVFX2 / W996xCF USB Camera Driver                                                                                                                                       │  
  │   Defined at drivers/media/video/gspca/Kconfig:125                                                                                                                                      │  
  │   Depends on: MEDIA_SUPPORT [=m] && VIDEO_CAPTURE_DRIVERS [=y] && V4L_USB_DRIVERS [=y] && USB [=y] && VIDEO_V4L2 [=m] && USB_GSPCA [=m]                                                 │  
  │   Location:                                                                                                                                                                             │  
  │     -> Device Drivers                                                                                                                                                                   │  
  │       -> Multimedia support (MEDIA_SUPPORT [=m])                                                                                                                                        │  
  │         -> Video capture adapters (VIDEO_CAPTURE_DRIVERS [=y])                                                                                                                          │  
  │           -> V4L USB devices (V4L_USB_DRIVERS [=y])                                                                                                                                     │  
  │             -> GSPCA based webcams (USB_GSPCA [=m])
  

todo

sudo modprobe -v ov51x-jpeg
insmod /lib/modules/2.6.23-k7-amiloa/kernel/drivers/media/video/compat_ioctl32.ko
insmod /lib/modules/2.6.23-k7-amiloa/kernel/drivers/usb/ov51x-jpeg.ko
FATAL: Error inserting ov51x_jpeg (/lib/modules/2.6.23-k7-amiloa/kernel/drivers/usb/ov51x-jpeg.ko): Operation not permitted
kobject_add failed for ov51x with -EEXIST, don't try to register things with the same name in the same directory.
[<c025203a>] kobject_shadow_add+0x157/0x189
[<c0252135>] kobject_register+0x19/0x2d
[<c02a6bc6>] bus_add_driver+0x53/0x15c
[<c02cfa8a>] usb_register_driver+0x78/0xdf
[<c018c55c>] create_proc_entry+0x72/0x86
[<dfb57051>] usb_ov511_init+0x51/0x73 [ov51x_jpeg]
[<c0137ca7>] sys_init_module+0x10f5/0x11c9
[<c012b2a7>] remove_wait_queue+0xb/0x2d
[<c0103f2a>] sysenter_past_esp+0x6b/0xa1
# force_palette=13

Error: Could not connect to video device (/dev/video0)

sudo modprobe -rv ov51x_jpeg
sudo modprobe -rv gspca_ov519 gspca_main
sudo modprobe -rv video
sudo modprobe -rv videodev
sudo modprobe -rv ov51x_jpeg  video gspca_ov519  gspca_main videodev v4l1_compat 
#  make prepare -C ...

errors

gst-launch-0.10 v4l2src ! ffmpegcolorspace ! ximagesink
Setting pipeline to PAUSED ...
libv4l2: error getting capabilities: Invalid argument
ERROR: Pipeline doesn't want to pause.
ERROR: from element /GstPipeline:pipeline0/GstV4l2Src:v4l2src0: Error getting capabilities for device '/dev/video0': It isn't a v4l2 driver. Check if it is a v4l1 driver.
Additional debug info:
v4l2_calls.c(98): gst_v4l2_get_capabilities (): /GstPipeline:pipeline0/GstV4l2Src:v4l2src0:
system error: Invalid argument
Setting pipeline to NULL ...
Freeing pipeline ...
ekiga
libv4l2: error getting capabilities: Invalid argument
lsmod  | grep ov
#| ov51x_jpeg            110715  0 
#| gspca_ov519            17142  0 
#| gspca_main             15775  1 gspca_ov519
#| videodev               25445  2 ov51x_jpeg,gspca_main
#| usbcore                98185  9 
#| snd_usb_audio,snd_usb_lib,ov51x_jpeg,gspca_ov519,gspca_main,usbhid,ohci_hcd,ehci_hcd
sudo modprobe -rv ov51x_jpeg
sudo modprobe -v ov51x_jpeg  force_palette=13
filename:       /lib/modules/2.6.32-5-686/extra/ov51x-jpeg.ko
version:        1.5.9
license:        GPL
description:    ov51x USB Camera Driver
author:         Mark McClelland <mark@alpha.dyndns.org> & Bret Wallach  & Orion Sky Lawlor <olawlor@acm.org> & Kevin Moore & Charl P. Botha     <cpbotha@ieee.org> & Claudio Matsuoka <claudio@conectiva.com> & Joerg Heckenbach <joerg@heckenbach-aw.de>, Romain Beauxis <toots@rastageeks.org>
srcversion:     013EDEF9BF4C8B8F5B26177
alias:          usb:v041Ep4068d*dc*dsc*dp*ic*isc*ip*
(...)
depends:        usbcore,videodev
vermagic:       2.6.32-5-686 SMP mod_unload modversions 686 
parm:           autobright:Sensor automatically changes brightness (int)
parm:           autogain:Sensor automatically changes gain (int)
parm:           autoexp:Sensor automatically changes exposure (int)
parm:           debug:Debug level: 0=none, 1=inits, 2=warning, 3=config, 4=functions, 5=max (int)
parm:           snapshot:Enable snapshot mode (int)
parm:           fix_rgb_offset:Fix vertical misalignment of red and blue at 640x480 (int)
parm:           force_rgb:Read RGB instead of BGR (int)
parm:           cams:Number of simultaneous cameras (int)
parm:           compress:Turn on compression (int)
parm:           testpat:Replace image with vertical bar testpattern (only partially working) (int)
parm:           dumppix:Dump raw pixel data (int)
parm:           led:LED policy (OV511+ or later). 0=off, 1=on, 2=auto (on when open), 3=auto,reversed (int)
parm:           led2:LED 2 policy (EyeToy only). 0=off, 1=on (default), 2=auto (on when open) (int)
parm:           dump_bridge:Dump the bridge registers (int)
parm:           dump_sensor:Dump the sensor registers (int)
parm:           printph:Print frame start/end headers (int)
parm:           phy:Prediction range (horiz. Y) (int)
parm:           staticquant:Enable static quantification tables (for ov518) (int)
parm:           phuv:Prediction range (horiz. UV) (int)
parm:           pvy:Prediction range (vert. Y) (int)
parm:           pvuv:Prediction range (vert. UV) (int)
parm:           qhy:Quantization threshold (horiz. Y) (int)
parm:           qhuv:Quantization threshold (horiz. UV) (int)
parm:           qvy:Quantization threshold (vert. Y) (int)
parm:           qvuv:Quantization threshold (vert. UV) (int)
parm:           lightfreq:Light frequency. Set to 50 or 60 Hz, or zero for default settings (int)
parm:           bandingfilter:Enable banding filter (to reduce effects of fluorescent lighting) (int)
parm:           clockdiv:Force pixel clock divisor to a specific value (int)
parm:           packetsize:Force a specific isoc packet size (int)
parm:           framedrop:Force a specific frame drop register setting (int)
parm:           fastset:Allows picture settings to take effect immediately (int)
parm:           force_palette:Force the palette to a specific value (int)
parm:           backlight:For objects that are lit from behind (int)
parm:           unit_video:Force use of specific minor number(s). 0 is not allowed. (array of int)
parm:           remove_zeros:Remove zero-padding from uncompressed incoming data (int)
parm:           mirror:Reverse image horizontally (int)
parm:           ov518_color:Enable OV518 color (experimental) (int)
parm:           framerate:Force a specific framerate for OV519 (values: 5,10,15) (int)
parm:           dumpjpeg:Dump JPEG uncompressed frames for OV519 (int)
parm:           forceblock:Do a blocking Read regardless of the applications request (int)

misc

Upstream Driver

Sensor Chipset: ov5x0

  • Webcam driver for “ov” chipsets which do hardware jpeg compression

@TaG: WebCam Driver JPEG ov51x v4l jingle gspca

ov.txt · Last modified: 2022/04/16 12:23 (external edit)
 
Except where otherwise noted, content on this wiki is licensed under the following license: CC Attribution-Share Alike 3.0 Unported
Recent changes RSS feed Donate Powered by PHP Valid XHTML 1.0 Valid CSS Driven by DokuWiki