OV511+ Webcam

This forum is for Marvell Kirkwood devices such as the GoFlex Home/Net, PogoPlug v1/v2, SheevaPlug, and ZyXEL devices.

OV511+ Webcam

Postby hydro » Wed Sep 21, 2011 1:59 pm

I would like to get snapshots from an old webcam attached at the DockStar
$this->bbcode_second_pass_code('', '
$ lsusb
Bus 001 Device 010: ID 05a9:a511 OmniVision Technologies, Inc. OV511+ Webcam
')
$this->bbcode_second_pass_code('', '
$ dmesg
usb 1-1.4: new full speed USB device number 10 using orion-ehci
input: ov519 as /devices/platform/orion-ehci.0/usb1/1-1/1-1.4/input/input2
')
The cam is supported by the gspca driver included in kernel 3.0.3-1 ARCH.
$this->bbcode_second_pass_code('', '
$ lsmod
gspca_ov519 27320 0
gspca_main 16921 1 gspca_ov519
videodev 63679 1 gspca_main
i2c_core 15432 1 videodev
')
To get a snapshot I run fswebcam
$this->bbcode_second_pass_code('', '
$ LD_PRELOAD=/usr/lib/libv4l/v4l2convert.so fswebcam -r 640x480 -d /dev/video0 -v image.jpg
--- Opening /dev/video0...
Trying source module v4l2...
/dev/video0 opened.
src_v4l2_get_capability,87: /dev/video0 information:
src_v4l2_get_capability,88: cap.driver: "ov519"
src_v4l2_get_capability,89: cap.card: "USB Camera (05a9:a511)"
src_v4l2_get_capability,90: cap.bus_info: "usb-orion-ehci.0-1.4"
src_v4l2_get_capability,91: cap.capabilities=0x05000001
src_v4l2_get_capability,92: - VIDEO_CAPTURE
src_v4l2_get_capability,101: - READWRITE
src_v4l2_get_capability,103: - STREAMING
No input was specified, using the first.
src_v4l2_set_input,181: /dev/video0: Input 0 information:
src_v4l2_set_input,182: name = "ov519"
src_v4l2_set_input,183: type = 00000002
src_v4l2_set_input,185: - CAMERA
src_v4l2_set_input,186: audioset = 00000000
src_v4l2_set_input,187: tuner = 00000000
src_v4l2_set_input,188: status = 00000000
src_v4l2_set_pix_format,541: Device offers the following V4L2 pixel formats:
src_v4l2_set_pix_format,554: 0: [0x33424752] 'RGB3' (RGB3)
src_v4l2_set_pix_format,554: 1: [0x33524742] 'BGR3' (BGR3)
src_v4l2_set_pix_format,554: 2: [0x32315559] 'YU12' (YU12)
src_v4l2_set_pix_format,554: 3: [0x32315659] 'YV12' (YV12)
Using palette RGB24
src_v4l2_set_mmap,693: mmap information:
src_v4l2_set_mmap,694: frames=4
src_v4l2_set_mmap,741: 0 length=16777216
src_v4l2_set_mmap,741: 1 length=16777216
src_v4l2_set_mmap,741: 2 length=16777216
src_v4l2_set_mmap,741: 3 length=16777216
--- Capturing frame...
Captured frame in 0.00 seconds.
--- Processing captured image...
Writing JPEG image to 'image.jpg'.
')
But the image is completely useless, see attachment. Same result with my custom kernel 3.0.1.
Same result also when I use v4lctl (included in xawtv)
$this->bbcode_second_pass_code('', '
$ v4lctl -v 1 -c /dev/video0 snap jpeg 640x480 image_.jpg
vid-open: trying: libv4l...
Using libv4l plugin
v4l2: device caps: 2, required 0
v4l2: open
v4l2: device info:
ov519 2.13.0 / USB Camera (05a9:a511) @ usb-orion-ehci.0-1.4
vid-open: ok: libv4l
freq: reading /usr/share/xawtv/Index.map
cmd: "snap" "jpeg" "640x480" "image_.jpg"
v4l2: new capture params (640x480, RGB3, 921600 byte)
setformat: 24 bit TrueColor (BE: rgb) (640x480): ok
v4l2: new capture params (640x480, RGB3, 921600 byte)
v4l2: close
')
$this->bbcode_second_pass_code('', '
$ v4l2-ctl --all -d /dev/video0
Driver Info (not using libv4l2):
Driver name : ov519
Card type : USB Camera (05a9:a511)
Bus info : usb-orion-ehci.0-1.4
Driver version: 2.13.0
Capabilities : 0x05000001
Video Capture
Read/Write
Streaming
Format Video Capture:
Width/Height : 640/480
Pixel Format : 'O511'
Field : None
Bytes per Line: 640
Size Image : 614400
Colorspace : JPEG (JFIF/ITU601)
Video input : 0 (ov519: ok)
Streaming Parameters Video Capture:
Frames per second: invalid (0/0)
Read buffers : 2
')
When I use the camera on my computer running Arch Linux i686 (kernel 3.0.4-1 ARCH) I get useful images with (almost) identical output of above commands (differences only concerning USB bus). Why not on the DockStar?
I have used ov51x-jpeg from AUR from time to time instead of gspca_ov519, but it cannot be compiled since kernel 2.6.39.
Attachments
image.jpg
image.jpg (163.88 KiB) Viewed 5787 times
VDR on DockStar / Pogoplug E02: http://linux.bplaced.net/
hydro
 
Posts: 210
Joined: Wed Jun 15, 2011 2:03 pm
Location: Germany

Re: OV511+ Webcam

Postby hydro » Tue Dec 06, 2011 5:56 pm

Since this problem still persists with current kernel 3.1.4, I finally bought a new webcam that works fine with the uvcvideo module.
$this->bbcode_second_pass_code('', '
Bus 001 Device 008: ID 046d:0825 Logitech, Inc. Webcam C270
')
VDR on DockStar / Pogoplug E02: http://linux.bplaced.net/
hydro
 
Posts: 210
Joined: Wed Jun 15, 2011 2:03 pm
Location: Germany

Re: OV511+ Webcam

Postby pepedog » Tue Dec 06, 2011 6:31 pm

I knew it. Appears I have 3 webcams all become obsolete.
pepedog
Developer
 
Posts: 2431
Joined: Mon Jun 07, 2010 3:30 pm
Location: London UK


Return to Marvell Kirkwood

Who is online

Users browsing this forum: No registered users and 5 guests