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
241
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.

242
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.

243
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.

244
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.

245
Hardware / Re: Webcam Support for OS/2 and eCS!!
« on: July 14, 2014, 09:07:05 am »
Hi Greggory,

Hi Wim,

I was wondering if you could support the Logitech Webcam C270 !

Here's some output for it:

1) Weblook output:

started.
[0104241B]
[01052432]
[0206240B]
[01072432]
MJPG
[00000BF4]
[00000010]
On-line. Use Ctrl+Break to end.
[open isochronous]

Looks good to me.
 
Quote
2) webview.exe

Opens with alot of beebs, but not black screen see attached

A lot of beeps means that the mjpg decoder in webview.exe encountered a lot of invalid huffman codes. May be this camera uses its own specific set of huffman codes. If this is true than you are out of luck because I cannot support that. Take a TestShot so I can inspect the webview.raw file.  But there is hope. If your webcam supports yuyv video too then I could modify weblook.exe to use yuyv instead. An additional parameter /u could enable that feature.

Quote
3) uvcview.exe

Dialog - Device driver error open.
Thank you so much for your hard work !

Greggory

Both weblook.exe and uvcview.exe operate your webcam. They cannot do that at the same time. Hence the open error.

I am currently working on a full replacement of WebSeeBeta1.zip that contains all fixes up to and including the ones required for Mike and os4user. Now I will add the /u parameter to weblook.exe and to uvcview.exe too.

Regards, Wim.     

246
Hardware / Re: Webcam Support for OS/2 and eCS!!
« on: July 13, 2014, 06:30:23 pm »
picture has some defect  -  see attachment

Your webcam supplies darker Y values than the standard threshold of 16. This makes darker areas in the image white. Since your webcam descriptors don't tell me that, I will come up with yet another parameter to compensate for that. I will keep you informed.

247
Hardware / Re: Webcam Support for OS/2 and eCS!!
« on: July 13, 2014, 10:04:32 am »
Quote
in the http://home.hccnet.nl/w.m.brul/uvcvideo/os4user.zip I found  uvcview.exe but not uvcvideo

I run it (uvcview.exe /x)   -   it is first time I can see something different from black screen  -  it looks like miss sync video

http://gus.biysk.ru/os4/usb/uvcview.raw

Yes, I meant uvcview.exe /x to run.
I inspected uvcview.raw and your webcam like Mike's does not set EOH bit in the stream headers.
Try http://home.hccnet.nl/w.m.brul/uvcvideo/mike.zip to see if uvcview.exe will work for you.

248
Hardware / Re: Webcam Support for OS/2 and eCS!!
« on: July 11, 2014, 01:26:59 pm »
To Mike and OS4User

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

Unpack os4user.zip and run uvcvideo /x and click TestShot

1. Do you see out of sync video?
2. Do you have uvcview.raw file?
3. I need uvcview.raw file.

249
Hardware / Re: Webcam Support for OS/2 and eCS!!
« on: July 10, 2014, 05:35:56 pm »
Quote
pls download it from here http://gus.biysk.ru/os4/usb/0ac83420.bin

I parsed the compound descriptor and there is nothing wrong with it. But it did not help me either. So I am going to shoot in the dark. May be your camera yuyv stream is interlaced. So I prepared a special uvcview.exe for you to try out. When it displays something then take a SnapShot.

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

250
Hardware / Re: Webcam Support for OS/2 and eCS!!
« on: July 10, 2014, 01:01:56 pm »
To Wim Brul

anything can be done in my case ?

http://www.os2world.com/forum/index.php/topic,196.msg3884.html#msg3884

May be so. Start USBDock /bin and attach 0AC83420.BIN for me to inspect.

251
Hardware / Re: Webcam Support for OS/2 and eCS!!
« on: July 09, 2014, 09:37:40 am »
Well, I guess I found the main problem. I thought I had Lars' usbhcd197.zip driver on that machine. After double (tripple) checking, I found that it actually had USB-eCS-11.06.wpi installed. I put usbhcd197.zip on it, and WEBLOOK/WEBView has been running with no trouble for almost half an hour.  :-[

Well, Doug, that is a relief! :) Thank you for all your testing effort.

Quote
WEBLOOK/WEBVIEW ran without a problem, for more than an hour. It did, eventually, freeze.

Nice. :) Now it is working for you with 2 CPU's the same as it is working here for me with 1 CPU.
So I can safely remove the mpunsafe marking of WEBLOOK then.

One thing that does work (with the known problems), is to  look at the WEBLOOK output, using a second machine on my network. The command that I used was:
Code: [Select]
Webview.exe /a192.168.0.107 /p14225(the address is the machine running WEBLOOK). I suspect that this will be limited to my local network, because of firewall rules that my ISP uses.

I had to open port 14225 in my adsl modem/router to let it work over the internet. There is no security at all though!

Note that you may start WEBVIEW more than once. Even on different machines. 

 

252
Hardware / Re: Webcam Support for OS/2 and eCS!!
« on: July 08, 2014, 03:05:12 pm »
Just to make sure there was not some problem with the most recent USB drivers, I went back to the original Weblook/Webview (that uses the USBECD.SYS driver) and it ran for 30 minutes with no freeze. Switched back to the most recent Weblook/Webview (that uses USBRESMG.SYS) and the freezes were back in about a minute.

 Then I set ACPI.PSD /MAXCPU=1 and rebooted, and it seems the freezes are gone (after 10 minutes). Doesn't this seem to point at USBRESMG.SYS having an issue with multiple CPU's?

It could very well be that USBRESMG.SYS has an issue with multiple CPU's. I don't know, but I have seen freezes on my single core test system too. I looked into the SYS3175 trap that Doug reported and found out that WebView contains too optimistic mjpg decoding code that (in case of incorrect or incomplete input data) may and most likely will overwrite memory where it shouldn't. This is a cause for all sorts of problems. Not easy to fix though.

In the mean time I added the WebCam Viewer (uvcview.exe and uvcview.cmd) to WebSeeBeta1.zip on my website. This pm program operates your uvc webcam and displays the video stream. Although it contains the same mjpg decoding shortcomings as  WebView, it allows to rule out any tcp/ip problems.

253
Hardware / Re: Webcam Support for OS/2 and eCS!!
« on: July 06, 2014, 10:46:01 am »
I doubled the number of isochronous buffers in weblook.exe  and I replaced WebseeBeta1.zip on my website. I hope that helps.

  It doesn't seem to make any difference, the behaviour is exactly the same...

Thanks for testing. As usual ;) this freezing and corruption does not occur on my test systems. May be markexe mpunsave weblook.exe is required. I only have single core cpu's. What do you guys use? Aha, not so fast, it just froze here too. But it took more than 30 minutes and froze only once. No corruption though.

I have replaced WebSeeBeta1.zip on my website (weblook marked mpunsave).

254
Hardware / Re: Webcam Support for OS/2 and eCS!!
« on: July 05, 2014, 08:25:25 pm »
No light and no shot from my Microdia usb webcam:
<<< Device Description >>>
 Type            : 01
 USB Rev         : 110
 Class           : Reserved (0)
 Subclass        : Reserved (0)
 Protocol        : Reserved (0)
 

Sorry Barbara, but this is not a UVC compliant webcam. I cannot support it.

255
Hardware / Re: Webcam Support for OS/2 and eCS!!
« on: July 05, 2014, 08:03:55 pm »
Hi Doug,

Quote
Now, for my fist problem:
On the Lenovo ThinkPad L530, I have eCS 2.1 on the C: drive, and eCS 2.2 on the M: drive. When I try to start WEBLOOK on eCS 2.1, I get this:
Code: [Select]

started.
[0104241B]
[01052422]
[0206240B]
[01072422]

These 4 lines tell me that your webcam supports YUYV and MJPG video. It is reported by weblook during its scan from the usb descriptors. It seems that that scan never ended because when it does you will get the MJPG line. Is it eating a lot of cpu time because of a scanning loop?

Quote
Starting it on eCS 2.2, I get this:
Code: [Select]

started.
[0104241B]
[01052422]
[0206240B]
[01072422]
MJPG
[00000C00]
[00000010]
On-line. Use Ctrl+Break to end.
[open isochronous]

Using eCS 2.2, I can start WEBVIEW, and I can see myself in the window. WEBVIEW is all black with eCS 2.1 (I expect this, since it appears that WEBLOOK is not loading properly).

The 2 lines below MJPG correctly show the frame length and number of microframes in an isochronous buffer.
 
Quote
The first discrepancy, that I found, was that eCS 2.1 still had the device supported by USBECD.SYS, in CONFIG.SYS. ECS 2.2 does not have that line in CONFIG.SYS. REMing that line in eCS 2.1 did not change anything. Adding the line to eCS 2.2 CONFIG.SYS, changes nothing (it still works).

Yes. I would expect it to make no difference.

Quote
Obviously, I am missing something, but what do I look for?

May be C:\ECS\BOOT\USBRESMG.SYS versus C:\OS2\BOOT\USBRESMG.SYS ?


 

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