2
« : 21.03.07 - klo:08.34 »
Kaikki toimii ihan heittämällä. Kun tökkää usb:n koneeseen, niin kamera tunnistuu ja kuvaakin näkyy...
Ainoa vika vain on se, että kuva on ylösalaisin. Ongelma on sama, riippumatta ohjelmasta, jolla kuvaa katsoo. (mplayer, camorama, amsn testattu).
$ xawtv -hwscan
This is xawtv-3.95.dfsg.1, running on Linux/i686 (2.6.20-12-generic)
looking for available devices
/dev/video0: OK [ -device /dev/video0 ]
type : v4l
name : VideoCam Messenger sn9c101 Ov76
flags: capture
$ lsusb
Bus 003 Device 001: ID 0000:0000
Bus 002 Device 002: ID 0c45:602c Microdia Clas Ohlson TWC-30XOP WebCam
Bus 002 Device 001: ID 0000:0000
Bus 001 Device 003: ID 046d:c518 Logitech, Inc.
Bus 001 Device 001: ID 0000:0000
/var/log/syslog:
Mar 21 08:32:20 xxxx kernel: [ 4321.956000] usb 2-1: USB disconnect, address 2
Mar 21 08:32:23 xxxx kernel: [ 4325.044000] usb 2-1: new full speed USB device using ohci_hcd and address 3
Mar 21 08:32:23 Hopiavuori kernel: [ 4325.248000] usb 2-1: configuration #1 chosen from 1 choice
Mar 21 08:32:23 Hopiavuori kernel: [ 4325.248000] ubuntu/media/gspcav1/gspca_core.c: USB SPCA5XX camera found. SONIX sn9c10[1 2]
$ mplayer tv:// -tv driver=v4l:width=352:height=288:device=/dev/video0
MPlayer 2:1.0~rc1-0ubuntu8 (C) 2000-2006 MPlayer Team
CPU: Mobile AMD Sempron(tm) Processor 3100+ (Family: 15, Model: 44, Stepping: 2)
CPUflags: MMX: 1 MMX2: 1 3DNow: 1 3DNow2: 1 SSE: 1 SSE2: 1
Compiled with runtime CPU detection.
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: v4l
name: Video 4 Linux input
author: Alex Beregszaszi
comment: under development
Selected device: VideoCam Messenger sn9c101 Ov76
Capabilites: capture
Device type: 1
Supported sizes: 160x120 => 640x480
Inputs: 1
0: SN9C102: (tuner:0, norm:pal)
Using input 'SN9C102'
ioctl get tuner failed: Invalid argument
Selected input hasn't got a tuner!
open: No such file or directory
[MGA] Couldn't open: /dev/mga_vid
open: No such file or directory
[MGA] Couldn't open: /dev/mga_vid
[VO_TDFXFB] This driver only supports the 3Dfx Banshee, Voodoo3 and Voodoo 5.
[VO_3DFX] Unable to open /dev/3dfx.
It seems there is no Xvideo support for your video card available.
Run 'xvinfo' to verify its Xv support and read DOCS/HTML/en/video.html#xv!
See 'mplayer -vo help' for other (non-xv) video out drivers. Try -vo x11
==========================================================================
Opening video decoder: [raw] RAW Uncompressed Video
VDec: vo config request - 352 x 288 (preferred colorspace: Planar YV12)
VDec: using Planar YV12 as output csp (no 0)
Movie-Aspect is undefined - no prescaling applied.
VO: [x11] 352x288 => 352x288 Planar YV12
SwScaler: using unscaled yuv420p -> rgb32 special converter
Selected video codec: [rawyv12] vfm: raw (RAW YV12)
==========================================================================
Audio: no sound
Starting playback...
Kiitos avusta...