Hi Ricardo,

On Monday 19 May 2008, Ricardo Ferreira wrote:
> Hello all, this is the second time I send this, the first complained about
> size being too big on the mailing list. I have striped previous clutter.
> Sorry for this.

No worries. Thanks for the report.

> As promissed, here are the results for the phillips spc1000nc
>
> first, here's the insmod results line:
>
> [EMAIL PROTECTED]:~/tmp/uvc/trunk$ sudo insmod ./uvcvideo trace=143
> insmod: can't read './uvcvideo': No such file or directory
> [EMAIL PROTECTED]:~/tmp/uvc/trunk$ sudo insmod ./uvcvideo.ko trace=143
> [EMAIL PROTECTED]:~/tmp/uvc/trunk$ sudo dmesg -c
> uvcvideo: Adding mapping Brightness to control
> 00000000-0000-0000-0000-000000000101/2.
> uvcvideo: Adding mapping Contrast to control
> 00000000-0000-0000-0000-000000000101/3.
> uvcvideo: Adding mapping Hue to control
> 00000000-0000-0000-0000-000000000101/6.
> uvcvideo: Adding mapping Saturation to control
> 00000000-0000-0000-0000-000000000101/7.
> uvcvideo: Adding mapping Sharpness to control
> 00000000-0000-0000-0000-000000000101/8.
> uvcvideo: Adding mapping Gamma to control
> 00000000-0000-0000-0000-000000000101/9.
> uvcvideo: Adding mapping Backlight Compensation to control
> 00000000-0000-0000-0000-000000000101/1.
> uvcvideo: Adding mapping Gain to control
> 00000000-0000-0000-0000-000000000101/4.
> uvcvideo: Adding mapping Power Line Frequency to control
> 00000000-0000-0000-0000-000000000101/5.
> uvcvideo: Adding mapping Hue, Auto to control
> 00000000-0000-0000-0000-000000000101/16.
> uvcvideo: Adding mapping Exposure, Auto to control
> 00000000-0000-0000-0000-000000000001/2.
> uvcvideo: Adding mapping Exposure, Auto Priority to control
> 00000000-0000-0000-0000-000000000001/3.
> uvcvideo: Adding mapping Exposure (Absolute) to control
> 00000000-0000-0000-0000-000000000001/4.
> uvcvideo: Adding mapping White Balance Temperature, Auto to control
> 00000000-0000-0000-0000-000000000101/11.
> uvcvideo: Adding mapping White Balance Temperature to control
> 00000000-0000-0000-0000-000000000101/10.
> uvcvideo: Adding mapping White Balance Component, Auto to control
> 00000000-0000-0000-0000-000000000101/13.
> uvcvideo: Adding mapping White Balance Blue Component to control
> 00000000-0000-0000-0000-000000000101/12.
> uvcvideo: Adding mapping White Balance Red Component to control
> 00000000-0000-0000-0000-000000000101/12.
> uvcvideo: Adding mapping Focus (absolute) to control
> 00000000-0000-0000-0000-000000000001/6.
> uvcvideo: Adding mapping Focus, Auto to control
> 00000000-0000-0000-0000-000000000001/8.
> uvcvideo: Probing generic UVC device 4
> uvcvideo: Found format YUV 4:2:2 (YUYV).
> uvcvideo: - 640x480 (30.0 fps)
> uvcvideo: - 352x288 (30.0 fps)
> uvcvideo: - 320x240 (30.0 fps)
> uvcvideo: - 176x144 (30.0 fps)
> uvcvideo: - 160x120 (30.0 fps)
> uvcvideo: - 1280x960 (9.0 fps)
> uvcvideo: - 1280x1024 (9.0 fps)
> uvcvideo: Found a Status endpoint (addr 83).
> uvcvideo: Found UVC 1.00 device FO13FF-65 PC-CAM (05c8:0103)
> uvcvideo: Added control 00000000-0000-0000-0000-000000000101/2 to device 4
> entity 3
> uvcvideo: Added control 00000000-0000-0000-0000-000000000101/3 to device 4
> entity 3
> uvcvideo: Added control 00000000-0000-0000-0000-000000000101/6 to device 4
> entity 3
> uvcvideo: Added control 00000000-0000-0000-0000-000000000101/7 to device 4
> entity 3
> uvcvideo: Added control 00000000-0000-0000-0000-000000000101/8 to device 4
> entity 3
> uvcvideo: Added control 00000000-0000-0000-0000-000000000101/9 to device 4
> entity 3
> uvcvideo: Added control 00000000-0000-0000-0000-000000000101/1 to device 4
> entity 3
> uvcvideo: Added control 00000000-0000-0000-0000-000000000101/5 to device 4
> entity 3
> uvcvideo: Scanning UVC chain: OT 2 <- XU 5 <- XU 4 <- PU 3 <- IT 1
> uvcvideo: Found a valid video chain (1 -> 2).
> input: FO13FF-65 PC-CAM as /class/input/input9
> uvcvideo: Trying format 0x56595559 (YUYV): 10000x10000.
> uvcvideo: Using default frame interval 111111.1 us (9.0 fps).
> uvcvideo: UVC device initialized.
> uvcvideo: Probing generic UVC device 1
> uvcvideo: Found format YUV 4:2:2 (YUYV).
> uvcvideo: - 640x480 (30.0 fps)
> uvcvideo: - 352x288 (30.0 fps)
> uvcvideo: - 320x240 (30.0 fps)
> uvcvideo: - 176x144 (30.0 fps)
> uvcvideo: - 160x120 (30.0 fps)
> uvcvideo: - 1280x1024 (9.0 fps)
> uvcvideo: Found format MJPEG.
> uvcvideo: - 640x480 (30.0 fps)
> uvcvideo: - 352x288 (30.0 fps)
> uvcvideo: - 320x240 (30.0 fps)
> uvcvideo: - 176x144 (30.0 fps)
> uvcvideo: - 160x120 (30.0 fps)
> uvcvideo: - 1280x1024 (15.0 fps)
> uvcvideo: Found a Status endpoint (addr 83).
> uvcvideo: Found UVC 1.00 device Philips SPC 1000NC Webcam (0471:0332)
> uvcvideo: Added control 00000000-0000-0000-0000-000000000101/2 to device 1
> entity 3
> uvcvideo: Added control 00000000-0000-0000-0000-000000000101/3 to device 1
> entity 3
> uvcvideo: Added control 00000000-0000-0000-0000-000000000101/6 to device 1
> entity 3
> uvcvideo: Added control 00000000-0000-0000-0000-000000000101/7 to device 1
> entity 3
> uvcvideo: Added control 00000000-0000-0000-0000-000000000101/8 to device 1
> entity 3
> uvcvideo: Added control 00000000-0000-0000-0000-000000000101/9 to device 1
> entity 3
> uvcvideo: Added control 00000000-0000-0000-0000-000000000101/1 to device 1
> entity 3
> uvcvideo: Added control 00000000-0000-0000-0000-000000000101/4 to device 1
> entity 3
> uvcvideo: Added control 00000000-0000-0000-0000-000000000101/5 to device 1
> entity 3
> uvcvideo: Added control 00000000-0000-0000-0000-000000000001/2 to device 1
> entity 1
> uvcvideo: Added control 00000000-0000-0000-0000-000000000001/3 to device 1
> entity 1
> uvcvideo: Added control 00000000-0000-0000-0000-000000000001/4 to device 1
> entity 1
> uvcvideo: Added control 00000000-0000-0000-0000-000000000101/11 to device 1
> entity 3
> uvcvideo: Added control 00000000-0000-0000-0000-000000000101/10 to device 1
> entity 3
> uvcvideo: Scanning UVC chain: OT 2 <- XU 5 <- XU 4 <- PU 3 <- IT 1
> uvcvideo: Found a valid video chain (1 -> 2).
> input: Philips SPC 1000NC Webcam as /class/input/input10
> uvcvideo: Trying format 0x56595559 (YUYV): 10000x10000.
> uvcvideo: Using default frame interval 111111.1 us (9.0 fps).
> uvcvideo: UVC device initialized.
> usbcore: registered new interface driver uvcvideo
> USB Video Class driver (SVN r207)
>
>
>
>
> Here's luvcview's output:
>
> [EMAIL PROTECTED]:~/tmp/uvc/trunk$ luvcview -f yuv -L -d /dev/video1
> luvcview version 0.2.1
> Video driver: x11
> A window manager is available
> video /dev/video1
> /dev/video1 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, 1/25, 1/20, 1/15, 1/10, 1/5,
> { discrete: width = 352, height = 288 }
>         Time interval between frame: 1/30, 1/25, 1/20, 1/15, 1/10, 1/5,
> { discrete: width = 320, height = 240 }
>         Time interval between frame: 1/30, 1/25, 1/20, 1/15, 1/10, 1/5,
> { discrete: width = 176, height = 144 }
>         Time interval between frame: 1/30, 1/25, 1/20, 1/15, 1/10, 1/5,
> { discrete: width = 160, height = 120 }
>         Time interval between frame: 1/30, 1/25, 1/20, 1/15, 1/10, 1/5,
> { discrete: width = 1280, height = 1024 }
>         Time interval between frame: 1/15, 1/10, 1/5,
> { pixelformat = 'MJPG', description = 'MJPEG' }
> { discrete: width = 640, height = 480 }
>         Time interval between frame: 1/30, 1/25, 1/20, 1/15, 1/10, 1/5,
> { discrete: width = 352, height = 288 }
>         Time interval between frame: 1/30, 1/25, 1/20, 1/15, 1/10, 1/5,
> { discrete: width = 320, height = 240 }
>         Time interval between frame: 1/30, 1/25, 1/20, 1/15, 1/10, 1/5,
> { discrete: width = 176, height = 144 }
>         Time interval between frame: 1/30, 1/25, 1/20, 1/15, 1/10, 1/5,
> { discrete: width = 160, height = 120 }
>         Time interval between frame: 1/30, 1/25, 1/20, 1/15, 1/10, 1/5,
> { discrete: width = 1280, height = 1024 }
>         Time interval between frame: 1/9, 1/5,
>
>
> Now for the each size, the output of the patched driver:
> YUV:
> 640x480: incomplete buffer (614400 bytes, expected 675840)
> 352x288: incomplete buffer (202752 bytes, expected 223027)
> 320x240: incomplete buffer (153600 bytes, expected 168960)
> 176x144: incomplete buffer (50688 bytes, expected 55756)
> 160x120: incomplete buffer (38400 bytes, expected 42240)
> 1280x1024: many messages like
> uvcvideo: Frame complete (EOF found).
> uvcvideo: EOF in empty payload.
> uvcvideo: Dropping payload (out of sync).
>
> but it works (apparently fine).
>
> MJPG (-f jpg in luvcview)
>
> 640x480: many "out of sync" messages, but it works
> 352x288: same
> 320x240: same
> 176x144: same
> 160x120: same
> 1280x1024: same
>
> the only problem with all of these is that luvcview is reporting around
> 5-15 fps when the camera reports 30 fps (the camera box says it should be
> able to do 60 fps, but I don't see those modes listed in luvcview). I think
> it has to do with light conditions. low light-> 5fps, sunlight -> 15 fps.

That would be my guess too.

> attached is an lsusb of the camera device.
>
> Since both cameras experience the same problem, I think a camera bug is
> ruled out?

Unfortunately not. Both cameras probably use the same buggy chipset.

I'll try to come up with a patch but I'm quite busy for now. I'll see what I 
can do. Sorry for the delay.

Best regards,

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

Reply via email to