none
USB camera not working under WEC7 RRS feed

  • Question

  • Hi All,

    i am using Logitech's USB camera for my DM3730 Omap board ported with WEC7.

    I have ported WinCE6 USB Camera driver into my WEC7 system. The system detects USB camera correctly as (log below) :-

     

    /*************************************************************/

    PID:00400002 TID:054E0002 *** DLL_PROCESS_ATTACH - Current Process: 0x42, ID: 0x400002 ***
    PID:00400002 TID:054E0002 USBCam: USBDeviceAttach++
    PID:00400002 TID:054E0002 USBCam: ParseStreamInterfaces++
    PID:00400002 TID:054E0002 USBCam: Found 12 stream interface(s)
    PID:00400002 TID:054E0002 USBCam: ParseStreamInterfaces--
    PID:00400002 TID:054E0002 USBCam: Video Class interface found.
                                                                  PID:00400002 TID:054E0002 USBCam: ERROR: copying the function table. Insufficient memory
    PID:00400002 TID:054E0002 USBCam: PreferredWidth = 320
    PID:00400002 TID:054E0002 USBCam: PreferredHeight = 240
    PID:00400002 TID:054E0002 USBCam: MJPEG Support = 0
    PID:00400002 TID:054E0002 USBCam: Uncompressed Support = 1
    PID:00400002 TID:054E0002 USBCam: Error calling IssueVendorTransfer rc: 31 USB Err: 4  ExtErr: 31
    PID:00400002 TID:054E0002 USBCam: ERROR: DoVendorTransfer() returned 0x1f
    PID:00400002 TID:054E0002 USBCam: Camera may not support setting property 7
    PID:00400002 TID:054E0002 USBCam: Error calling IssueVendorTransfer rc: 31 USB Err: 4  ExtErr: 31
    PID:00400002 TID:054E0002 USBCam: ERROR: DoVendorTransfer() returned 0x1f
    PID:00400002 TID:054E0002 USBCam: Camera may not support setting property 14
    PID:00400002 TID:054E0002 USBCam: Camera supports USB_VIDEO_VS_FORMAT_UNCOMPRESSED
    PID:00400002 TID:054E0002 USBCam: Camera supports default format
    PID:00400002 TID:054E0002 USBCam: Camera supports default format
    PID:00400002 TID:054E0002 USBCam: Camera supports default format
    PID:00400002 TID:054E0002 USBCam: Camera supports default format
    PID:00400002 TID:054E0002 USBCam: Camera supports default format
    PID:00400002 TID:054E0002 USBCam: Camera supports default format
    PID:00400002 TID:054E0002 USBCam: Camera supports default format
    PID:00400002 TID:054E0002 USBCam: Camera supports default format
    PID:00400002 TID:054E0002 USBCam: Camera supports default format
    PID:00400002 TID:054E0002 USBCam: Camera supports default format
    PID:00400002 TID:054E0002 USBCam: Camera supports USB_VIDEO_VS_FORMAT_MJPEG
    PID:00400002 TID:054E0002 USBCam: Camera supports default format
    PID:00400002 TID:054E0002 USBCam: Camera supports default format
    PID:00400002 TID:054E0002 USBCam: Camera supports default format
    PID:00400002 TID:054E0002 USBCam: Camera supports default format
    PID:00400002 TID:054E0002 USBCam: Camera supports default format
    PID:00400002 TID:054E0002 USBCam: Camera supports default format
    PID:00400002 TID:054E0002 USBCam: Camera supports default format
    PID:00400002 TID:054E0002 USBCam: Camera supports default format
    PID:00400002 TID:054E0002 USBCam: Camera supports default format
    PID:00400002 TID:054E0002       Uncompressed Format[0] Width: 640, Height 480, Max Buf: 0x96000
    PID:00400002 TID:054E0002       Uncompressed Format[1] Width: 160, Height 120, Max Buf: 0x9600
    PID:00400002 TID:054E0002       Uncompressed Format[2] Width: 176, Height 144, Max Buf: 0xc600
    PID:00400002 TID:054E0002       Uncompressed Format[3] Width: 320, Height 176, Max Buf: 0x1b800
    PID:00400002 TID:054E0002       Uncompressed Format[4] Width: 320, Height 240, Max Buf: 0x25800
    PID:00400002 TID:054E0002       Uncompressed Format[5] Width: 352, Height 288, Max Buf: 0x31800
    PID:00400002 TID:054E0002       Uncompressed Format[6] Width: 432, Height 240, Max Buf: 0x32a00
    PID:00400002 TID:054E0002       Uncompressed Format[7] Width: 544, Height 288, Max Buf: 0x4c800
    PID:00400002 TID:054E0002       Uncompressed Format[8] Width: 640, Height 360, Max Buf: 0x70800
    PID:00400002 TID:054E0002 USBCam: 54 CAPTURE formats supported
    PID:00400002 TID:054E0002 USBCam: 09 STILL   formats supported
    PID:00400002 TID:054E0002 USBCam: USBDeviceAttach--
    PID:05D000F6 TID:04070182 Builing the CLSID_Colour completed hr=0x2fa9c
    PID:05D000F6 TID:04070182 Builing the CLSID_VideoMixingRenderer completed hr=0x2fa9c
    PID:00400002 TID:04070182 USBCam: SetSensorModeFormat++
    PID:00400002 TID:04070182 USBCam: Set sensor format (CAPTURE) to 320 x 240 x 16bpp @ 30 FPS
    PID:00400002 TID:04070182 USBCam: default Sensor format = 844748121
    PID:00400002 TID:04070182 USBCam: SetSensorModeFormat++
    PID:00400002 TID:04070182 USBCam: Set sensor format (CAPTURE) to 320 x 240 x 16bpp @ 30 FPS
    PID:00400002 TID:04070182 USBCam: default Sensor format = 844748121
    PID:05D000F6 TID:04070182 Builing the graph completed
    PID:00400002 TID:04DA01FE LCD_default setting 0
    PID:05D000F6 TID:04070182 The Graph is running
    PID:00400002 TID:04AE01B6 USBCam: Detected USB 2.x host controller (bcdUSB = 0x200)
    PID:00400002 TID:04AB0286 USBCam: Detected USB 2.x host controller (bcdUSB = 0x200)

    /******************************************************************************************/

    When i run the application as provided by "Prabu" http://www.e-consystems.com/blog/windowsce/?p=697

     

    Downloaded source and exe from http://cewebcam.codeplex.com/

    The camera is running and displaying the output onto the omap video layer. But the output doesn't looks to be of proper format when displayed.

     

    Please see the output as :-

    /**********************************************************************************/

    Can any of you help in this regard ? --- Misbah


    Senior Design Engineer T.E.S Electronic Solutions (Bangalore-India) www.tesbv.com email-misbah.khan@tes-dst.com

    • Changed type Misbah Khan Friday, November 4, 2011 7:34 AM
    • Edited by Misbah Khan Friday, November 4, 2011 7:38 AM
    Friday, November 4, 2011 7:30 AM

All replies