I pointed my git workspace at the development branch, did a
git-pull, and built it. It finally recognized the camera:
---
Nov 13 12:27:41 walkies kernel: microdia: Microdia USB 2.0 webcam driver loaded
Nov 13 12:27:41 walkies kernel: microdia: Microdia USB 2.0 Webcam -
0C45:627B plugged-in.
Nov 13 12:27:41 walkies kernel: microdia: Detected SN9C20X Bridge
Nov 13 12:27:41 walkies kernel: microdia: Detected sensor: OV7660
Nov 13 12:27:41 walkies kernel: microdia: Microdia USB 2.0 Webcam is
now controlling video device /dev/video0
Nov 13 12:27:41 walkies kernel: usbcore: registered new interface
driver usb_microdia_driver
Nov 13 12:27:41 walkies kernel: microdia: v2008.10 : Microdia USB 2.0
Webcam Driver
----
However, when I try testing it with mplayer, I get a rash of errors,
and the program quits:
----
$ mplayer tv:// -tv
driver=v4l2:width=640:height=480:fps=25:device=/dev/video0 -vo x11
-nojoystick
MPlayer dev-SVN-r26940
CPU: Intel(R) Core(TM)2 CPU T7200 @ 2.00GHz (Family: 6,
Model: 15, Stepping: 6)
CPUflags: MMX: 1 MMX2: 1 3DNow: 0 3DNow2: 0 SSE: 1 SSE2: 1
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 <olsch...@zpr.uni-koeln.de>
comment: first try, more to come ;-)
Selected device: Microdia 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 (0x31384142)
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
==========================================================================
Cannot find codec matching selected -vo and video format 0x31384142.
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)
----
The kernel logs during the attempt are as follows:
----
Nov 13 12:27:54 walkies kernel: microdia: Freeing 0 v4l2 buffers
Nov 13 12:27:54 walkies kernel: microdia: Buffers Allocated 2
Nov 13 12:27:54 walkies kernel: microdia: Freeing 2 v4l2 buffers
----
Suggestions?
Schwab
GWater
Leo Schwab schrieb:
> --~--~---------~--~----~------------~-------~--~----~
> Lets make microdia webcams plug'n play, (currently plug'n pray)
> To post to this group, send email to micr...@googlegroups.com
> Visit us online https://groups.google.com/group/microdia
> -~----------~----~----~----~------~----~------~--~---
>
Schwab
To answer your question - you need to look for libv4l.
GWater
(PS: I am sorry for not answering directly - but in a way I update that
README for a reason and I need to see if people can use it.)
Leo Schwab schrieb:
I read the README file for the microdia sources in more detail. I
installed libv4l-0 (0.5.3-1), then read *its* README file.
Executive Summary: Do this:
$ LD_PRELOAD=/usr/lib/libv4l/v4l2convert.so mplayer tv:// -tv
driver=v4l2:width=640:height=480:fps=25:device=/dev/video0 -vo xv
-nojoystick
This is some seriously ugly hackage, but at least now I have an
image. I'll be playing with the paramater adjuster thing next.
Thanks,
Schwab
Schwab
Schwab
Anyway - most of your stuff is still in there. Please take a look at it
and tell me if it's ok.
(BTW thanks for the grammar fixes. Tenses got a bit ugly I admit.)
And hey - data loss? What do you think we do here? ;)
GWater
Leo Schwab schrieb:
Schwab