Hi
I can't use git because how I write in fist post my internet delivery
blocking some port and unfortunately git repository to so I can't
download it.

Initialized empty Git repository in /home/mateusz/microdia/.git/
fatal: http://repo.or.cz/microdia.git/info/refs download error -
Failed connect to repo.or.cz:80; Operation now in progress

bash-3.2# git fetch
fatal: Not a git repository (or any of the parent directories): .git

I have the USB2.0 port but across the PCI but I try each options with
USB1.0 also

I first del folder microdia and libv4l in /usr/local/lib then tar
archive files
microdia-d71c8ae7eaa7cf5811a76c07c8bb46d872567a67.tar.gz
and
libv4l-0.5.8.tar.gz

go inside /libv4l/libv4lconvert/ put there this patch 0001-Drop-bad-
jpeg-frames-on-sn9c20x-cameras.patch upload it

bash-3.2# patch -i 0001-Drop-bad-jpeg-frames-on-sn9c20x-cameras.patch
patching file libv4lconvert-priv.h
patching file libv4lconvert.c
bash-3.2#

then make and make install in /libv4l/

go inside microdia upload patch 0001-Update-mt9v112-probe-
function.patch

bash-3.2# patch -i 0001-Update-mt9v112-probe-function.patch
patching file micron.c
Hunk #1 succeeded at 439 (offset -99 lines).

then make and

# modprobe videodev
# insmod ./sn9c20x.ko

dmesg

Linux video capture interface: v2.00
sn9c20x: SN9C20X USB 2.0 Webcam - 0C45:6270 plugged-in.
sn9c20x: I2C slave 0x5d returned error during write to address 0xff
sn9c20x: I2C slave 0x5c returned error during write to address 0x01
sn9c20x: I2C slave 0x5d returned error during write to address 0xf0
sn9c20x: Detected MT9V112 Sensor.
sn9c20x: Webcam device 0C45:6270 is now controlling video device /dev/
video0
sn9c20x: Using yuv420 output format
usbcore: registered new interface driver sn9c20x
sn9c20x: SN9C20x USB 2.0 Webcam Driver v2009.01 loaded
bash-3.2#

mplayer and it can't run it...

bash-3.2# LD_PRELOAD=/usr/local/lib/v4l2convert.so mplayer tv://     -
tv driver=v4l2:width=640:height=480:fps=25:device=/dev/video0 -vo x11
ERROR: ld.so: object '/usr/local/lib/v4l2convert.so' from LD_PRELOAD
cannot be preloaded: ignored.
MPlayer dev-SVN-rUNKNOWN-4.3.2 (C) 2000-2009 MPlayer Team
CPU: AMD Athlon(tm) Processor (Family: 6, Model: 10, Stepping: 0)
CPUflags:  MMX: 1 MMX2: 1 3DNow: 1 3DNow2: 1 SSE: 1 SSE2: 0
Compiled with runtime CPU detection.
137 audio & 292 video codecs

Playing tv://.
TV file format detected.
Selected driver: v4l2
 name: Video 4 Linux 2 input
 author: Martin Olschewski <[email protected]>
 comment: first try, more to come ;-)
Selected device: SN9C20x USB 2.0 Webcam Driver
 Capabilites:  video capture  read/write  streaming
 supported norms:
 inputs: 0 = Webcam;v4l2: ioctl get input failed: Invalid argument

 Current input: 1
 Current format: unknown (0x30323953)
v4l2: ioctl set format failed: Invalid argument
v4l2: ioctl set format failed: Invalid argument
v4l2: ioctl set format failed: Invalid argument
v4l2: ioctl set format failed: Invalid argument
v4l2: ioctl set format failed: Invalid argument
v4l2: ioctl set format failed: Invalid argument
v4l2: ioctl set format failed: Invalid argument
v4l2: ioctl set format failed: Invalid argument
tv.c: norm_from_string(pal): Bogus norm parameter, setting default.
v4l2: ioctl enum norm failed: Invalid argument
Error: Cannot set norm!
Selected input hasn't got a tuner!
v4l2: Cannot get fps
v4l2: ioctl set mute failed: Invalid argument
v4l2: ioctl query control failed: Invalid argument
v4l2: ioctl query control failed: Invalid argument
Xlib:  extension "Generic Event Extension" missing on display ":0.0".
Xlib:  extension "Generic Event Extension" missing on display ":0.0".
==========================================================================
Cannot find codec matching selected -vo and video format 0x30323953.
Read DOCS/HTML/en/codecs.html!
==========================================================================

v4l2: ioctl set mute failed: Invalid argument
v4l2: 0 frames successfully processed, 0 frames dropped.

Exiting... (End of file)
bash-3.2#

What I doing wrong libv4l don't compiled good ??

regards Mateusz


--~--~---------~--~----~------------~-------~--~----~
Lets make microdia webcams plug'n play, (currently plug'n pray)
To post to this group, send email to [email protected]
Visit us online https://groups.google.com/group/microdia
-~----------~----~----~----~------~----~------~--~---

Reply via email to