Le Lundi 22 Janvier 2007 23:31, James Studdart a écrit :
James,
> Well, I'll be damned... luvcview works!
Cool :)
> Colour looks a bit off but I'll
Did you try to adjust the gamma setting ?
Can you take a picture with luvcview and mail me the file ?
> look at that later and quality is low, but it might just be the camera.
> I'll get a fresh version of the uvc code base and make sure it's just
> those changes in the diff that make it work and let you know.
>
> So, it's a bit worrying that the command line capture program doesn't
> work, or anything apart from luvcview for that matter. I'll have to look
> at that when I get a chance. uvccapture does get some data, sometimes. I
> get three behaviors:
> 1: get no data from the camera at all, hangs.
> 2: get some data but not enough, does not detect the end of the frame,
> hangs.
> 3: gets enough and detects the end, but it's the kind of stuff we see in
> that attachment.
>
> I'm very happy luvcview works though.
I am happy for you :)
>
> Cheers,
> James.
>
> Laurent Pinchart wrote:
> > Hi James,
> >
> >> So sometimes, just sometimes uvcapture runs through.... Not sure why or
> >> how yet. I get a file, which is attached, but it either contains junk or
> >> something strange. It's not a jpeg anyway. Anyone have any ideas what it
> >> is?
> >
> > It definitely contains JPEG data in random order. It looks like part of a
> > JPEG stream with lots of packets missing. This means the camera doesn't
> > send enough data for some reason, or the host drops most of the packets.
> > Do you have access to another UVC webcam (either a Logitech or a Creative
> > one) to make sure there is no problem with your USB controller ?
> >
> > You could also try to log more information in the isochronous URB
> > completion handler. Printing each packet size with the first 16 bytes or
> > so would be useful, but that might fill the kernel log very fast. Just
> > make sure printk() is fast enough (adding a packet count to the printk's
> > would be enough).
> >
> > Cheers,
> >
> > Laurent Pinchart
> >
> > --
> > This email has been verified as Virus free
> > Virus Protection and more available at http://www.plus.net
>
> _______________________________________________
> Linux-uvc-devel mailing list
> Linux-uvc-devel@lists.berlios.de
> https://lists.berlios.de/mailman/listinfo/linux-uvc-devel
Cheers
--
Michel Xhaard
http://mxhaard.free.fr
_______________________________________________
Linux-uvc-devel mailing list
Linux-uvc-devel@lists.berlios.de
https://lists.berlios.de/mailman/listinfo/linux-uvc-devel