>
> Attached is a patch which should make the webcam work.

Thank you very much, I patched and compiled module:

Skype recognize device, but nothing more
Kopete turn on LED and hangs
mplayer turn on LED, but nothing more, screen is empty:


Dmesg output:

Linux video capture interface: v2.00
microdia: Microdia USB 2.0 webcam driver loaded
usbcore: registered new interface driver usb_microdia_driver
microdia: v2008.11 : Microdia USB 2.0 Webcam Driver
usb 2-5: new high speed USB device using ehci_hcd and address 6
usb 2-5: configuration #1 chosen from 1 choice
microdia: Microdia USB 2.0 Webcam - 0C45:627C plugged-in.
microdia: Detected SN9C20X Bridge
microdia: Detected HV7131R Sensor
microdia: Microdia USB 2.0 Webcam is now controlling video device /dev/video0
usb 2-5: New USB device found, idVendor=0c45, idProduct=627c
usb 2-5: New USB device strings: Mfr=0, Product=1, SerialNumber=0
usb 2-5: Product: USB20 Camera
microdia: [E] Empty buffer queue.
microdia: [E] Empty buffer queue.
microdia: [E] Empty buffer queue.


Mplayer otuput:

paw...@hp:~/webcam/microdia> LD_PRELOAD=/usr/lib/libv4l/v4l2convert.so
mplayer tv://     -tv
driver=v4l2:width=640:height=480:fps=25:device=/dev/video0 -vo x11
MPlayer dev-SVN-r27637-4.3-openSUSE Linux 11.0 (i686)-Packman (C)
2000-2008 MPlayer Team
CPU: Genuine Intel(R) CPU           T2500  @ 2.00GHz (Family: 6,
Model: 14, Stepping: 8)
CPUflags:  MMX: 1 MMX2: 1 3DNow: 0 3DNow2: 0 SSE: 1 SSE2: 1
Compiled with runtime CPU detection.
Warning unknown option fourcc at line 2
Can't open joystick device /dev/input/js0: No such file or directory
Can't init input joystick
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: 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 (0x4745504a)
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
==========================================================================
Opening video decoder: [raw] RAW Uncompressed Video
VDec: vo config request - 640 x 480 (preferred colorspace: Planar I420)
VDec: using Planar I420 as output csp (no 0)
Movie-Aspect is undefined - no prescaling applied.
VO: [x11] 640x480 => 640x480 Planar I420
[swscaler @ 0x8d633a0]using unscaled yuv420p -> rgb32 special converter
Selected video codec: [rawi420] vfm: raw (RAW I420)
==========================================================================
Audio: no sound
Starting playback...
libv4lconvert: Error decompressing JPEG: fill_nbits error: need 1 more bits
libv4lconvert: Error decompressing JPEG: fill_nbits error: need 1 more bits
libv4lconvert: Error decompressing JPEG: fill_nbits error: need 1 more bits
libv4lconvert: Error decompressing JPEG: fill_nbits error: need 1 more bits
libv4lconvert: Error decompressing JPEG: fill_nbits error: need 1 more bits
libv4lconvert: Error decompressing JPEG: fill_nbits error: need 1 more bits
V:   0.0  51/ 51 ??% ??% ??,?% 0 0

Control+C

MPlayer interrupted by signal 2 in module: video_read_frame
libv4lconvert: Error decompressing JPEG: fill_nbits error: need 1 more bits
libv4lconvert: Error decompressing JPEG: fill_nbits error: need 1 more bits
libv4l2: error dequeuing buf: Invalid argument
v4l2: ioctl set mute failed: Invalid argument
v4l2: 54 frames successfully processed, -53 frames dropped.

Exiting... (Quit)


Best regards
Pawel

--~--~---------~--~----~------------~-------~--~----~
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