I think i can reply here also, as i have 05ca:183b that is very similar.
It is integrated in Sony Vaio VGN-FZ21 series.

I made some tests at http://www.pihhan.info/sony/webcam/webcam-tests
There are also scripts i used and lsusb verbose output for camera.

Laurent Pinchart píše v Čt 06. 11. 2008 v 01:17 +0100:
> On Tuesday 04 November 2008, Pavel Revak wrote:
> > Hi Philipp
> > very nice, this solved my problem :)
> > thanks.
> >
> > also I do some tests with luvcview and any other grabbed resolution than
> > 640x480 is broken ...
> 
> How broken ? Can you post screenshots ?
See http://www.pihhan.info/sony/webcam/webcam-tests/160/00000012.png as
example. After simpel transformation of buffer to width 640, you will se
camera never changed its resolution. Only software thinks it did. See
http://www.pihhan.info/sony/webcam/webcam-tests/160/00000012-mod.png to
get upper part of original image.
> 
> As a side note, make sure you check the kernel log (dmesg) for uvcvideo error 
> messages when performing your tests.
No errors in kernel for my model. I made some debug info with controls
and stuff using:
options uvcvideo trace=0x307

Output is at http://www.pihhan.info/sony/webcam/uvcload.txt
it is somehow bigger to paste it into mail i think. Only strange warning is

Nov  9 14:02:17 mentalek kernel: [23909.937596] uvcvideo: Control 0x00980909 
not found.

It does so when i play it using mplayer tv:///, i dont know what does that mean.
> 
> > is here possible to disable, these resolutions for this camera
> 
> The resolutions are reported by the camera itself. The UVC driver merely pass 
> the data to userspace without any modification.
They are reported but not working. R5u870 driver seems to be not
developed now, as work is put to upload firmware and then handle camera
using uvcvideo.
> 
> > or make software image resize ? 
> 
> The driver doesn't resize or process the image in any way. This kind of 
> function belongs to userspace.
> 
> > luvcview reports the following resolutions:
> > $ lucview -L
> > luvcview 0.2.4
> > SDL information:
> >   Video driver: x11
> >   A window manager is available
> > Device information:
> >   Device path:  /dev/video0
> > /dev/video0 does not support read i/o
> > { pixelformat = 'YUYV', description = 'YUV 4:2:2 (YUYV)' }
> > { discrete: width = 640, height = 480 }
> >         Time interval between frame: 1/15,
> > { discrete: width = 320, height = 240 }
> >         Time interval between frame: 1/15,
> > { discrete: width = 176, height = 144 }
> >         Time interval between frame: 1/15,
> > { discrete: width = 160, height = 120 }
> >         Time interval between frame: 1/15,
> 
My output:
luvcview version 0.2.1 
Video driver: x11
A window manager is available
video /dev/video0 
/dev/video0 does not support read i/o
{ pixelformat = 'YUYV', description = 'YUV 4:2:2 (YUYV)' }
{ discrete: width = 640, height = 480 }
        Time interval between frame: 1/30, 
{ discrete: width = 1280, height = 1024 }
        Time interval between frame: 2/15, 
{ discrete: width = 320, height = 240 }
        Time interval between frame: 1/30, 
{ discrete: width = 176, height = 144 }
        Time interval between frame: 1/30, 
{ discrete: width = 160, height = 120 }
        Time interval between frame: 1/30, 

Where can i get newer version? i found this most recent one at
http://mxhaard.free.fr/spca50x/Investigation/uvc/ but i have older
version it seems. Also, my luvcview will not show anything to me, it
fails with:

luvcview version 0.2.1 
Video driver: x11
A window manager is available
video /dev/video0 
Unable to set format: 22.
 Init v4L2 failed !! exit fatal 

Do you where it could fail or how could i fix this? I tried different
formats and sizes, but i never saw image from luvcview.

Mplayer tv:/// will work (1.0rc2-4.2.3), as is cheese 2.22.3. xawtv will
choose wrong resolution and i dont know how to change it. It worked with
r5u870 driver. But Mplayer has somehow strange colors, image from cheese
is better in quality. 

> Please note that the r5u870 chipset is not completely UVC compliant and is 
> currently not officially supported by the UVC driver.
Do you know about anything exactly that this camera does not support as
it should? I would like to get it working with uvcvideo module and i may
try to create patch, but i dont understand well how is resolution
switching done in UVC video module. Would it be fixed with some custom
quirk for example? iSight has some special, why not this?
> 
> Best regards,
> 
> Laurent Pinchart
> _______________________________________________
> Linux-uvc-devel mailing list
> [email protected]
> https://lists.berlios.de/mailman/listinfo/linux-uvc-devel

_______________________________________________
Linux-uvc-devel mailing list
[email protected]
https://lists.berlios.de/mailman/listinfo/linux-uvc-devel

Reply via email to