Webcam und Mehrkernprozessoren - Wim Bruls Treiber

(DE) System, Installation, Konfiguration, Hardware, Treiber, Netzwerk, Virtualisierung, etc.
(EN) System, Installation, Configuration, Hardware, Drivers, Network, Virtualisation, etc.
User avatar
Sigurd
Posts: 769
Joined: Mon 23. Dec 2013, 08:35

Webcam und Mehrkernprozessoren - Wim Bruls Treiber

Post by Sigurd » Wed 9. Mar 2016, 08:04

Ich mache hierzu mal einen eigenen Thread auf. (Vorgeschichte hier zu ersehen: http://www.os2.org/viewtopic.php?f=4&t=888 ).

1.) @ Thorolf: Wim Brul ist in Holland beheimatet, am besten nimmst Du Kontakt per EMail auf. Ich hatte Ihm schon ähnliches angeboten, weil er mir schon so oft uneigennützig geholfen hat, er hat aber immer höflich dankend abgelehnt. Vielleicht läßt er sich doch noch überzeugen ;)

2.) @ Mike: Ich schlage folgendes vor: laß uns einmal die BIOS Einstellungen vergleichen, ich habe festgestellt - ebenfalls ähnlich dem X200T seiner Zeit - dass es einen Unterschied schon beim Booten macht, ob ich zum Beispiel per Akku oder mit Strom Netzanschluss starte. Beim Akku kommt es öfters vor, dass der Bootprozess beim Aufruf nach cmd.exe oder später bei pmshell.exe oder (dritte Variante) letztlich beim Aufbau der WPS stehen bleibt. Kann aber per STRG+ALT+ENTF dann wieder neu gestartet werden, stürzt also nicht ab.
- Ich vermute:
a.) liegt vielleicht an der "Schnellstart" Option von Windows 10 die beim Beenden ja schon alles für den nächsten Boot vorbereitet und ACPI kommt beim nächsten Boot durcheinander
b.) liegt vielleicht an den BIOS Einstellungen
c.) vielleicht grundsätzlich ein Timingproblem, da evtl. die Hardware zu schnell für den Bootvorgang ist

Dieses Verhalten und verschiedene BIOS Einstellungen haben bzw. hatten auch immer Einfluss zum Beispiel auf das UMTS Modem im X200t; oftmals kann der COM Port dann durch Injoy nicht gefunden werden.

Ich poste nachher mal meine BIOS Einstellungen.

Im Moment läuft das T450s auf Akku und ein Test mit dem Webcam Programm zeigt die selben Ergebnisse wie bei Dir:Friert sofort ein.

Jetzt Stromstecker im laufenden Betrieb eingesteckt: Webcam gestartet, läuft (zumindest etwas länger im Moment)....


Kannst du das evtl. bitte mal bei Dir überprüfen? Danke!
OS/2 versus Hardware - Maximum Warp!

User avatar
MikeK
Posts: 260
Joined: Mon 23. Dec 2013, 13:51
Location: Potsdam

Post by MikeK » Wed 9. Mar 2016, 09:57

Hallo Sigurd,
Freeze tritt sowohl im Batteriebetrieb, als auch im Netzbetrieb auf. Es dauert im Normalfall zwischen 3 und 5 Sekunden. Wim meinte, dass ein Timeout vorläge und empfahl mir mit einem Kern zu testen. Hat aber das Problem leider nicht behoben.
Nebenbei bemerkt, wenn sich der X250 in der Dockingstation befindet wird die Kamera von Wims Programm gar nicht mehr gefunden.
Wir können gerne mal die BIOS-Settings abgleichen.
Grüße aus Potsdam,
Mike

User avatar
Wimpie
Posts: 54
Joined: Sat 10. Jan 2015, 21:58
Location: Uithoorn

Post by Wimpie » Wed 9. Mar 2016, 19:28

Hallo Sigurd and Thorolf,
1.) @ Thorolf: Wim Brul ist in Holland beheimatet, am besten nimmst Du Kontakt per EMail auf. Ich hatte Ihm schon ähnliches angeboten, weil er mir schon so oft uneigennützig geholfen hat, er hat aber immer höflich dankend abgelehnt. Vielleicht läßt er sich doch noch überzeugen ;)
On OS2 World I wrote to Mike that "Unfortunately I cannot recreate that problem because I have only single cpu hardware to test with". This resulted in several people trying to get me some multi-core hardware. I am grateful for that, but I must say that I am hesitant to accept. To me it would be yet another system that I will have to maintain. It feels more like a burden than a pleasure. So please don't.

Wim

User avatar
thorolf
Posts: 423
Joined: Wed 25. Dec 2013, 16:14
Location: Rhein-Main

Post by thorolf » Thu 10. Mar 2016, 22:26

Hi Wim,
Wimpie » Mi 9. Mär 2016, 19:28 wrote:I am grateful for that, but I must say that I am hesitant to accept. To me it would be yet another system that I will have to maintain. It feels more like a burden than a pleasure. So please don't.
I'm absolutely fine with this, it's your, and only your decision!

If you change your mind, just drop me a message, I still have some old ThinkPads with Core Duo processor, that work quite well with OS/2, just harddrive and battery are missing.

Nice that you still are doing some software for OS/2 that people like and use, even if it is nothing I have any need for (and thus never tried).

Kind regards,

Thorolf
Grüße,

Thorolf

User avatar
Wimpie
Posts: 54
Joined: Sat 10. Jan 2015, 21:58
Location: Uithoorn

Post by Wimpie » Sat 12. Mar 2016, 15:44

Hallo Mike,

USBDock will create .bin files from attached usb devices when you invoke it as "usbdock.exe /bin".
Could you do that for your webcam and append its .bin and .log files here so that I can have a look at these?
For my Logitech c250 Webcam this would be the 046d0804.bin and 046d0804.log files.
Du hast keine ausreichende Berechtigung, um die Dateianhänge dieses Beitrags anzusehen.

User avatar
MikeK
Posts: 260
Joined: Mon 23. Dec 2013, 13:51
Location: Potsdam

Post by MikeK » Mon 14. Mar 2016, 04:00

Hi Wim,
Please see attached zip-file with the requested *.bin & *.log file for the USB-ID 04CA:703C, which I hope is the camera.
Greetings from Shanghai,
Mike
Du hast keine ausreichende Berechtigung, um die Dateianhänge dieses Beitrags anzusehen.

User avatar
Wimpie
Posts: 54
Joined: Sat 10. Jan 2015, 21:58
Location: Uithoorn

Post by Wimpie » Wed 16. Mar 2016, 17:10

MikeK » Mon 14. Mar 2016, 04:00 wrote:Hi Wim,
Please see attached zip-file with the requested *.bin & *.log file for the USB-ID 04CA:703C, which I hope is the camera.
Greetings from Shanghai,
Mike
Hi Mike,

Yes. That is the camera. I have parsed the 04ca703c.bin file:

Code: Select all

usbparse - usb device/configuration descriptor parser
Copyright (C) W.M.Brul 2010-2015, NL1422CG25

Input File: 04CA703C.BIN

Device Descriptor:
  bLength: 18 bytes
  bDescriptorType: 0x01
  bcdUSB: 0x0200
  bDeviceClass: 0xEF Miscellaneous
  bDeviceSubClass: 0x02 Common Class
  bDeviceProtocol: 0x01 Interface Association
  bMaxPacketSize: 64
  idVendor: 0x04CA
  idProduct: 0x703C
  bcdDevice: 0x0017
  iManufacturer: 1
  iProduct: 2
  iSerialNumber: 0
  bNumConfigurations: 1

Configuration Descriptor:
  bLength: 9 bytes
  bDescriptorType: 0x02
  wTotalLength: 1086 bytes
  bNumInterfaces: 2
  bConfigurationValue: 1
  iConfiguration: 0
  bmAttributes: 0x80
  MaxPower: 500 mA

Interface Association Descriptor:
  bLength: 8 bytes
  bDescriptorType: 0x0B
  bFirstInterface: 0
  bInterfaceCount: 2
  bFunctionClass: 0x0E Video
  bFunctionSubClass: 0x03 Video Interface Collection
  bFunctionProtocol: 0x00 
  iFunction: 4

Interface Descriptor:
  bLength: 9 bytes
  bDescriptorType: 0x04
  bInterfaceNumber: 0
  bAlternateSetting: 0
  bNumEndpoints: 1
  bInterfaceClass: 0x0E Video
  bInterfaceSubClass: 0x01 Video Control
  bInterfaceProtocol: 0x00 
  iInterface: 4

Video Control Header Descriptor:
  bLength: 13 bytes
  bDescriptorType: 0x24
  bDescriptorSubType: 0x01
  bcdUVC: 0x0100
  wTotalLength: 109 bytes
  dwClockFrequency: 48 MHz
  bInCollection: 1
  baInterfaceNr(1): 1

Video Control Input Terminal Descriptor:
  bLength: 18 bytes
  bDescriptorType: 0x24
  bDescriptorSubType: 0x02
  bTerminalID: 1
  wTerminalType: 0x0201
  bAssocTerminal: 0
  iTerminal: 0
  wObjectiveFocalLengthMin: 0
  wObjectiveFocalLengthMax: 0
  wOcularFocalLength: 0
  bControlSize: 3 bytes
  bmControls: 0x00000E

Video Control Processing Unit Descriptor:
  bLength: 11 bytes
  bDescriptorType: 0x24
  bDescriptorSubType: 0x05
  bUnitID: 2
  bSourceID: 1
  wMaxMultiplier: 163.84
  bControlSize: 2 bytes
  bmControls: 0x157F
  iProcessing: 0

Video Control Extension Unit Descriptor:
  bLength: 29 bytes
  bDescriptorType: 0x24
  bDescriptorSubType: 0x06
  bUnitID: 3
  guidExtensionCode: C385B80FC268474590F78F47579D95FC
  bNumControls: 0
  bNrInPins: 1
  baSourceID(1): 2
  bControlSize: 4 bytes
  bmControls: 0x0000001F
  iExtension: 0

Video Control Extension Unit Descriptor:
  bLength: 29 bytes
  bDescriptorType: 0x24
  bDescriptorSubType: 0x06
  bUnitID: 4
  guidExtensionCode: 820661637050AB49B8CCB3855E8D221D
  bNumControls: 0
  bNrInPins: 1
  baSourceID(1): 3
  bControlSize: 4 bytes
  bmControls: 0x0071FFFF
  iExtension: 0

Video Control Output Terminal Descriptor:
  bLength: 9 bytes
  bDescriptorType: 0x24
  bDescriptorSubType: 0x03
  bTerminalID: 5
  wTerminalType: 0x0101
  bAssocTerminal: 0
  bSourceID: 4
  iTerminal: 0

Endpoint Descriptor:
  bLength: 7 bytes
  bDescriptorType: 0x05
  bEndpointAddress: 0x87
  bmAttributes: 0x03 Interrupt
  wMaxPacketSize: 16 bytes
  bInterval: 8

Video Control Endpoint Descriptor:
  bLength: 5 bytes
  bDescriptorType: 0x25
  bDescriptorSubType: 0x03
  wMaxTransferSize: 1029 bytes

Interface Descriptor:
  bLength: 9 bytes
  bDescriptorType: 0x04
  bInterfaceNumber: 1
  bAlternateSetting: 0
  bNumEndpoints: 0
  bInterfaceClass: 0x0E Video
  bInterfaceSubClass: 0x02 Video Streaming
  bInterfaceProtocol: 0x00 
  iInterface: 0

Video Streaming Input Header Descriptor:
  bLength: 15 bytes
  bDescriptorType: 0x24
  bDescriptorSubType: 0x01
  bNumFormats: 2
  wTotalLength: 754 bytes
  bEndpointAddress: 0x81
  bmInfo: 0x00
  bTerminalLink: 5
  bStillCaptureMethod: 2
  bTriggerSupport: 1
  bTriggerUsage: 0
  bControlSize: 1 bytes
    bmaControls(1): 0x00
    bmaControls(2): 0x04

Video Streaming Format Uncompressed Descriptor:
  bLength: 27 bytes
  bDescriptorType: 0x24
  bDescriptorSubType: 0x04
  bFormatIndex: 1
  bNumFrameDescriptors: 9
  guidFormat: 5955593200001000800000AA00389B71
  bBitsPerPixel: 16
  bDefaultFrameIndex: 1
  bAspectRatioX: 0
  bAspectRatioY: 0
  bmInterlaceFlags: 0x00
  bCopyProtect: 0

Video Streaming Frame Uncompressed Descriptor:
  bLength: 34 bytes
  bDescriptorType: 0x24
  bDescriptorSubType: 0x05
  bFrameIndex: 1
  bmCapabilities: 0x00
  wWidth: 640 pixels
  wHeight: 480 pixels
  dwMinBitRate: 73728000 bps
  dwMaxBitRate: 147456000 bps
  dwMaxVideoFrameBufferSize: 614400 bytes
  dwDefaultFrameInterval: 33.3333 ms
  bFrameIntervalType: 2
    dwFrameInterval(1): 33.3333 ms
    dwFrameInterval(2): 66.6666 ms

Video Streaming Frame Uncompressed Descriptor:
  bLength: 34 bytes
  bDescriptorType: 0x24
  bDescriptorSubType: 0x05
  bFrameIndex: 2
  bmCapabilities: 0x00
  wWidth: 320 pixels
  wHeight: 180 pixels
  dwMinBitRate: 13824000 bps
  dwMaxBitRate: 27648000 bps
  dwMaxVideoFrameBufferSize: 115200 bytes
  dwDefaultFrameInterval: 33.3333 ms
  bFrameIntervalType: 2
    dwFrameInterval(1): 33.3333 ms
    dwFrameInterval(2): 66.6666 ms

Video Streaming Frame Uncompressed Descriptor:
  bLength: 34 bytes
  bDescriptorType: 0x24
  bDescriptorSubType: 0x05
  bFrameIndex: 3
  bmCapabilities: 0x00
  wWidth: 320 pixels
  wHeight: 240 pixels
  dwMinBitRate: 18432000 bps
  dwMaxBitRate: 36864000 bps
  dwMaxVideoFrameBufferSize: 153600 bytes
  dwDefaultFrameInterval: 33.3333 ms
  bFrameIntervalType: 2
    dwFrameInterval(1): 33.3333 ms
    dwFrameInterval(2): 66.6666 ms

Video Streaming Frame Uncompressed Descriptor:
  bLength: 34 bytes
  bDescriptorType: 0x24
  bDescriptorSubType: 0x05
  bFrameIndex: 4
  bmCapabilities: 0x00
  wWidth: 352 pixels
  wHeight: 288 pixels
  dwMinBitRate: 24330240 bps
  dwMaxBitRate: 48660480 bps
  dwMaxVideoFrameBufferSize: 202752 bytes
  dwDefaultFrameInterval: 33.3333 ms
  bFrameIntervalType: 2
    dwFrameInterval(1): 33.3333 ms
    dwFrameInterval(2): 66.6666 ms

Video Streaming Frame Uncompressed Descriptor:
  bLength: 34 bytes
  bDescriptorType: 0x24
  bDescriptorSubType: 0x05
  bFrameIndex: 5
  bmCapabilities: 0x00
  wWidth: 424 pixels
  wHeight: 240 pixels
  dwMinBitRate: 24422400 bps
  dwMaxBitRate: 48844800 bps
  dwMaxVideoFrameBufferSize: 203520 bytes
  dwDefaultFrameInterval: 33.3333 ms
  bFrameIntervalType: 2
    dwFrameInterval(1): 33.3333 ms
    dwFrameInterval(2): 66.6666 ms

Video Streaming Frame Uncompressed Descriptor:
  bLength: 34 bytes
  bDescriptorType: 0x24
  bDescriptorSubType: 0x05
  bFrameIndex: 6
  bmCapabilities: 0x00
  wWidth: 640 pixels
  wHeight: 360 pixels
  dwMinBitRate: 55296000 bps
  dwMaxBitRate: 110592000 bps
  dwMaxVideoFrameBufferSize: 460800 bytes
  dwDefaultFrameInterval: 33.3333 ms
  bFrameIntervalType: 2
    dwFrameInterval(1): 33.3333 ms
    dwFrameInterval(2): 66.6666 ms

Video Streaming Frame Uncompressed Descriptor:
  bLength: 30 bytes
  bDescriptorType: 0x24
  bDescriptorSubType: 0x05
  bFrameIndex: 7
  bmCapabilities: 0x00
  wWidth: 848 pixels
  wHeight: 480 pixels
  dwMinBitRate: 130252800 bps
  dwMaxBitRate: 130252800 bps
  dwMaxVideoFrameBufferSize: 814080 bytes
  dwDefaultFrameInterval: 50 ms
  bFrameIntervalType: 1
    dwFrameInterval(1): 50 ms

Video Streaming Frame Uncompressed Descriptor:
  bLength: 30 bytes
  bDescriptorType: 0x24
  bDescriptorSubType: 0x05
  bFrameIndex: 8
  bmCapabilities: 0x00
  wWidth: 960 pixels
  wHeight: 540 pixels
  dwMinBitRate: 124416000 bps
  dwMaxBitRate: 124416000 bps
  dwMaxVideoFrameBufferSize: 1036800 bytes
  dwDefaultFrameInterval: 66.6666 ms
  bFrameIntervalType: 1
    dwFrameInterval(1): 66.6666 ms

Video Streaming Frame Uncompressed Descriptor:
  bLength: 30 bytes
  bDescriptorType: 0x24
  bDescriptorSubType: 0x05
  bFrameIndex: 9
  bmCapabilities: 0x00
  wWidth: 1280 pixels
  wHeight: 720 pixels
  dwMinBitRate: 147456000 bps
  dwMaxBitRate: 147456000 bps
  dwMaxVideoFrameBufferSize: 1843200 bytes
  dwDefaultFrameInterval: 100 ms
  bFrameIntervalType: 1
    dwFrameInterval(1): 100 ms

Video Streaming Still Image Frame Descriptor:
  bLength: 43 bytes
  bDescriptorType: 0x24
  bDescriptorSubType: 0x03
  bEndpointAddress: 0x00
  bNumImageSizePatterns: 9
    wWidth(1): 640 pixels
    wHeight(1): 480 pixels
    wWidth(2): 320 pixels
    wHeight(2): 180 pixels
    wWidth(3): 320 pixels
    wHeight(3): 240 pixels
    wWidth(4): 352 pixels
    wHeight(4): 288 pixels
    wWidth(5): 424 pixels
    wHeight(5): 240 pixels
    wWidth(6): 640 pixels
    wHeight(6): 360 pixels
    wWidth(7): 848 pixels
    wHeight(7): 480 pixels
    wWidth(8): 960 pixels
    wHeight(8): 540 pixels
    wWidth(9): 1280 pixels
    wHeight(9): 720 pixels
  bNumCompressionPatterns: 1
    bCompression(1): 1

Video Streaming Color Matching Descriptor:
  bLength: 6 bytes
  bDescriptorType: 0x24
  bDescriptorSubType: 0x0D
  bColorPrimaries: 1
  bTransferCharacteristics: 1
  bMatrixCoefficients: 4

Video Streaming Format MJPEG Descriptor:
  bLength: 11 bytes
  bDescriptorType: 0x24
  bDescriptorSubType: 0x06
  bFormatIndex: 2
  bNumFrameDescriptors: 9
  bmFlags: 0x01
  bDefaultFrameIndex: 1
  bAspectRatioX: 0
  bAspectRatioY: 0
  bmInterlaceFlags: 0x00
  bCopyProtect: 0

Video Streaming Frame MJPEG Descriptor:
  bLength: 34 bytes
  bDescriptorType: 0x24
  bDescriptorSubType: 0x07
  bFrameIndex: 1
  bmCapabilities: 0x00
  wWidth: 640 pixels
  wHeight: 480 pixels
  dwMinBitRate: 73728000 bps
  dwMaxBitRate: 147456000 bps
  dwMaxVideoFrameBufferSize: 614400 bytes
  dwDefaultFrameInterval: 33.3333 ms
  bFrameIntervalType: 2
    dwFrameInterval(1): 33.3333 ms
    dwFrameInterval(2): 66.6666 ms

Video Streaming Frame MJPEG Descriptor:
  bLength: 34 bytes
  bDescriptorType: 0x24
  bDescriptorSubType: 0x07
  bFrameIndex: 2
  bmCapabilities: 0x00
  wWidth: 320 pixels
  wHeight: 180 pixels
  dwMinBitRate: 13824000 bps
  dwMaxBitRate: 27648000 bps
  dwMaxVideoFrameBufferSize: 115200 bytes
  dwDefaultFrameInterval: 33.3333 ms
  bFrameIntervalType: 2
    dwFrameInterval(1): 33.3333 ms
    dwFrameInterval(2): 66.6666 ms

Video Streaming Frame MJPEG Descriptor:
  bLength: 34 bytes
  bDescriptorType: 0x24
  bDescriptorSubType: 0x07
  bFrameIndex: 3
  bmCapabilities: 0x00
  wWidth: 320 pixels
  wHeight: 240 pixels
  dwMinBitRate: 18432000 bps
  dwMaxBitRate: 36864000 bps
  dwMaxVideoFrameBufferSize: 153600 bytes
  dwDefaultFrameInterval: 33.3333 ms
  bFrameIntervalType: 2
    dwFrameInterval(1): 33.3333 ms
    dwFrameInterval(2): 66.6666 ms

Video Streaming Frame MJPEG Descriptor:
  bLength: 34 bytes
  bDescriptorType: 0x24
  bDescriptorSubType: 0x07
  bFrameIndex: 4
  bmCapabilities: 0x00
  wWidth: 352 pixels
  wHeight: 288 pixels
  dwMinBitRate: 24330240 bps
  dwMaxBitRate: 48660480 bps
  dwMaxVideoFrameBufferSize: 202752 bytes
  dwDefaultFrameInterval: 33.3333 ms
  bFrameIntervalType: 2
    dwFrameInterval(1): 33.3333 ms
    dwFrameInterval(2): 66.6666 ms

Video Streaming Frame MJPEG Descriptor:
  bLength: 34 bytes
  bDescriptorType: 0x24
  bDescriptorSubType: 0x07
  bFrameIndex: 5
  bmCapabilities: 0x00
  wWidth: 424 pixels
  wHeight: 240 pixels
  dwMinBitRate: 24422400 bps
  dwMaxBitRate: 48844800 bps
  dwMaxVideoFrameBufferSize: 203520 bytes
  dwDefaultFrameInterval: 33.3333 ms
  bFrameIntervalType: 2
    dwFrameInterval(1): 33.3333 ms
    dwFrameInterval(2): 66.6666 ms

Video Streaming Frame MJPEG Descriptor:
  bLength: 34 bytes
  bDescriptorType: 0x24
  bDescriptorSubType: 0x07
  bFrameIndex: 6
  bmCapabilities: 0x00
  wWidth: 640 pixels
  wHeight: 360 pixels
  dwMinBitRate: 55296000 bps
  dwMaxBitRate: 110592000 bps
  dwMaxVideoFrameBufferSize: 460800 bytes
  dwDefaultFrameInterval: 33.3333 ms
  bFrameIntervalType: 2
    dwFrameInterval(1): 33.3333 ms
    dwFrameInterval(2): 66.6666 ms

Video Streaming Frame MJPEG Descriptor:
  bLength: 34 bytes
  bDescriptorType: 0x24
  bDescriptorSubType: 0x07
  bFrameIndex: 7
  bmCapabilities: 0x00
  wWidth: 848 pixels
  wHeight: 480 pixels
  dwMinBitRate: 97689600 bps
  dwMaxBitRate: 195379200 bps
  dwMaxVideoFrameBufferSize: 814080 bytes
  dwDefaultFrameInterval: 33.3333 ms
  bFrameIntervalType: 2
    dwFrameInterval(1): 33.3333 ms
    dwFrameInterval(2): 66.6666 ms

Video Streaming Frame MJPEG Descriptor:
  bLength: 34 bytes
  bDescriptorType: 0x24
  bDescriptorSubType: 0x07
  bFrameIndex: 8
  bmCapabilities: 0x00
  wWidth: 960 pixels
  wHeight: 540 pixels
  dwMinBitRate: 124416000 bps
  dwMaxBitRate: 248832000 bps
  dwMaxVideoFrameBufferSize: 1036800 bytes
  dwDefaultFrameInterval: 33.3333 ms
  bFrameIntervalType: 2
    dwFrameInterval(1): 33.3333 ms
    dwFrameInterval(2): 66.6666 ms

Video Streaming Frame MJPEG Descriptor:
  bLength: 34 bytes
  bDescriptorType: 0x24
  bDescriptorSubType: 0x07
  bFrameIndex: 9
  bmCapabilities: 0x00
  wWidth: 1280 pixels
  wHeight: 720 pixels
  dwMinBitRate: 221184000 bps
  dwMaxBitRate: 442368000 bps
  dwMaxVideoFrameBufferSize: 1843200 bytes
  dwDefaultFrameInterval: 33.3333 ms
  bFrameIntervalType: 2
    dwFrameInterval(1): 33.3333 ms
    dwFrameInterval(2): 66.6666 ms

Video Streaming Still Image Frame Descriptor:
  bLength: 46 bytes
  bDescriptorType: 0x24
  bDescriptorSubType: 0x03
  bEndpointAddress: 0x00
  bNumImageSizePatterns: 9
    wWidth(1): 640 pixels
    wHeight(1): 480 pixels
    wWidth(2): 320 pixels
    wHeight(2): 180 pixels
    wWidth(3): 320 pixels
    wHeight(3): 240 pixels
    wWidth(4): 352 pixels
    wHeight(4): 288 pixels
    wWidth(5): 424 pixels
    wHeight(5): 240 pixels
    wWidth(6): 640 pixels
    wHeight(6): 360 pixels
    wWidth(7): 848 pixels
    wHeight(7): 480 pixels
    wWidth(8): 960 pixels
    wHeight(8): 540 pixels
    wWidth(9): 1280 pixels
    wHeight(9): 720 pixels
  bNumCompressionPatterns: 4
    bCompression(1): 1
    bCompression(2): 5
    bCompression(3): 10
    bCompression(4): 20

Video Streaming Color Matching Descriptor:
  bLength: 6 bytes
  bDescriptorType: 0x24
  bDescriptorSubType: 0x0D
  bColorPrimaries: 1
  bTransferCharacteristics: 1
  bMatrixCoefficients: 4

Interface Descriptor:
  bLength: 9 bytes
  bDescriptorType: 0x04
  bInterfaceNumber: 1
  bAlternateSetting: 1
  bNumEndpoints: 1
  bInterfaceClass: 0x0E Video
  bInterfaceSubClass: 0x02 Video Streaming
  bInterfaceProtocol: 0x00 
  iInterface: 0

Endpoint Descriptor:
  bLength: 7 bytes
  bDescriptorType: 0x05
  bEndpointAddress: 0x81
  bmAttributes: 0x05 Isochronous
  wMaxPacketSize: 192 bytes
  bInterval: 1

Interface Descriptor:
  bLength: 9 bytes
  bDescriptorType: 0x04
  bInterfaceNumber: 1
  bAlternateSetting: 2
  bNumEndpoints: 1
  bInterfaceClass: 0x0E Video
  bInterfaceSubClass: 0x02 Video Streaming
  bInterfaceProtocol: 0x00 
  iInterface: 0

Endpoint Descriptor:
  bLength: 7 bytes
  bDescriptorType: 0x05
  bEndpointAddress: 0x81
  bmAttributes: 0x05 Isochronous
  wMaxPacketSize: 384 bytes
  bInterval: 1

Interface Descriptor:
  bLength: 9 bytes
  bDescriptorType: 0x04
  bInterfaceNumber: 1
  bAlternateSetting: 3
  bNumEndpoints: 1
  bInterfaceClass: 0x0E Video
  bInterfaceSubClass: 0x02 Video Streaming
  bInterfaceProtocol: 0x00 
  iInterface: 0

Endpoint Descriptor:
  bLength: 7 bytes
  bDescriptorType: 0x05
  bEndpointAddress: 0x81
  bmAttributes: 0x05 Isochronous
  wMaxPacketSize: 512 bytes
  bInterval: 1

Interface Descriptor:
  bLength: 9 bytes
  bDescriptorType: 0x04
  bInterfaceNumber: 1
  bAlternateSetting: 4
  bNumEndpoints: 1
  bInterfaceClass: 0x0E Video
  bInterfaceSubClass: 0x02 Video Streaming
  bInterfaceProtocol: 0x00 
  iInterface: 0

Endpoint Descriptor:
  bLength: 7 bytes
  bDescriptorType: 0x05
  bEndpointAddress: 0x81
  bmAttributes: 0x05 Isochronous
  wMaxPacketSize: 640 bytes
  bInterval: 1

Interface Descriptor:
  bLength: 9 bytes
  bDescriptorType: 0x04
  bInterfaceNumber: 1
  bAlternateSetting: 5
  bNumEndpoints: 1
  bInterfaceClass: 0x0E Video
  bInterfaceSubClass: 0x02 Video Streaming
  bInterfaceProtocol: 0x00 
  iInterface: 0

Endpoint Descriptor:
  bLength: 7 bytes
  bDescriptorType: 0x05
  bEndpointAddress: 0x81
  bmAttributes: 0x05 Isochronous
  wMaxPacketSize: 800 bytes
  bInterval: 1

Interface Descriptor:
  bLength: 9 bytes
  bDescriptorType: 0x04
  bInterfaceNumber: 1
  bAlternateSetting: 6
  bNumEndpoints: 1
  bInterfaceClass: 0x0E Video
  bInterfaceSubClass: 0x02 Video Streaming
  bInterfaceProtocol: 0x00 
  iInterface: 0

Endpoint Descriptor:
  bLength: 7 bytes
  bDescriptorType: 0x05
  bEndpointAddress: 0x81
  bmAttributes: 0x05 Isochronous
  wMaxPacketSize: 944 bytes
  bInterval: 1

Interface Descriptor:
  bLength: 9 bytes
  bDescriptorType: 0x04
  bInterfaceNumber: 1
  bAlternateSetting: 7
  bNumEndpoints: 1
  bInterfaceClass: 0x0E Video
  bInterfaceSubClass: 0x02 Video Streaming
  bInterfaceProtocol: 0x00 
  iInterface: 0

Endpoint Descriptor:
  bLength: 7 bytes
  bDescriptorType: 0x05
  bEndpointAddress: 0x81
  bmAttributes: 0x05 Isochronous
  wMaxPacketSize: 2x 640 bytes
  bInterval: 1

Interface Descriptor:
  bLength: 9 bytes
  bDescriptorType: 0x04
  bInterfaceNumber: 1
  bAlternateSetting: 8
  bNumEndpoints: 1
  bInterfaceClass: 0x0E Video
  bInterfaceSubClass: 0x02 Video Streaming
  bInterfaceProtocol: 0x00 
  iInterface: 0

Endpoint Descriptor:
  bLength: 7 bytes
  bDescriptorType: 0x05
  bEndpointAddress: 0x81
  bmAttributes: 0x05 Isochronous
  wMaxPacketSize: 2x 800 bytes
  bInterval: 1

Interface Descriptor:
  bLength: 9 bytes
  bDescriptorType: 0x04
  bInterfaceNumber: 1
  bAlternateSetting: 9
  bNumEndpoints: 1
  bInterfaceClass: 0x0E Video
  bInterfaceSubClass: 0x02 Video Streaming
  bInterfaceProtocol: 0x00 
  iInterface: 0

Endpoint Descriptor:
  bLength: 7 bytes
  bDescriptorType: 0x05
  bEndpointAddress: 0x81
  bmAttributes: 0x05 Isochronous
  wMaxPacketSize: 2x 992 bytes
  bInterval: 1

Interface Descriptor:
  bLength: 9 bytes
  bDescriptorType: 0x04
  bInterfaceNumber: 1
  bAlternateSetting: 10
  bNumEndpoints: 1
  bInterfaceClass: 0x0E Video
  bInterfaceSubClass: 0x02 Video Streaming
  bInterfaceProtocol: 0x00 
  iInterface: 0

Endpoint Descriptor:
  bLength: 7 bytes
  bDescriptorType: 0x05
  bEndpointAddress: 0x81
  bmAttributes: 0x05 Isochronous
  wMaxPacketSize: 3x 960 bytes
  bInterval: 1

Interface Descriptor:
  bLength: 9 bytes
  bDescriptorType: 0x04
  bInterfaceNumber: 1
  bAlternateSetting: 11
  bNumEndpoints: 1
  bInterfaceClass: 0x0E Video
  bInterfaceSubClass: 0x02 Video Streaming
  bInterfaceProtocol: 0x00 
  iInterface: 0

Endpoint Descriptor:
  bLength: 7 bytes
  bDescriptorType: 0x05
  bEndpointAddress: 0x81
  bmAttributes: 0x05 Isochronous
  wMaxPacketSize: 3x 1020 bytes
  bInterval: 1
There are 11 alternate settings for the isochronous transfers and your camera can work a.o. at 640x480 and 320x240 resolution with a refresh rate of 30 or 15 frames per second. Currently my programs select by default the highest bandwidth (alternate setting 11) and the highest refresh rate. May be you can get it to work by selecting a smaller alternate setting.

I suggest you try and use the 320x240 version of uvcview.exe first with the /i1 parameter i.e. uvcview /i1 to see what happens. For the 320x240 version of uvcview.exe I guess that uvcview /i4 probably will be sufficient.

Greetings to Shanghai,
Wim

User avatar
MikeK
Posts: 260
Joined: Mon 23. Dec 2013, 13:51
Location: Potsdam

Post by MikeK » Thu 17. Mar 2016, 00:42

Hi Wim,

Thanks for the analysis of the provided data. You are right, with the i1 and i4 parameters the built in camera runs now for several minutes without freeze.
Thank you so much for your great work.

Greetings from Shanghai,
Mike

User avatar
Wimpie
Posts: 54
Joined: Sat 10. Jan 2015, 21:58
Location: Uithoorn

Post by Wimpie » Sun 20. Mar 2016, 16:24

Hi Mike,

I have updated uvcscope to accept the /fN parameter. Without this parameter your camera is set to operate as before using its default Frame Interval (at 30 fps). With /f1 it is set to operate using its 1st discrete Frame Interval (30 fps) and with /f2 it is set to operate using its 2nd discrete Frame Interval (15 fps).

Hopefully "uvcview /f2" works for you.

Greeting to Shanghai,
Wim

User avatar
Wimpie
Posts: 54
Joined: Sat 10. Jan 2015, 21:58
Location: Uithoorn

Post by Wimpie » Fri 9. Sep 2016, 15:49

Stichting Voice International has donated me a refurbished DELL LATITUDE E6500 laptop which enables me to develop and test my OS/2 software in an SMP environment.

I have been busy the last couple of weeks trying to solve the webcam timeout issue when running on an SMP system. I had to make a small change in the usbehcd.sys device driver. Moreover I had to modify my webcam programs to avoid a trap in usbehcd.sys upon exiting these. Now I am able to run the laptop internal webcam as well as the Logitech C250 webcam while running eComStation 2.0 with 2 CPU's active and I did not encounter any timeout nor traps anymore. I have attached uvcsmp.zip for any volunteers to try and test on their systems.
uvcsmp.zip
Du hast keine ausreichende Berechtigung, um die Dateianhänge dieses Beitrags anzusehen.

User avatar
MikeK
Posts: 260
Joined: Mon 23. Dec 2013, 13:51
Location: Potsdam

Post by MikeK » Sat 10. Sep 2016, 10:12

Hi Wim,

Just tried your new video driver on my X250 with great success. It runs without any freeze for several minutes. I can change the view window size big & small without any problem. It can be closed and re-startet without any negative impact.
So let me say: Excellent work - Thanks.

Greetings from Taipei,
Mike

User avatar
Wimpie
Posts: 54
Joined: Sat 10. Jan 2015, 21:58
Location: Uithoorn

Post by Wimpie » Sat 10. Sep 2016, 18:31

Hi Mike,

Thank you for your report. I would like to know what system and what kernel you are using.

I am using eComStation 2.0 ENUS with the following kernel:

Code: Select all

[H:\]bldlevel os2krnl
Build Level Display Facility Version 6.10.480 Oct  6 2000
(C) Copyright IBM Corporation 1993-2000
Signature:       @#IBM:14.104a#@_SMP  IBM OS/2 Kernel
Vendor:          IBM
Revision:        14.104
File Version:    14.104
Description:     _SMP  IBM OS/2 Kernel
Greetings to Taipei,
Wim

P.S. Are you a Globetrotter?

User avatar
Sigurd
Posts: 769
Joined: Mon 23. Dec 2013, 08:35

Post by Sigurd » Sun 11. Sep 2016, 13:25

Hi Wim,

works here great as well!

Using my customized Warp 4.52 with ACPI 3.23.02 and Kernel 14.106SMP.
kernel.png
One question regarding USBEHCD.SYS - is yours compatible/based on AN or Lars Erdmans drivers? I am using your ehcd driver and all the other usb stuff is Lars Erdmans 10.203. Do you suggest or recommend a special version?

Thanks again

Sigurd
Du hast keine ausreichende Berechtigung, um die Dateianhänge dieses Beitrags anzusehen.
OS/2 versus Hardware - Maximum Warp!

User avatar
MikeK
Posts: 260
Joined: Mon 23. Dec 2013, 13:51
Location: Potsdam

Post by MikeK » Sun 11. Sep 2016, 15:21

Hi Wim,

I am running an eCS2.1 DE on my X250 with QSLoader to get at least 3 GB RAM available.
This is my Kernel:
FILE0002.jpg
USB: 10.207 from Lars, with your USBEHCD.SYS.

By the way, I would not call me a Globetrotter, even if I am now in Tokyo. It's all business and not for leasure. This week I have had a show in Taipei and next week I will visit customers in Southern Japan. The week after next week I will be back in Potsdam. And it will be probably my last long and far away trip this year. I still hope I can manage it to come to Cologne in November to get the promised beer from Sigurd.

Greetings from Tokio,
Mike

12.09.2016: USB-Version korrigiert - Mike
Du hast keine ausreichende Berechtigung, um die Dateianhänge dieses Beitrags anzusehen.
Zuletzt geändert von MikeK am Mon 12. Sep 2016, 15:40, insgesamt 1-mal geändert.

User avatar
wilfried
Posts: 646
Joined: Mon 23. Dec 2013, 18:26
Location: Barsinghausen

Post by wilfried » Sun 11. Sep 2016, 15:54

Hi Wim,

UVCSMP works here fine too!!!
T60 Core2Duo 1,8GHz 3GB Ram, ecs 2.2 beta ii with ibm kernel and phoenix kernel
CPU 0 IRQ load: 2%
CPU 0 user load: 16%
CPU 1 user load: 33%

User avatar
Wimpie
Posts: 54
Joined: Sat 10. Jan 2015, 21:58
Location: Uithoorn

Post by Wimpie » Sun 11. Sep 2016, 20:25

Hi Sigurd,
One question regarding USBEHCD.SYS - is yours compatible/based on AN or Lars Erdmans drivers? I am using your ehcd driver and all the other usb stuff is Lars Erdmans 10.203. Do you suggest or recommend a special version?
I modified Lars' latest source code i.e. the source code of his 10.207 USBEHCD.SYS device driver as he maintains it in the Netlabs USB repository. Therefore it is compatible with his usbdrv207.zip package only. It is not a good idea to mix drivers like you did. There may be incompatibilities that will suddenly manifest as strange unexplainable errors later on and it will render troubleshooting impossible. My recommendation is always to use the latest version.

Regards,
Wim