Hi Laurent, thanks heaps for the help, but now the device was complaining that it couldn't initialized (seemed like it couldn't find the suitable pic mode): Do I need to put the 'right' quirks again to let the camera initialized correctly ?
Thanks again for your help, Followings are the excerpts: ------------------------------------------ streamer -d -c /dev/video0 -b 16 -o test.jpeg checking writer files [multiple image files] ... video name=ppm ext=ppm: ext mismatch [need jpeg] video name=pgm ext=pgm: ext mismatch [need jpeg] video name=jpeg ext=jpeg: OK files / video: JPEG (JFIF) / audio: none vid-open: trying: v4l2-old... vid-open: failed: v4l2-old vid-open: trying: v4l2... v4l2: open v4l2: device info: uvcvideo 0.1.0 / USB2.0 PC CAMERA @ usb-0000:00:07.2-1 vid-open: ok: v4l2 movie_init_writer start setformat: JPEG (JFIF) (320x240): failed setformat: 12 bit YUV 4:2:0 (planar) (320x240): failed setformat: 16 bit YUV 4:2:2 (planar) (320x240): failed setformat: 24 bit TrueColor (BE: rgb) (320x240): failed setformat: 24 bit TrueColor (LE: bgr) (320x240): failed no way to get: 320x240 JPEG (JFIF) movie writer initialisation failed ---------------------------------------------------------------> !!!! v4l2: close md5sum ./uvcvideo/v4l/v4l*.ko ea6cf3272514f1c931209fe35b046af3 ./uvcvideo/v4l/v4l1-compat.ko 9f73334627d6b8352cb3344d6e6fdf3d ./uvcvideo/v4l/v4l2-common.ko c5478fe849acb3629eb7464734c8985e ./uvcvideo/v4l/v4l2-int-device.ko md5sum /lib/modules/2.6.24-16-generic/kernel/drivers/media/video/v4* ea6cf3272514f1c931209fe35b046af3 /lib/modules/2.6.24-16-generic/kernel/drivers/media/video/v4l1-compat.ko 9f73334627d6b8352cb3344d6e6fdf3d /lib/modules/2.6.24-16-generic/kernel/drivers/media/video/v4l2-common.ko c5478fe849acb3629eb7464734c8985e /lib/modules/2.6.24-16-generic/kernel/drivers/media/video/v4l2-int-device.ko [ 5057.614310] Linux video capture interface: v2.00 [ 5057.669214] uvcvideo: Found UVC 1.00 device USB2.0 PC CAMERA (18ec:3299) [ 5057.669256] uvcvideo: Forcing device quirks to 0x100 by module parameter for testing purpose. [ 5057.669292] uvcvideo: Please report required quirks to the linux-uvc-devel mailing list. [ 5057.680847] input: USB2.0 PC CAMERA as /devices/pci0000:00/0000:00:07.2/usb1/1-1/1-1:1.0/input/input5 [ 5057.708664] usbcore: registered new interface driver uvcvideo [ 5057.708866] USB Video Class driver (v0.1.0) [ 5058.743732] ALSA /build/buildd/linux-ubuntu-modules-2.6.24-2.6.24/debian/build/build-generic/sound/alsa-driver/usb/usbaudio.c:1296: 2:3:1: cannot get freq at ep 0x82 [ 5063.808310] usbcore: registered new interface driver snd-usb-audio lsusb -v -d 18ec:3299 Bus 001 Device 002: ID 18ec:3299 Device Descriptor: bLength 18 bDescriptorType 1 bcdUSB 2.00 bDeviceClass 239 Miscellaneous Device bDeviceSubClass 2 ? bDeviceProtocol 1 Interface Association bMaxPacketSize0 64 idVendor 0x18ec idProduct 0x3299 bcdDevice 1.00 iManufacturer 1 iProduct 2 iSerial 0 bNumConfigurations 1 Configuration Descriptor: bLength 9 bDescriptorType 2 wTotalLength 498 bNumInterfaces 4 bConfigurationValue 1 iConfiguration 0 bmAttributes 0x80 (Bus Powered) MaxPower 320mA Interface Association: bLength 8 bDescriptorType 11 bFirstInterface 0 bInterfaceCount 2 bFunctionClass 14 Video bFunctionSubClass 3 Video Interface Collection bFunctionProtocol 0 iFunction 0 Interface Descriptor: bLength 9 bDescriptorType 4 bInterfaceNumber 0 bAlternateSetting 0 bNumEndpoints 1 bInterfaceClass 14 Video bInterfaceSubClass 1 Video Control bInterfaceProtocol 0 iInterface 0 VideoControl Interface Descriptor: bLength 13 bDescriptorType 36 bDescriptorSubtype 1 (HEADER) bcdUVC 1.00 wTotalLength 51 dwClockFrequency 24.000000MHz bInCollection 1 baInterfaceNr( 0) 1 VideoControl Interface Descriptor: bLength 18 bDescriptorType 36 bDescriptorSubtype 2 (INPUT_TERMINAL) bTerminalID 1 wTerminalType 0x0201 Camera Sensor bAssocTerminal 0 iTerminal 0 wObjectiveFocalLengthMin 0 wObjectiveFocalLengthMax 0 wOcularFocalLength 0 bControlSize 3 bmControls 0x0000200a Auto-Exposure Mode Exposure Time (Absolute) Roll (Absolute) VideoControl Interface Descriptor: bLength 11 bDescriptorType 36 bDescriptorSubtype 5 (PROCESSING_UNIT) Warning: Descriptor too short bUnitID 2 bSourceID 1 wMaxMultiplier 0 bControlSize 2 bmControls 0x0000073f Brightness Contrast Hue Saturation Sharpness Gamma Backlight Compensation Gain Power Line Frequency iProcessing 0 bmVideoStandards 0x 9 None SECAM - 625/50 VideoControl Interface Descriptor: bLength 9 bDescriptorType 36 bDescriptorSubtype 3 (OUTPUT_TERMINAL) bTerminalID 3 wTerminalType 0x0101 USB Streaming bAssocTerminal 0 bSourceID 2 iTerminal 0 Endpoint Descriptor: bLength 7 bDescriptorType 5 bEndpointAddress 0x81 EP 1 IN bmAttributes 3 Transfer Type Interrupt Synch Type None Usage Type Data wMaxPacketSize 0x0010 1x 16 bytes bInterval 10 Interface Descriptor: bLength 9 bDescriptorType 4 bInterfaceNumber 1 bAlternateSetting 0 bNumEndpoints 0 bInterfaceClass 14 Video bInterfaceSubClass 2 Video Streaming bInterfaceProtocol 0 iInterface 0 VideoStreaming Interface Descriptor: bLength 14 bDescriptorType 36 bDescriptorSubtype 1 (INPUT_HEADER) bNumFormats 1 wTotalLength 284 bEndPointAddress 131 bmInfo 0 bTerminalLink 3 bStillCaptureMethod 2 bTriggerSupport 1 bTriggerUsage 0 bControlSize 1 bmaControls( 0) 27 VideoStreaming Interface Descriptor: bLength 27 bDescriptorType 36 bDescriptorSubtype 4 (FORMAT_UNCOMPRESSED) bFormatIndex 1 bNumFrameDescriptors 5 guidFormat {59555932-0000-1000-8000-00aa00389b71} bBitsPerPixel 16 bDefaultFrameIndex 1 bAspectRatioX 0 bAspectRatioY 0 bmInterlaceFlags 0x00 Interlaced stream or variable: No Fields per frame: 1 fields Field 1 first: No Field pattern: Field 1 only bCopyProtect 0 VideoStreaming Interface Descriptor: bLength 42 bDescriptorType 36 bDescriptorSubtype 5 (FRAME_UNCOMPRESSED) bFrameIndex 1 bmCapabilities 0x00 Still image unsupported wWidth 640 wHeight 480 dwMinBitRate 768000 dwMaxBitRate 196608000 dwMaxVideoFrameBufferSize 3840000 dwDefaultFrameInterval 333333 bFrameIntervalType 4 dwFrameInterval( 0) 333333 dwFrameInterval( 1) 666666 dwFrameInterval( 2) 1000000 dwFrameInterval( 3) 2000000 VideoStreaming Interface Descriptor: bLength 42 bDescriptorType 36 bDescriptorSubtype 5 (FRAME_UNCOMPRESSED) bFrameIndex 2 bmCapabilities 0x00 Still image unsupported wWidth 352 wHeight 288 dwMinBitRate 768000 dwMaxBitRate 196608000 dwMaxVideoFrameBufferSize 3840000 dwDefaultFrameInterval 333333 bFrameIntervalType 4 dwFrameInterval( 0) 333333 dwFrameInterval( 1) 666666 dwFrameInterval( 2) 1000000 dwFrameInterval( 3) 2000000 VideoStreaming Interface Descriptor: bLength 42 bDescriptorType 36 bDescriptorSubtype 5 (FRAME_UNCOMPRESSED) bFrameIndex 3 bmCapabilities 0x00 Still image unsupported wWidth 320 wHeight 240 dwMinBitRate 768000 dwMaxBitRate 196608000 dwMaxVideoFrameBufferSize 3840000 dwDefaultFrameInterval 333333 bFrameIntervalType 4 dwFrameInterval( 0) 333333 dwFrameInterval( 1) 666666 dwFrameInterval( 2) 1000000 dwFrameInterval( 3) 2000000 VideoStreaming Interface Descriptor: bLength 42 bDescriptorType 36 bDescriptorSubtype 5 (FRAME_UNCOMPRESSED) bFrameIndex 4 bmCapabilities 0x00 Still image unsupported wWidth 176 wHeight 144 dwMinBitRate 768000 dwMaxBitRate 196608000 dwMaxVideoFrameBufferSize 3840000 dwDefaultFrameInterval 333333 bFrameIntervalType 4 dwFrameInterval( 0) 333333 dwFrameInterval( 1) 666666 dwFrameInterval( 2) 1000000 dwFrameInterval( 3) 2000000 VideoStreaming Interface Descriptor: bLength 42 bDescriptorType 36 bDescriptorSubtype 5 (FRAME_UNCOMPRESSED) bFrameIndex 5 bmCapabilities 0x00 Still image unsupported wWidth 160 wHeight 120 dwMinBitRate 768000 dwMaxBitRate 196608000 dwMaxVideoFrameBufferSize 3840000 dwDefaultFrameInterval 333333 bFrameIntervalType 4 dwFrameInterval( 0) 333333 dwFrameInterval( 1) 666666 dwFrameInterval( 2) 1000000 dwFrameInterval( 3) 2000000 VideoStreaming Interface Descriptor: bLength 18 bDescriptorType 36 bDescriptorSubtype 3 (STILL_IMAGE_FRAME) bEndpointAddress 0 bNumImageSizePatterns 3 wWidth( 0) 640 wHeight( 0) 480 wWidth( 1) 800 wHeight( 1) 600 wWidth( 2) 1280 wHeight( 2) 1024 bNumCompressionPatterns 3 VideoStreaming Interface Descriptor: bLength 6 bDescriptorType 36 bDescriptorSubtype 13 (COLORFORMAT) bColorPrimaries 0 (Unspecified) bTransferCharacteristics 0 (Unspecified) bMatrixCoefficients 0 (Unspecified) Interface Descriptor: bLength 9 bDescriptorType 4 bInterfaceNumber 1 bAlternateSetting 1 bNumEndpoints 1 bInterfaceClass 14 Video bInterfaceSubClass 2 Video Streaming bInterfaceProtocol 0 iInterface 0 Endpoint Descriptor: bLength 7 bDescriptorType 5 bEndpointAddress 0x83 EP 3 IN bmAttributes 5 Transfer Type Isochronous Synch Type Asynchronous Usage Type Data wMaxPacketSize 0x13e8 3x 1000 bytes bInterval 1 Interface Association: bLength 8 bDescriptorType 11 bFirstInterface 2 bInterfaceCount 2 bFunctionClass 1 Audio bFunctionSubClass 1 Control Device bFunctionProtocol 0 iFunction 4 Interface Descriptor: bLength 9 bDescriptorType 4 bInterfaceNumber 2 bAlternateSetting 0 bNumEndpoints 0 bInterfaceClass 1 Audio bInterfaceSubClass 1 Control Device bInterfaceProtocol 0 iInterface 4 AudioControl Interface Descriptor: bLength 9 bDescriptorType 36 bDescriptorSubtype 1 (HEADER) bcdADC 1.00 wTotalLength 40 bInCollection 1 baInterfaceNr( 0) 3 AudioControl Interface Descriptor: bLength 12 bDescriptorType 36 bDescriptorSubtype 2 (INPUT_TERMINAL) bTerminalID 1 wTerminalType 0x0201 Microphone bAssocTerminal 0 bNrChannels 2 wChannelConfig 0x0003 Left Front (L) Right Front (R) iChannelNames 0 iTerminal 0 lsmod | grep vid uvcvideo 65228 0 videodev 43040 1 uvcvideo v4l1_compat 14980 2 uvcvideo,videodev video 19856 0 output 4736 1 video usbcore 146028 5 snd_usb_audio,snd_usb_lib,uvcvideo,uhci_hcd On Tue, Mar 9, 2010 at 10:16 PM, Laurent Pinchart < laurent.pinch...@ideasonboard.com> wrote: > Hi Teguh, > > On Friday 05 March 2010 08:29:35 Teguh Iskanto wrote: > > Hi List, > > > > I've got a problem with my webcam on UVC driver, seemed like whatever I > try > > I still couldn't get it working. > > The one thing that I know is /dev/videoX is not being created (not quite > > sure why). really appreciate if anyone on this list could shed me a light > > on how to fix this problem. > > > > BTW: > > I've compiled the source with the latest UVC driver from the tree > > with : hg clone http://linuxtv.org/hg/~pinchartl/uvcvideo/ > > Could you please try to set the quirks parameter to 0x100 when loading the > uvcvideo driver ? > > -- > Regards, > > Laurent Pinchart >
_______________________________________________ Linux-uvc-devel mailing list Linux-uvc-devel@lists.berlios.de https://lists.berlios.de/mailman/listinfo/linux-uvc-devel