Show Posts

This section allows you to view all posts made by this member. Note that you can only see posts made in areas you currently have access to.


Messages - Wim Brul

Pages: 1 ... 15 16 [17] 18 19 20
241
Hardware / Re: Webcam Support for OS/2 and eCS!!
« on: August 11, 2014, 11:29:54 am »
Quote
[00000280] Obtain Thread error!

Trying now on my W500.  I consistently get this error popup after about 3 seconds, using either uvcview or weblook. The camera light turns on but I get no picture (except the very first time I tried it, when I got a single frozen frame).

Info from USBDock, in case it's useful:
Code: [Select]
USB Dock: Lenovo Integrated Camera (Chicony)
Identifier: 17ef:4807

<<< Device Description >>>
Type :01
USB Rev :200
Class : Miscellaneous Device (0xEF)
Subclass : Common Class (0x02)
Protocol : Interface Association (0x01)
Max. packetsize :64
Vendor  ID :0x17EF
Product ID :0x4807
Device Release# :3134
Number of Configurations:1

Configuration: 0
Length : 851
ConfigurationValue : 1
Attributes : 0x80
MaxPower : 0x32
NumInterfaces : 2
USB_DT_UNKNOWN_FOR_ME

Interface: 0
AlternateSetting : 0
Class : Video (0x0E)
SubClass : Video Control (0x01)
Protocol : Unknown (0x00)
Endpoints : 1
USB_DT_UNKNOWN_FOR_ME
USB_DT_UNKNOWN_FOR_ME
USB_DT_UNKNOWN_FOR_ME
USB_DT_UNKNOWN_FOR_ME

Endpoint: 0
Address : 0x81
Attributes : 0x03 (Irq)
MaxPacketSize : 64
Interval : 16
USB_DT_UNKNOWN_FOR_ME

Interface: 1
AlternateSetting : 0
Class : Video (0x0E)
SubClass : Video Streaming (0x02)
Protocol : Unknown (0x00)
Endpoints : 0
USB_DT_UNKNOWN_FOR_ME
USB_DT_UNKNOWN_FOR_ME
USB_DT_UNKNOWN_FOR_ME
USB_DT_UNKNOWN_FOR_ME
USB_DT_UNKNOWN_FOR_ME
USB_DT_UNKNOWN_FOR_ME
USB_DT_UNKNOWN_FOR_ME
USB_DT_UNKNOWN_FOR_ME
USB_DT_UNKNOWN_FOR_ME
USB_DT_UNKNOWN_FOR_ME
USB_DT_UNKNOWN_FOR_ME
USB_DT_UNKNOWN_FOR_ME
USB_DT_UNKNOWN_FOR_ME
USB_DT_UNKNOWN_FOR_ME
USB_DT_UNKNOWN_FOR_ME
USB_DT_UNKNOWN_FOR_ME
USB_DT_UNKNOWN_FOR_ME

Interface: 1
AlternateSetting : 1
Class : Video (0x0E)
SubClass : Video Streaming (0x02)
Protocol : Unknown (0x00)
Endpoints : 1

Endpoint: 0
Address : 0x82
Attributes : 0x05 (Iso)
MaxPacketSize : 5076
Interval : 1

Interface: 1
AlternateSetting : 2
Class : Video (0x0E)
SubClass : Video Streaming (0x02)
Protocol : Unknown (0x00)
Endpoints : 1

Endpoint: 0
Address : 0x82
Attributes : 0x05 (Iso)
MaxPacketSize : 3016
Interval : 1

Interface: 1
AlternateSetting : 3
Class : Video (0x0E)
SubClass : Video Streaming (0x02)
Protocol : Unknown (0x00)
Endpoints : 1

Endpoint: 0
Address : 0x82
Attributes : 0x05 (Iso)
MaxPacketSize : 5120
Interval : 1

Interface: 1
AlternateSetting : 4
Class : Video (0x0E)
SubClass : Video Streaming (0x02)
Protocol : Unknown (0x00)
Endpoints : 1

Endpoint: 0
Address : 0x82
Attributes : 0x05 (Iso)
MaxPacketSize : 5120
Interval : 1

Interface: 1
AlternateSetting : 5
Class : Video (0x0E)
SubClass : Video Streaming (0x02)
Protocol : Unknown (0x00)
Endpoints : 1

Endpoint: 0
Address : 0x82
Attributes : 0x05 (Iso)
MaxPacketSize : 5100
Interval : 1

Interface: 1
AlternateSetting : 6
Class : Video (0x0E)
SubClass : Video Streaming (0x02)
Protocol : Unknown (0x00)
Endpoints : 1

Endpoint: 0
Address : 0x82
Attributes : 0x05 (Iso)
MaxPacketSize : 5120
Interval : 1

Interface: 1
AlternateSetting : 7
Class : Video (0x0E)
SubClass : Video Streaming (0x02)
Protocol : Unknown (0x00)
Endpoints : 1

Endpoint: 0
Address : 0x82
Attributes : 0x05 (Iso)
MaxPacketSize : 5100
Interval : 1

Interface: 1
AlternateSetting : 8
Class : Video (0x0E)
SubClass : Video Streaming (0x02)
Protocol : Unknown (0x00)
Endpoints : 1

Endpoint: 0
Address : 0x82
Attributes : 0x05 (Iso)
MaxPacketSize : 5052
Interval : 1

Interface: 1
AlternateSetting : 9
Class : Video (0x0E)
SubClass : Video Streaming (0x02)
Protocol : Unknown (0x00)
Endpoints : 1

Endpoint: 0
Address : 0x82
Attributes : 0x05 (Iso)
MaxPacketSize : 840
Interval : 1

Interface: 1
AlternateSetting : 10
Class : Video (0x0E)
SubClass : Video Streaming (0x02)
Protocol : Unknown (0x00)
Endpoints : 1

Endpoint: 0
Address : 0x82
Attributes : 0x05 (Iso)
MaxPacketSize : 5120
Interval : 1

Interface: 1
AlternateSetting : 11
Class : Video (0x0E)
SubClass : Video Streaming (0x02)
Protocol : Unknown (0x00)
Endpoints : 1

Endpoint: 0
Address : 0x82
Attributes : 0x05 (Iso)
MaxPacketSize : 5120
Interval : 1

Interface: 1
AlternateSetting : 12
Class : Video (0x0E)
SubClass : Video Streaming (0x02)
Protocol : Unknown (0x00)
Endpoints : 1

Endpoint: 0
Address : 0x82
Attributes : 0x05 (Iso)
MaxPacketSize : 5120
Interval : 1

Interface: 1
AlternateSetting : 13
Class : Video (0x0E)
SubClass : Video Streaming (0x02)
Protocol : Unknown (0x00)
Endpoints : 1

Endpoint: 0
Address : 0x82
Attributes : 0x05 (Iso)
MaxPacketSize : 5120
Interval : 1

Interface: 1
AlternateSetting : 14
Class : Video (0x0E)
SubClass : Video Streaming (0x02)
Protocol : Unknown (0x00)
Endpoints : 1

Endpoint: 0
Address : 0x82
Attributes : 0x05 (Iso)
MaxPacketSize : 5120
Interval : 1


This webcam has a strange ??? range of alternate interface settings. Most webcams start with the lowest bandwidth for the lowest setting and end with the highest bandwidth for the highest setting. It seems that this camera has one specific alternate interface setting for each of the reported video stream format frames.

With the 640x480 programs you could try e.g. "uvcview /i8" or "uvcview /i1 /u"
With the 320x240 programs you could try e.g. "uvcview /i9" or "uvcview /i2 /u"

242
Programming / Re: GitHub Repository - Public OS/2 Source Code - Feedback
« on: August 09, 2014, 10:17:41 am »
Hi

I'm checking autonic.sys, but I'm not sure if the file contains the source code for the driver, or only the source code for the tool.

http://hobbes.nmsu.edu/h-viewer.php?dir=/pub/os2/system/drivers&file=autonic.zip

Can someone please give me a hint?


Regards

Hi Martin,

The file autonic.zip contains the source code of both autonic.sys (the device driver) and snifpci.exe (the program that it executes).

Regards, Wim.

243
Hardware / Re: Webcam Support for OS/2 and eCS!!
« on: August 08, 2014, 03:45:03 pm »
I have concluded :) the development and testing of my Webcam Support for OS/2 (and eComStation).  I have put it as WebSee10.zip and its source code as WebSee10s.zip both on my website and on hobbes. I have also put the latest version of my USB Resource Manager as usbres01.zip there.

I like to thank everyone involved.
 

244
Hardware / Re: Webcam Support for OS/2 and eCS!!
« on: July 28, 2014, 07:02:47 pm »
Hi Wim

after ~ half an hour of running UvcView   I have got     [00000280] Obtain Thread error!

Hi OS4User,

I just updated WebSeeBeta1.zip on my Webcam Support web page. But alas I did not do anything yet to tackle this timeout problem. From now on I will try to refrain from updating WebSeeBeta1.zip to support more webcams and to focus on solving this timeout problem. Right now I have no idea why these timeouts occur nor where I should start looking. Perhaps I should start tracing the usbehcd.sys host controller driver. Will take some time to set my mind to it.

Regards, Wim.

Hi Wim

I have just tested them, working OK.
But the previous error message still appeared. According to my observations, it happens when a window with a picture is in the background.

Hi OS4User,

I did some tracing and I found a semaphore error in usbresmg.sys regarding the alloc/free of iorbs.
The fix is available for you as http://home.hccnet.nl/w.m.brul/uvcvideo/OS4User.zip

Wim.

245
Hardware / Re: Webcam Support for OS/2 and eCS!!
« on: July 25, 2014, 12:16:02 pm »
Hi Wim

after ~ half an hour of running UvcView   I have got     [00000280] Obtain Thread error!

Hi OS4User,

I just updated WebSeeBeta1.zip on my Webcam Support web page. But alas I did not do anything yet to tackle this timeout problem. From now on I will try to refrain from updating WebSeeBeta1.zip to support more webcams and to focus on solving this timeout problem. Right now I have no idea why these timeouts occur nor where I should start looking. Perhaps I should start tracing the usbehcd.sys host controller driver. Will take some time to set my mind to it.

Regards, Wim.

246
Hardware / Re: Webcam Support for OS/2 and eCS!!
« on: July 25, 2014, 11:55:23 am »
I have again updated WebSeeBeta1.zip on my Webcam Support web page.

http://home.hccnet.nl/w.m.brul/uvcvideo/index.html

Provides now 2 sets of test programs for UVC compliant webcams.

Use either the 640x480 set or the 320x240 set.

247
Hardware / Re: Webcam Support for OS/2 and eCS!!
« on: July 21, 2014, 10:28:57 am »

Unfortunately USB Device Monitor Version 0.9.7 cannot be used because it provides incorrect and incomplete data. So I wrote my own :) uvc webcam compound descriptor retrieval utility in rexx. Download http://home.hccnet.nl/w.m.brul/uvcvideo/uvcprobe.zip and run uvcprobe.cmd and it will create uvcprobe.bin containing the descriptors.

It would be nice when this or any other tool could be fixed to make it usable again. Now it gets interesting, because its nice that REXX is in place now :) Getting the data however seems to be a hard task.. I get the following output when running the tool:

C:\TOOLS\USBCAM\RXUSB.DLL
Found 3 usb devices.
FFEA UsbGetDeviceReport failure!

I created rxusb.dll in order to be able test my usbcalls.dll and usbresmg.sys device driver.

It appears that your installation does not use my usbresmg.sys driver. You have to recheck your config.sys file again to see what file the device driver statement points to and to verify that it is my usbresmg.sys driver.

Once your installation is correct, I expect both lsusb and uvcprobe to be working. May be ;) your webcam too.

248
Hardware / Re: Webcam Support for OS/2 and eCS!!
« on: July 20, 2014, 06:19:20 pm »
I will send the output from the other usb tool, maybe it will tell what is required.

Unfortunately USB Device Monitor Version 0.9.7 cannot be used because it provides incorrect and incomplete data. So I wrote my own :) uvc webcam compound descriptor retrieval utility in rexx. Download http://home.hccnet.nl/w.m.brul/uvcvideo/uvcprobe.zip and run uvcprobe.cmd and it will create uvcprobe.bin containing the descriptors.

249
Hardware / Re: Webcam Support for OS/2 and eCS!!
« on: July 20, 2014, 06:05:49 pm »
Hi Greggory,

P.S. I am almost done with decoding your mjpg video.

http://home.hccnet.nl/w.m.brul/uvcvideo/greggory.zip

contains webview.exe which handles mjpg too. Please try.

Wim.

250
Hardware / Re: Webcam Support for OS/2 and eCS!!
« on: July 18, 2014, 02:42:08 pm »

It seems that my programs did not find a suitable endpoint descriptor.
Start USBDock /bin and attach your camera's .BIN file for me to inspect.

this system doesn't have the USBDock installed, is there a way to get these data from the USB Monitor tool?

Use the output of lsusb from Paul Smedley for your camera.

https://dl.dropboxusercontent.com/u/76425158/lsusb-20130526.zip

1. when I typed lsusb I got

Bus 001 Device 001: ID 046d:0804 Logitech, Inc. Webcam C250

2. When I typed lsusb -d 046d:0804 -v > 046d0804.txt

I got the descriptors in the created 046d0804.txt file.

251
Hardware / Re: Webcam Support for OS/2 and eCS!!
« on: July 18, 2014, 08:45:00 am »
Quote
Wow, it worked with uncview /u and weblook /u and a great resolution too. How do you test different resolutions and I'll report back on that. Or is it only 320x240 and 640x480 display modes.

It is just 640x480 video with 320x240 and 640x480 display modes.

252
Hardware / Re: Webcam Support for OS/2 and eCS!!
« on: July 18, 2014, 08:33:43 am »

Thanks for the update. Here  both webview and uncview report a frame size error:

started.
[0104241B]
[0105241E]
YUYV
[00000000]
frame size error.
stopped.

It seems that my programs did not find a suitable endpoint descriptor.
Start USBDock /bin and attach your camera's .BIN file for me to inspect.

253
Hardware / Re: Webcam Support for OS/2 and eCS!!
« on: July 17, 2014, 07:59:07 pm »
I have replaced WebSeeBeta1.zip on my website :) and updated http://home.hccnet.nl/w.m.brul/uvcvideo/index.html

NOTE: I did not spend time to solve device driver and multiple cpu issues. I first ;) want to iron out these programs.

Tested the new beta. I get a part of a image, hopefully it will be compatible.

http://os2notes.com/tmp/tests.zip


Thanks,

Greggory

Hi Greggory, thanks for testing.

There is no need anymore to test with uvcview /x but you might like to try uvcview /u to watch yuyv video. Report if that works for you. 

It seems that you used webview /u whereas you needed to use weblook /u to obtain yuyv video. Please read the description on my web page for weblook and webview. Could you do that yuyv test all over again?

Wim

P.S. I am almost done with decoding your mjpg video. See greggory.jpg attached.

254
Hardware / Re: Webcam Support for OS/2 and eCS!!
« on: July 15, 2014, 04:41:22 pm »
Thanks Wim! There is a slight change in behavior (perhaps intentional) with UvcView here. When the image freezes, there is a popup that says:

[00000280] Obtain thread error!

No change with Weblook/Webview.

Yes David, this is intentional. On DosWaitEventSem where uvcview or weblook wait for a filled iso buffer from the device driver I changed the timeout from indefinitely to 3 seconds. This way I can tell that the freeze is there. But I have seen other freezes. Once it helped plugging in a usb mouse. I did this because both mouse and webcam use the asynchronous schedule of the host controller driver. But may be this is too much information. One tries.

255
Hardware / Re: Webcam Support for OS/2 and eCS!!
« on: July 15, 2014, 11:45:11 am »
I have replaced WebSeeBeta1.zip on my website :) and updated http://home.hccnet.nl/w.m.brul/uvcvideo/index.html

NOTE: I did not spend time to solve device driver and multiple cpu issues. I first ;) want to iron out these programs.

Pages: 1 ... 15 16 [17] 18 19 20