Re: [Linux-uvc-devel] Genius UVC webcam problem on ARM

2011-04-21 Thread Zdeněk Materna
Hello, there is problem patching my kernel - maybe it's too old for this patch (2.6.33.7). Any idea? Best regards, Zdenek Materna patch -Np1 --dry-run ../../../uvc_stat_jpeg_v4.diff patching file drivers/media/video/uvc/uvc_driver.c Hunk #1 succeeded at 47 with fuzz 1. Hunk #2 succeeded at

Re: [Linux-uvc-devel] Genius UVC webcam problem on ARM

2011-04-15 Thread Zdeněk Materna
Hello, I've applied your patch. Here is result: [ 298.25] uvc_uninit_video: Statistic for YUV 4:2:2 (YUYV) 160x120@15 [ 298.26] provided dwMaxVideoFrameBufferSize 38400, calculated bpp 16 [ 298.26] collected max_used_size 38400, calculated bpp 16 [ 298.28] provided

Re: [Linux-uvc-devel] Genius UVC webcam problem on ARM

2011-04-15 Thread Alexey Fisher
There is new patch. With this patch you can recalculate bandwith for jpeg stream. See my post in list and try it: [patch] jpeg compression hacks. Tester are welcome!!! -- Regards, Alexey ___ Linux-uvc-devel mailing list

Re: [Linux-uvc-devel] Genius UVC webcam problem on ARM

2011-04-13 Thread Zdeněk Materna
Hello, output of lsusb and uvcvideo traces are attached. Output from lsusb is from PC, because lsusb on ARM kit doesn't support verbose parameter. Best regards, Zdenek Materna Dne 13. dubna 2011 9:46 Alexey Fisher bug-tr...@fisher-privat.net napsal(a): Hallo, On Di, 2011-04-12 at 19:52

Re: [Linux-uvc-devel] Genius UVC webcam problem on ARM

2011-04-13 Thread Alexey Fisher
Hallo, Firs of all, your raw stream is working because it use smaller frame size. Raw stream is 160x120, jpeg is 640x480. I'm sure if you will test same size for jpeg it will work too. Second, your cam provide correct data for raw stream (bitrate, urb size). But also provide same settings for

Re: [Linux-uvc-devel] Genius UVC webcam problem on ARM

2011-04-13 Thread Zdeněk Materna
Hello, thanks for making it clear. However lowest resolution supported by camera in JPEG mode is 640x480, so it seems that I have to use YUV mode. There is no quirk option for compressed mode? Even in some development tree of uvc video driver? Any path? Regards, Zdenek Materna

Re: [Linux-uvc-devel] Genius UVC webcam problem on ARM

2011-04-12 Thread Zdeněk Materna
Hello again, now I discovered, that it's possible to change module parameters even if they are compiled in kernel... So I did: echo 2 /sys/module/uvcvideo/parameters/quirks And v4l example now ends like this: VIDIOC_S_FMT error 28, No space left on device Error No space left indicates

Re: [Linux-uvc-devel] Genius UVC webcam problem on ARM

2011-04-12 Thread Zdeněk Materna
Sorry for another mail. It works with quirks 128 and uncompressed YUV format. Is there any way how to use compressed MJPEG? Should I try compile never uvcvideo driver? Dne 12. dubna 2011 18:55 Zdeněk Materna zdenek.mate...@gmail.com napsal(a): Hello again, now I discovered, that it's possible