hi, i found interesting news. my camera will change its resolution, but only to 640x480 and 1280x1024 correctly. I was astonished when high resolution worked, i did not expect that. I got working svn version of luvcview, but really lower resolutions are still wrong in that also.
Yes, lower resolutions worked fine in ekiga before, i believe it is using lowest one, 160x120. Really firmware loading is a bit problem, as you have to reload module if you did not load before usb subsystem. Camera cannot be unpluged, because is built-in. What is for input layer for webcamera by the way? I have one pretty old Genius GE111 with button on it, yet driver did not support button when i tested it (and i doubt it will ever do, as image quality from camera is very low). It might be useful to direct owners of r5u870 to web page about it, tell them it needs firmware and maybe refuse to handle them without special parameters. Maybe print some warning at least for usb vendor id for these cameras. Oh and i forget to note interesting feature. In mplayer, it started to show anything always after 10th frame on lower resolutions. There is black first ten frames when resolution is lower than 640x480. When i see usage of UVC standard for my camera, is that reliable to buy some camera claiming to support standard? Is it unusual having camera like mine, working only after firmware loading? I hoped that with adoption of uvc webcams will be finally plug&play without messing with strage drivers from strange place. Is it again more about marketing than engineering? Best Regards, Petr Laurent Pinchart píše v Ne 09. 11. 2008 v 23:00 +0100: > Hi Petr, hi Pavel, > > On Sunday 09 November 2008, Petr Menšík wrote: > > 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. > > Thanks for the analysis. I agree with your conclusion, the camera hasn't > changed its capture resolution. > > > > 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. > > Nothing to worry about. 0x00980909 is V4L2_CID_AUDIO_MUTE and is not > supported > by UVC devices. > > > > > 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. > > Did resolutions other than 640x480 ever worked with the r5u870 driver ? > > > > > 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. > > You can grab the latest version from the quickcamteam.net SVN repository at > http://svn.quickcamteam.net/svn/luvcview/ > > > 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. > > luvcview (at least its old versions) defaulted to MJPEG even if the camera > doesn't support that format. You can force YUYV with > > luvcview -f yuv > > > 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. > > What resolution did xawtv pick with the r5u870 driver ? > > > But Mplayer has somehow strange colors, image from cheese is better in > > quality. > > That might be caused by default control values chosen by mplayer and cheese, > especially the hue control. > > > > 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? > > There are a number of UVC non compliance issues with the r5u870 chipset: > > - The chipset advertises UVC descriptors when no firmware is loaded. It won't > re-enumerate or change its descriptors after firmware loading. This makes > initialisation quite difficult. > > - Some proprietary controls supported by the camera are not advertised in its > descriptors and are only accessible through a proprietary protocol. The UVC > driver has no way to access those controls. > > - As you reported, resolutions other than 640x480 seem to be broken. More > investigation is probably required. > > > 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? > > The uvcvideo driver supports some non-standard cameras using device-specific > quirks. The iSight is the worst example of such devices. Still, it only > overrides very specific portion of the driver's logic. Supporting r5u870 > chipsets in the uvcvideo driver would require introducing hooks pretty much > all over the place and I'm not happy with that. r5u870-based cameras are far > from being UVC compliant, and for the time being they are better served by a > separate driver. > > Best regards, > > Laurent Pinchart _______________________________________________ Linux-uvc-devel mailing list [email protected] https://lists.berlios.de/mailman/listinfo/linux-uvc-devel
