Hi Jon, On Tuesday 02 June 2009 19:34:55 Jon Fairbairn wrote: > Laurent Pinchart <[email protected]> writes: > > > > I would still be interested in messages printed by the > > uvcvideo driver in the kernel log when running motion. > > With trace=15, there's quite a lot. I've removed what I think > is boring, but let me know if I've trimmed too much: > > uvcvideo: Adding mapping Brightness [... and various other controls] > uvcvideo: Probing generic UVC device 4 > uvcvideo: Found format MJPEG. > uvcvideo: - 640x480 (30.0 fps) > uvcvideo: - 320x240 (30.0 fps) > uvcvideo: - 160x120 (30.0 fps) > uvcvideo: - 352x288 (30.0 fps) > uvcvideo: - 176x144 (30.0 fps) > uvcvideo: Found format YUV 4:2:2 (YUYV). [... same resolutions as above] > > uvcvideo: Found a Status endpoint (addr 82). > uvcvideo: Found UVC 1.00 device Live! Cam Optia (041e:4057) > uvcvideo: Added control 00000000-0000-0000-0000-000000000101/2 to device 4 > entity 5 [... more similar "Added control..." lines] > uvcvideo: Scanning UVC chain: OT 3 <- XU 6 <- PU 5 <- SU 4 <- IT 1 > uvcvideo: Found a valid video chain (1 -> 3). > uvcvideo: UVC non compliance - GET_DEF(PROBE) not supported. Enabling > workaround. input: Live! Cam Optia as > /devices/pci0000:00/0000:00:02.1/usb1/1-4/1-4:1.0/input/input10 uvcvideo: > UVC device initialized. > usbcore: registered new interface driver uvcvideo > USB Video Class driver (v0.1.0) > uvcvideo: Trying format 0x47504a4d (MJPG): 10000x10000. > uvcvideo: Using default frame interval 33333.3 us (30.0 fps). > uvcvideo: UVC non compliance - GET_MIN/MAX(PROBE) incorrectly supported. > Enabling workaround. [ the next section repeats continually while motion is > running ] > uvcvideo: Trying format 0x47504a4d (MJPG): 352x288. > uvcvideo: Using default frame interval 33333.3 us (30.0 fps). > uvcvideo: Trying format 0x47504a4d (MJPG): 352x288. > uvcvideo: Using default frame interval 33333.3 us (30.0 fps). > uvcvideo: Setting jpeg quality to 100. > uvcvideo: Control 0x0098090e not found. > uvcvideo: Control 0x0098090f not found. > uvcvideo: Control 0x00980911 not found. > uvcvideo: Control 0x00980912 not found. > uvcvideo: Control 0x00980913 not found. > uvcvideo: Control 0x08000000 not found. > uvcvideo: Control 0x08000001 not found. > uvcvideo: device Live! Cam Optia requested null bandwidth, defaulting to > lowest.
The problem might be in motion then. > > > mplayer with -tv mjpeg > > > > It might still be using MJPEG, although this sounds a bit > > weird. > > It doesn't look like it... > > > If you load the uvcvideo driver with trace=15 the > > driver will print various debug messages to the kernel > > log. You will be able to trace all format get/set calls > > made by mplayer. > > uvcvideo: Trying format 0x56595559 (YUYV): 640x480. > uvcvideo: Using default frame interval 33333.3 us (30.0 fps). > uvcvideo: Trying format 0x32315659 (YV12): 640x480. > uvcvideo: Unsupported format 0x32315659. > uvcvideo: Trying format 0x32315559 (YU12): 640x480. > uvcvideo: Unsupported format 0x32315559. > uvcvideo: Trying format 0x59565955 (UYVY): 640x480. > uvcvideo: Unsupported format 0x59565955. > uvcvideo: Trying format 0x56595559 (YUYV): 640x480. > uvcvideo: Using default frame interval 33333.3 us (30.0 fps). > uvcvideo: Trying format 0x56595559 (YUYV): 352x480. > uvcvideo: Using default frame interval 33333.3 us (30.0 fps). > uvcvideo: Trying format 0x56595559 (YUYV): 352x288. > uvcvideo: Using default frame interval 33333.3 us (30.0 fps). > uvcvideo: Control 0x00980909 not found. > uvcvideo: device Live! Cam Optia requested null bandwidth, defaulting to > lowest. uvcvideo: Control 0x00980909 not found. And there might be a problem in mplayer as well. I'm afraid there's not much I can do, applications bugs need to be fixed in the application. You should contact the appropriate maintainers for help. Best regards, Laurent Pinchart _______________________________________________ Linux-uvc-devel mailing list [email protected] https://lists.berlios.de/mailman/listinfo/linux-uvc-devel
