[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[linux-team] probleme video4linux, webcam ov511
Bonjour,
Apres une semaine de tests sans resultat, je vous soumets mon probleme.
J'ai une webcam "creative webcam plus", qui devrait fonctionner avec le module
OV511 du kernel.
Comme explique dans ov511.txt, je parviens bien a charger les modules:
> Module Size Used by
> ov511 39328 1
> videodev 4512 2 [ov511]
> usb-uhci 22544 0 (unused)
> usbcore 49584 0 [ov511 usb-uhci]
> emu10k1 46000 0
> soundcore 3760 4 [emu10k1]
et la camera est bien detectee (cfr messages.log):
>
> Jan 6 12:09:44 fralin kernel: Linux video capture interface: v1.00
> Jan 6 12:09:57 fralin kernel: usb.c: registered new driver ov511
> Jan 6 12:09:57 fralin kernel: ov511.c: USB OV511+ camera found
> Jan 6 12:09:57 fralin kernel: ov511.c: camera: Creative Labs WebCam 3
> Jan 6 12:09:58 fralin kernel: ov511.c: Sensor is an OV7620AE
> Jan 6 12:09:58 fralin kernel: ov511.c: ov511 driver version 1.28 registered
>
J'ai aussi bien cree les video devices:
> [root@fralin /dev]# ls -al vid*
> lrwxrwxrwx 1 root root 11 Jan 6 12:10 video -> /dev/video0
> crw-rw-rw- 1 root root 81, 0 Jan 6 12:10 video0
> crw-rw-rw- 1 root root 81, 1 Jan 6 12:10 video1
> crw-rw-rw- 1 root root 81, 2 Jan 6 12:10 video2
> crw-rw-rw- 1 root root 81, 3 Jan 6 12:10 video3
>
Il ne me reste plus qu'a obtenir une image...
Vidcat se bloque, attendant je ne sais quoi...
(Les debugs du modules OV511 m'indiquent que la camera est en mode capture, et
des donnees sont transferees toutes les secondes)
Xawtv m'affiche:
[root@fralin ov511]# xawtv -remote
> This is xawtv-3.27, running on Linux/i686 (2.4.0)
> visual: id=0x22 class=4 (TrueColor), depth=24
> x11: remote display (overlay disabled)
> wmhooks: gnome
> ioctl VIDIOCMCAPTURE(0,-,0x0): Invalid argument
> ioctl VIDIOCMCAPTURE(1,-,0x0): Invalid argument
> ioctl VIDIOCSYNC: Invalid argument
> ioctl VIDIOCSYNC: Invalid argument
> ioctl VIDIOCMCAPTURE(0,-,0x0): Invalid argument
> ioctl VIDIOCMCAPTURE(1,-,0x0): Invalid argument
> ioctl VIDIOCSYNC: Invalid argument
> ioctl VIDIOCSYNC: Invalid argument
Et Kwintv est encore plus explicite:
[root@fralin fd]# kwintv -t
/dev/video: no overlay support
Warning: kwintv: kv4lsetup had some trouble, trying to continue anyway.
Debug: v4l1: Using interface Video4Linux in ::v4lxif
Debug: v4l1: Grabber name: OV511 USB Camera
Debug: capture: Can capture to memory
Debug: subcapture: Capture can be of only part of the image
Debug: v4l1: range of tv size : 160x120 => 640x480
Debug: v4l1: input channels: 1
Debug: [1] Camera: no tuner [0], camera
Debug: v4l1: input audios: 0
Debug: v4l1: picture: brightness=24832 hue=30720 colour=32768 contrast=32768
Debug: v4l1: picture : whiteness=26880 depth=24 palette=4[rgb24]
Listing all visuals:
Visual class TrueColor ( 4 )
id 0x22
screen 0
depth 24
red_mask 0xff0000
green_mask 0x00ff00
blue_mask 0x0000ff
colormap_size 256
bits_per_rgb 8
Debug: v4l1: hope physical screen format is <32 bit TrueColor (LE: bgr-)>
Debug: v4l1: set palette to 5
Warning: v4l1: VIDIOC_S_PICT in ::v4l1if
Debug: v4l1: palette is 4
Warning: v4l1: Video4Linux and DGA disagree about the framebuffer base
Warning: v4l1: Video4Linux: 0x0, dga: 0xe6000000!
Warning: v4l1: you probably want to insmod the bttv module with "vidmem=0xe60"
Warning: v4l1: Video4Linux and DGA disagree about the color depth
Warning: v4l1: Video4Linux: 0, DGA: 32.
Warning: v4l1: Is kv4lsetup installed correctly?
Warning: v4l1: Video4Linux and DGA disagree about the screen size
Warning: v4l1: Video4Linux: 0x0x0, DGA: 1024x768x0!
Warning: v4l1: Is kv4lsetup installed correctly?
Debug: v4l1: bpp 0, bpl 0, width 640, height 480
Debug: v4l1: video buffer: size 1843216, frames 2
Debug: v4l1: memory for snap shots: 0x405d8000
Il semblerait donc que le device video4linux ne soit pas bien configure par le
module ov511. Vu que je ne connais rien en Video4linux, je ne vois pas du tout
ce que je pourrais essayer...
si quelqu'un pouvait m'eclairer sur ce probleme et/ou sur le fonctionnement de
Video4Linux, j'en serais tres heureux, surtout qu'il y a au moins 2 personnes
de cette liste qui ont reussi a faire fonctionner cette webcam du premier coup!
Merci d'avance.
Francois.
[ linux-team@rtfm.be and linux@lists.linuxbe.org in ONE :) ]
[ To subscribe or unsubscribe, go to http://linuxbe.org/ml.php ]
[ http://LinuxBe.org - http://OpenBe.net - listmaster@linuxbe.org ]