Le Mardi 16 Octobre 2007 15:54, Michael E. Kromer a écrit :
> Hi all,
>
>         I've just received a new notebook from my employer, and i was
>         trying to
>         get my webcam running, as i would need to use it with ekiga.
>         somehow it
>         simply just doesnt work - maybe its unsupported at the moment?
>
>         i already tried uvcvideo svn 133, no change. OS is opensuse 10.3
>         final
>         i586.
>
>         funny thing although is i get the following (dmesg) with
>         reregistering
>         uvcvideo:
>
>         usbcore: deregistering interface driver uvcvideo
>         uvcvideo: Found UVC 1.00 device Acer Crystal Eye webcam
>         (5986:0102)
>         usbcore: registered new interface driver uvcvideo
>         USB Video Class driver (v0.1.0)
>
>         but then, when i try to open it up with ekiga, i simply get
>         (dmesg):
>
>         uvcvideo: Failed to query (130) UVC control 1 (unit 0) : 2 (exp.
>         26).
>
>         i also tried to receive use different webcam software (gqcam,
>         wxcam,
>         for example) - all with same result.
>
>         i even tried luvcview (manually compiled).. same .. output:
>
>         uvcview verion 0.1.4
>         Video driver: x11
>         A window manager is available
>         video /dev/video0
>         Unable to set format: 5.
>          Init v4L2 failed !! exit fatal
>
>         --
>
>         Any clues?
>
>         Thanks in advance,
>
>         Michael
>
>         ----
>
>         uname -a
>
>         Linux medozasmobile 2.6.22.9-0.4-default #1 SMP 2007/10/05
>         21:32:04 UTC
>         i686 i686 i386 GNU/Linux
>
>         ----
>
>         hwinfo --usb (shortened)
>
>         10: USB 00.0: 0000 Unclassified device
>           [Created at usb.122]
>
>         UDI: /org/freedesktop/Hal/devices/usb_device_5986_102_noserial_if0
>           Unique ID: ZmS7.OdDu3vve13D
>           Parent ID: 7eqy.mIAsvqVqLYB
>           SysFS ID: /devices/pci0000:00/0000:00:1a.7/usb6/6-1/6-1:1.0
>           SysFS BusID: 6-1:1.0
>           Hardware Class: unknown
>           Model: "Acer Crystal Eye webcam"
>           Hotplug: USB
>           Vendor: usb 0x5986
>           Device: usb 0x0102 "Acer Crystal Eye webcam"
>           Revision: "1.00"
>           Driver: "uvcvideo"
>           Driver Modules: "uvcvideo"
>           Speed: 480 Mbps
>           Module Alias: "usb:v5986p0102d0100dcEFdsc02dp01ic0Eisc01ip00"
>           Driver Info #0:
>             Driver Status: uvcvideo is active
>             Driver Activation Cmd: "modprobe uvcvideo"
>           Config Status: cfg=new, avail=yes, need=no, active=unknown
>           Attached to: #8 (Hub)
>
>         ----
>
>         lsusb -v -d 5986:0102
>
>         Bus 006 Device 002: ID 5986:0102
>         Device Descriptor:
>           bLength                18
>           bDescriptorType         1
>           bcdUSB               2.00
>           bDeviceClass          239 Miscellaneous Device
>           bDeviceSubClass         2 Common Class
>           bDeviceProtocol         1 Interface Association
>           bMaxPacketSize0        64
>           idVendor           0x5986
>           idProduct          0x0102
>           bcdDevice            1.00
>           iManufacturer           0
>           iProduct                1 Acer Crystal Eye webcam
>           iSerial                 0
>           bNumConfigurations      1
>           Configuration Descriptor:
>             bLength                 9
>             bDescriptorType         2
>             wTotalLength          632
>             bNumInterfaces          2
>             bConfigurationValue     1
>             iConfiguration          0
>             bmAttributes         0x80
>               (Bus Powered)
>             MaxPower              500mA
>             Interface Association:
>               bLength                 8
>               bDescriptorType        11
>               bFirstInterface         0
>               bInterfaceCount         2
>               bFunctionClass         14 Video
>               bFunctionSubClass       3 Video Interface Collection
>               bFunctionProtocol       0
>               iFunction               1 Acer Crystal Eye webcam
>             Interface Descriptor:
>               bLength                 9
>               bDescriptorType         4
>               bInterfaceNumber        0
>               bAlternateSetting       0
>               bNumEndpoints           1
>               bInterfaceClass        14 Video
>               bInterfaceSubClass      1 Video Control
>               bInterfaceProtocol      0
>               iInterface              1 Acer Crystal Eye webcam
>               VideoControl Interface Descriptor:
>                 bLength                13
>                 bDescriptorType        36
>                 bDescriptorSubtype      1 (HEADER)
>                 bcdUVC               1.00
>                 wTotalLength           84
>                 dwClockFrequency       30.000000MHz
>                 bInCollection           1
>                 baInterfaceNr( 0)       1
>               VideoControl Interface Descriptor:
>                 bLength                17
>                 bDescriptorType        36
>                 bDescriptorSubtype      2 (INPUT_TERMINAL)
>                 bTerminalID             1
>                 wTerminalType      0x0201 Camera Sensor
>                 bAssocTerminal          0
>                 iTerminal               0
>                 wObjectiveFocalLengthMin      0
>                 wObjectiveFocalLengthMax      0
>                 wOcularFocalLength            0
>                 bControlSize                  2
>                 bmControls           0x00000000
>               VideoControl Interface Descriptor:
>                 bLength                 9
>                 bDescriptorType        36
>                 bDescriptorSubtype      3 (OUTPUT_TERMINAL)
>                 bTerminalID             3
>                 wTerminalType      0x0101 USB Streaming
>                 bAssocTerminal          0
>                 bSourceID               6
>                 iTerminal               0
>               VideoControl Interface Descriptor:
>                 bLength                 7
>                 bDescriptorType        36
>                 bDescriptorSubtype      4 (SELECTOR_UNIT)
>                 bUnitID                 4
>                 bNrInPins               1
>                 baSource( 0)            1
>                 iSelector               0
>               VideoControl Interface Descriptor:
>                 bLength                11
>                 bDescriptorType        36
>                 bDescriptorSubtype      5 (PROCESSING_UNIT)
>               Warning: Descriptor too short
>                 bUnitID                 5
>                 bSourceID               4
>                 wMaxMultiplier          0
>                 bControlSize            2
>                 bmControls     0x0000053f
>                   Brightness
>                   Contrast
>                   Hue
>                   Saturation
>                   Sharpness
>                   Gamma
>                   Backlight Compensation
>                   Power Line Frequency
>                 iProcessing             0
>                 bmVideoStandards     0x1b
>                   None
>                   NTSC - 525/60
>                   SECAM - 625/50
>                   NTSC - 625/50
>               VideoControl Interface Descriptor:
>                 bLength                27
>                 bDescriptorType        36
>                 bDescriptorSubtype      6 (EXTENSION_UNIT)
>                 bUnitID                 6
>                 guidExtensionCode
>         {564c97a7-7ea7-904b-8cbf-1c71ec303000}
>                 bNumControl            16
>                 bNrPins                 1
>                 baSourceID( 0)          5
>                 bControlSize            2
>                 bmControls( 0)       0xff
>                 bmControls( 1)       0xff
>                 iExtension              0
>               Endpoint Descriptor:
>                 bLength                 7
>                 bDescriptorType         5
>                 bEndpointAddress     0x82  EP 2 IN
>                 bmAttributes            3
>                   Transfer Type            Interrupt
>                   Synch Type               None
>                   Usage Type               Data
>                 wMaxPacketSize     0x0008  1x 8 bytes
>                 bInterval              15
>             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                            15
>                 bDescriptorType                    36
>                 bDescriptorSubtype                  1 (INPUT_HEADER)
>                 bNumFormarts                        2
>                 wTotalLength                    33025
>                 bEndPointAddress                    0
>                 bmInfo                              3
>                 bTerminalLink                       2
>                 bStillCaptureMethod                 1
>                 bTriggerSupport                     1
>                 bTriggerUsage                       1
>                 bControlSize                        1
>                 bmaControls( 0)                    11
>                 bmaControls( 1)                    11
>               VideoStreaming Interface Descriptor:
>                 bLength                            11
>                 bDescriptorType                    36
>                 bDescriptorSubtype                  6 (FORMAT_MJPEG)
>                 bFormatIndex                        1
>                 bNumFrameDescriptors                5
>                 bFlags                              1
>                   Fixed-size samples: Yes
>                 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                            38
>                 bDescriptorType                    36
>                 bDescriptorSubtype                  7 (FRAME_MJPEG)
>                 bFrameIndex                         1
>                 bmCapabilities                   0x01
>                   Still image supported
>                 wWidth                            640
>                 wHeight                           480
>                 dwMinBitRate                   912384
>                 dwMaxBitRate                   912384
>                 dwMaxVideoFrameBufferSize      921600
>                 dwDefaultFrameInterval         333333
>                 bFrameIntervalType                  3
>                 dwFrameInterval( 0)            333333
>                 dwFrameInterval( 1)            666666
>                 dwFrameInterval( 2)           1000000
>               VideoStreaming Interface Descriptor:
>                 bLength                            38
>                 bDescriptorType                    36
>                 bDescriptorSubtype                  7 (FRAME_MJPEG)
>                 bFrameIndex                         2
>                 bmCapabilities                   0x01
>                   Still image supported
>                 wWidth                            320
>                 wHeight                           240
>                 dwMinBitRate                   912384
>                 dwMaxBitRate                   912384
>                 dwMaxVideoFrameBufferSize      230400
>                 dwDefaultFrameInterval         333333
>                 bFrameIntervalType                  3
>                 dwFrameInterval( 0)            333333
>                 dwFrameInterval( 1)            666666
>                 dwFrameInterval( 2)           1000000
>               VideoStreaming Interface Descriptor:
>                 bLength                            38
>                 bDescriptorType                    36
>                 bDescriptorSubtype                  7 (FRAME_MJPEG)
>                 bFrameIndex                         3
>                 bmCapabilities                   0x01
>                   Still image supported
>                 wWidth                            160
>                 wHeight                           120
>                 dwMinBitRate                   912384
>                 dwMaxBitRate                   912384
>                 dwMaxVideoFrameBufferSize       57600
>                 dwDefaultFrameInterval         333333
>                 bFrameIntervalType                  3
>                 dwFrameInterval( 0)            333333
>                 dwFrameInterval( 1)            666666
>                 dwFrameInterval( 2)           1000000
>               VideoStreaming Interface Descriptor:
>                 bLength                            38
>                 bDescriptorType                    36
>                 bDescriptorSubtype                  7 (FRAME_MJPEG)
>                 bFrameIndex                         4
>                 bmCapabilities                   0x01
>                   Still image supported
>                 wWidth                            352
>                 wHeight                           288
>                 dwMinBitRate                   912384
>                 dwMaxBitRate                   912384
>                 dwMaxVideoFrameBufferSize      304128
>                 dwDefaultFrameInterval         333333
>                 bFrameIntervalType                  3
>                 dwFrameInterval( 0)            333333
>                 dwFrameInterval( 1)            666666
>                 dwFrameInterval( 2)           1000000
>               VideoStreaming Interface Descriptor:
>                 bLength                            38
>                 bDescriptorType                    36
>                 bDescriptorSubtype                  7 (FRAME_MJPEG)
>                 bFrameIndex                         5
>                 bmCapabilities                   0x01
>                   Still image supported
>                 wWidth                            176
>                 wHeight                           144
>                 dwMinBitRate                   912384
>                 dwMaxBitRate                   912384
>                 dwMaxVideoFrameBufferSize       76032
>                 dwDefaultFrameInterval         333333
>                 bFrameIntervalType                  3
>                 dwFrameInterval( 0)            333333
>                 dwFrameInterval( 1)            666666
>                 dwFrameInterval( 2)           1000000
>               VideoStreaming Interface Descriptor:
>                 bLength                            26
>                 bDescriptorType                    36
>                 bDescriptorSubtype                  3
>         (STILL_IMAGE_FRAME)
>                 bEndpointAddress                    0
>                 bNumImageSizePatterns               5
>                 wWidth( 0)                        640
>                 wHeight( 0)                       480
>                 wWidth( 1)                        320
>                 wHeight( 1)                       240
>                 wWidth( 2)                        160
>                 wHeight( 2)                       120
>                 wWidth( 3)                        352
>                 wHeight( 3)                       288
>                 wWidth( 4)                        176
>                 wHeight( 4)                       144
>                 bNumCompressionPatterns             5
>               VideoStreaming Interface Descriptor:
>                 bLength                            27
>                 bDescriptorType                    36
>                 bDescriptorSubtype                  4
>         (FORMAT_UNCOMPRESSED)
>                 bFormatIndex                        2
>                 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                            38
>                 bDescriptorType                    36
>                 bDescriptorSubtype                  5
>         (FRAME_UNCOMPRESSED)
>                 bFrameIndex                         1
>                 bmCapabilities                   0x01
>                   Still image supported
>                 wWidth                            640
>                 wHeight                           480
>                 dwMinBitRate                   912384
>                 dwMaxBitRate                   912384
>                 dwMaxVideoFrameBufferSize      614400
>                 dwDefaultFrameInterval         333333
>                 bFrameIntervalType                  3
>                 dwFrameInterval( 0)            333333
>                 dwFrameInterval( 1)            666666
>                 dwFrameInterval( 2)           1000000
>               VideoStreaming Interface Descriptor:
>                 bLength                            38
>                 bDescriptorType                    36
>                 bDescriptorSubtype                  5
>         (FRAME_UNCOMPRESSED)
>                 bFrameIndex                         2
>                 bmCapabilities                   0x01
>                   Still image supported
>                 wWidth                            320
>                 wHeight                           240
>                 dwMinBitRate                   912384
>                 dwMaxBitRate                   912384
>                 dwMaxVideoFrameBufferSize      230400
>                 dwDefaultFrameInterval         333333
>                 bFrameIntervalType                  3
>                 dwFrameInterval( 0)            333333
>                 dwFrameInterval( 1)            666666
>                 dwFrameInterval( 2)           1000000
>               VideoStreaming Interface Descriptor:
>                 bLength                            38
>                 bDescriptorType                    36
>                 bDescriptorSubtype                  5
>         (FRAME_UNCOMPRESSED)
>                 bFrameIndex                         3
>                 bmCapabilities                   0x01
>                   Still image supported
>                 wWidth                            160
>                 wHeight                           120
>                 dwMinBitRate                   912384
>                 dwMaxBitRate                   912384
>                 dwMaxVideoFrameBufferSize       57600
>                 dwDefaultFrameInterval         333333
>                 bFrameIntervalType                  3
>                 dwFrameInterval( 0)            333333
>                 dwFrameInterval( 1)            666666
>                 dwFrameInterval( 2)           1000000
>               VideoStreaming Interface Descriptor:
>                 bLength                            38
>                 bDescriptorType                    36
>                 bDescriptorSubtype                  5
>         (FRAME_UNCOMPRESSED)
>                 bFrameIndex                         4
>                 bmCapabilities                   0x01
>                   Still image supported
>                 wWidth                            352
>                 wHeight                           288
>                 dwMinBitRate                   912384
>                 dwMaxBitRate                   912384
>                 dwMaxVideoFrameBufferSize      304128
>                 dwDefaultFrameInterval         333333
>                 bFrameIntervalType                  3
>                 dwFrameInterval( 0)            333333
>                 dwFrameInterval( 1)            666666
>                 dwFrameInterval( 2)           1000000
>               VideoStreaming Interface Descriptor:
>                 bLength                            38
>                 bDescriptorType                    36
>                 bDescriptorSubtype                  5
>         (FRAME_UNCOMPRESSED)
>                 bFrameIndex                         5
>                 bmCapabilities                   0x01
>                   Still image supported
>                 wWidth                            176
>                 wHeight                           144
>                 dwMinBitRate                   912384
>                 dwMaxBitRate                   912384
>                 dwMaxVideoFrameBufferSize       76032
>                 dwDefaultFrameInterval         333333
>                 bFrameIntervalType                  3
>                 dwFrameInterval( 0)            333333
>                 dwFrameInterval( 1)            666666
>                 dwFrameInterval( 2)           1000000
>               VideoStreaming Interface Descriptor:
>                 bLength                            26
>                 bDescriptorType                    36
>                 bDescriptorSubtype                  3
>         (STILL_IMAGE_FRAME)
>                 bEndpointAddress                    0
>                 bNumImageSizePatterns               5
>                 wWidth( 0)                        640
>                 wHeight( 0)                       480
>                 wWidth( 1)                        320
>                 wHeight( 1)                       240
>                 wWidth( 2)                        160
>                 wHeight( 2)                       120
>                 wWidth( 3)                        352
>                 wHeight( 3)                       288
>                 wWidth( 4)                        176
>                 wHeight( 4)                       144
>                 bNumCompressionPatterns             5
>             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     0x81  EP 1 IN
>                 bmAttributes            5
>                   Transfer Type            Isochronous
>                   Synch Type               Asynchronous
>                   Usage Type               Data
>                 wMaxPacketSize     0x1400  3x 0 bytes
>                 bInterval               1
>         Device Qualifier (for other device speed):
>           bLength                10
>           bDescriptorType         6
>           bcdUSB               2.00
>           bDeviceClass            0 (Defined at Interface level)
>           bDeviceSubClass         0
>           bDeviceProtocol         0
>           bMaxPacketSize0        64
>           bNumConfigurations      1
>         Device Status:     0x0000
>           (Bus Powered)
Can you try
luvcview -d /dev/video0 -f jpg -s 640x480
you need to specify the image format with luvcview :)
luvcview -L 
list all format framerate size available
regards
-- 
Michel Xhaard
http://mxhaard.free.fr
_______________________________________________
Linux-uvc-devel mailing list
[email protected]
https://lists.berlios.de/mailman/listinfo/linux-uvc-devel

Reply via email to