Hi, GWater
unfortunately, the second step I had errors.
Then it is repeated throughout the installation.
I performed these steps:
1. Deleted directory microdia
2. in the terminal:
cd ~
$ git clone http://repo.or.cz/r/microdia.git
3. created the file 0001-Fix-mt9m001-initilization.patch into the
"microdia" directory
This is the file created ----->
http://groups.google.com/group/microdia/web/0001-Fix-mt9m001-initilization.patch
4. into the "microdia" directory, I have done:
$ git am 0001-Fix-mt9m001-initilization.patch
I have got this output in the terminal: Applying Fix mt9m001
initilization
5. make clean driver
6. Remove the old driver from your kernel:
# rmmod sn9c20x
5. Load the new driver into the kernel:
# insmod sn9c20x.ko
6. Test the driver with mplayer and libv4l.
But No news, unfortunately. With mplayer appears only a green image.
When I run the test, the outputs are:
vince...@vinicio:~/microdia$ LD_PRELOAD=/usr/lib/libv4l/v4l2convert.so
mplayer t
v:// \-tv driver=v4l2:width=640:height=480:fps=25:device=/dev/video0 -
vo x11
MPlayer 1.0rc2-4.2.3 (C) 2000-2007 MPlayer Team
CPU: Intel(R) Pentium(R) III Mobile CPU 1200MHz (Family: 6,
Model: 11, Step
ping: 1)
CPUflags: MMX: 1 MMX2: 1 3DNow: 0 3DNow2: 0 SSE: 1 SSE2: 0
Compiled with runtime CPU detection.
mplayer: could not connect to socket
mplayer: No such file or directory
Failed to open LIRC support. You will not be able to use your remote
control.
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)
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: ioctl set mute failed: Invalid argument
v4l2: ioctl set Brightness 127 failed: Connection timed out
v4l2: ioctl query control failed: Invalid argument
v4l2: ioctl query control failed: Invalid argument
v4l2: ioctl set Contrast 127 failed: Connection timed out
xscreensaver_disable: Could not find XScreenSaver window.
==========================================================================
Opening video decoder: [raw] RAW Uncompressed Video
VDec: vo config request - 640 x 480 (preferred colorspace: Planar
YV12)
VDec: using Planar YV12 as output csp (no 0)
Movie-Aspect is undefined - no prescaling applied.
VO: [x11] 640x480 => 640x480 Planar YV12
[swscaler @ 0x89348f0]SwScaler: using unscaled yuv420p -> rgb32
special converte r
Selected video codec: [rawyv12] vfm: raw (RAW YV12)
==========================================================================
Audio: no sound
Starting playback...
libv4l2: error turning on stream: Connection timed out
v4l2: ioctl streamon failed: Connection timed out
v4l2: ioctl set mute failed: Invalid argument
v4l2: 0 frames successfully processed, 0 frames dropped.
Exiting... (Quit)
vince...@vinicio:~/microdia$
Add the contents of the file modules after installation ----->
http://groups.google.com/group/microdia/web/modules
I am a desperate case, right?
I joke :-)
And if you follow this guide other:
http://groups.google.com/group/microdia/web/usb-sniffing-on-windows
???
Sorry but I am new in these things, I can also say nonsense.
Bye.
----------------------------------------------------------------
carry-over here your email:
OK,
I'll write it down a bit more detailed ;) .
1. Save the patch from my older mail in the microdia folder.
2. Go into the "microdia" directory with you favourite terminal
(xterm, konsole, etc).
2. apply the patch with:
$ git am 0001-Fix-mt9m001-initilization.patch
3. Recompile the driver:
$ make clean driver
4. Remove the old driver from your kernel:
# rmmod sn9c20x
5. Load the new driver into the kernel:
# insmod sn9c20x.ko
6. Test the driver with mplayer and libv4l.
GWater
--~--~---------~--~----~------------~-------~--~----~
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
-~----------~----~----~----~------~----~------~--~---