Author Topic: Webcam Support for OS/2 and eCS!!  (Read 60231 times)

Sigurd Fastenrath

  • Sr. Member
  • ****
  • Thank You
  • -Given: 16
  • -Receive: 60
  • Posts: 421
    • View Profile
Re: Webcam Support for OS/2 and eCS!!
« Reply #15 on: September 14, 2013, 09:30:02 am »
I have to apologize for not mention the work of Lars Erdman here! It was unintended, the reason is that I do not see the work "behind" and was not aware of the great commitment he does with his USB Drivers.

 



Alex Taylor

  • Sr. Member
  • ****
  • Thank You
  • -Given: 10
  • -Receive: 17
  • Posts: 274
    • View Profile
Re: Webcam Support for OS/2 and eCS!!
« Reply #16 on: September 16, 2013, 03:41:14 am »
FWIW, I've tried it now with my ThinkPad W500, using both the X200 and X220 options. In all cases I get the 'obtain thread error'. I guess the hardware in the W500 is not quite the same as either of those two, even though it's of similar vintage.

David McKenna

  • Full Member
  • ***
  • Thank You
  • -Given: 9
  • -Receive: 10
  • Posts: 219
    • View Profile
Re: Webcam Support for OS/2 and eCS!!
« Reply #17 on: September 17, 2013, 12:58:58 am »
 Got my Logitech C250 today and tried it out. I have the same result as Yuri reported: only 160x120 and 176X144 work. All other resolutions freeze in a second or two. I did get a Trap000d in USBEHCD a couple times as well when closing one of the working resolutions (wrote it down if it might be useful). I tried different /S:x settings on the BASEDEV=USBEHCD.SYS, but nothing helped (some hurt).

Alex Taylor

  • Sr. Member
  • ****
  • Thank You
  • -Given: 10
  • -Receive: 17
  • Posts: 274
    • View Profile
Re: Webcam Support for OS/2 and eCS!!
« Reply #18 on: September 17, 2013, 02:01:09 am »
On Silvan's suggestion I found the correct USB IDs for my W500's camera.  Now, using
/D:17EF:4807:3134 /N:$CHICON$
I can occasionally get a second or two of working video in some of the programs, but the picture always freezes almost instantly. At other times I just get a black window.  Still, getting warmer.

I notice that with the updated /D switch, my computer now emits a shrill-sounding BEEP on bootup.

David McKenna

  • Full Member
  • ***
  • Thank You
  • -Given: 9
  • -Receive: 10
  • Posts: 219
    • View Profile
Re: Webcam Support for OS/2 and eCS!!
« Reply #19 on: September 17, 2013, 02:14:50 am »
Alex... just add /S to the USBECD.SYS line. That turns off the beep, which indicates it is connecting to the camera.
« Last Edit: September 17, 2013, 02:18:19 am by David McKenna »

Sigurd Fastenrath

  • Sr. Member
  • ****
  • Thank You
  • -Given: 16
  • -Receive: 60
  • Posts: 421
    • View Profile
Re: Webcam Support for OS/2 and eCS!!
« Reply #20 on: September 18, 2013, 07:15:43 am »

Wim Brul

  • Full Member
  • ***
  • Thank You
  • -Given: 3
  • -Receive: 31
  • Posts: 147
    • View Profile
    • Wim's home page
Re: Webcam Support for OS/2 and eCS!!
« Reply #21 on: September 24, 2013, 03:59:17 pm »
O.K. I could not hold back myself...

For the Logitech C250 I wrote a set of two programs that allow this camera to be used over the internet.

WARNING: There is NO security provided at all. So be careful and THINK before you open up your camera port through your router to the internet!

WebLook operates the camera. WebView shows the video. Default ip address is 127.0.0.1 and default port is 14225.

WebLook /p11111 uses tcp/ip port 11111.

WebView /a192.168.1.1 /p11111 uses ip address 192.168.1.1 and port 11111.

Enjoy.

« Last Edit: September 24, 2013, 04:10:41 pm by Wim Brul »

Neil Waldhauer

  • Sr. Member
  • ****
  • Thank You
  • -Given: 8
  • -Receive: 34
  • Posts: 467
    • View Profile
    • Blonde Guy
Re: Webcam Support for OS/2 and eCS!!
« Reply #22 on: September 24, 2013, 10:46:17 pm »
I also got my W500 camera working using the x200tc package and the setup string Alex Taylor used.
Code: [Select]
Device=n:\os2\boot\usbecd.sys /D:17EF:4807:3134 /N:$CHICON$The capture often freezes, but I have captured snapshots or shown video at every resolution.

I'd love to try WebLook and WebView on the W500, if such a thing is possible.
Expert consulting for ArcaOS, OS/2 and eComStation
http://www.blondeguy.com

Wim Brul

  • Full Member
  • ***
  • Thank You
  • -Given: 3
  • -Receive: 31
  • Posts: 147
    • View Profile
    • Wim's home page
Re: Webcam Support for OS/2 and eCS!!
« Reply #23 on: September 26, 2013, 12:17:00 pm »
Quote
C250WV0.ZIP (9.26 kB - downloaded 5 times.)

And did you, Logitech C250 owners, enjoy it? Does it work for you?

Quote
I'd love to try WebLook and WebView on the W500, if such a thing is possible.

These WebLook and WebView programs have been specifically written for the Logitech C250.
Without feedback from the Logitech c250 owners, no use to even try writing for the W500.

Silvan Scherrer

  • Full Member
  • ***
  • Thank You
  • -Given: 9
  • -Receive: 9
  • Posts: 171
    • View Profile
Re: Webcam Support for OS/2 and eCS!!
« Reply #24 on: September 26, 2013, 02:56:47 pm »
Wim,

do you have an idea why /D:17EF:480F:2345 /N:$CHICON$ could not work?
I'd love to test more.

regards
Silvan
kind regards
Silvan
CTO bww bitwise works GmbH

Please help us with donations, so we can further work on OS/2 based projects. Our Shop is at https://www.bitwiseworks.com/shop/index.php

Wim Brul

  • Full Member
  • ***
  • Thank You
  • -Given: 3
  • -Receive: 31
  • Posts: 147
    • View Profile
    • Wim's home page
Re: Webcam Support for OS/2 and eCS!!
« Reply #25 on: September 26, 2013, 03:34:55 pm »
do you have an idea why /D:17EF:480F:2345 /N:$CHICON$ could not work?
I'd love to test more.

Hi Silvan,

Thanks for the offer. Provide me with the output of lsusb from Paul Smedley for that camera.

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

lsusb -d 17ef:480f -v > 17ef480f.txt

Regards, Wim.

Yuri

  • Newbie
  • *
  • Thank You
  • -Given: 0
  • -Receive: 2
  • Posts: 16
    • View Profile
Re: Webcam Support for OS/2 and eCS!!
« Reply #26 on: September 26, 2013, 06:25:44 pm »
Thanks for the offer. Provide me with the output of lsusb from Paul Smedley for that camera.

Here is descriptor output for Logitech C200.

thanks,

Yuri

Sigurd Fastenrath

  • Sr. Member
  • ****
  • Thank You
  • -Given: 16
  • -Receive: 60
  • Posts: 421
    • View Profile
Re: Webcam Support for OS/2 and eCS!!
« Reply #27 on: September 26, 2013, 09:20:20 pm »
Quote
C250WV0.ZIP (9.26 kB - downloaded 5 times.)

And did you, Logitech C250 owners, enjoy it? Does it work for you?

Quote
I'd love to try WebLook and WebView on the W500, if such a thing is possible.

These WebLook and WebView programs have been specifically written for the Logitech C250.
Without feedback from the Logitech c250 owners, no use to even try writing for the W500.

Hi Wim,

I tried it and I am still not skilled enough to know what to do exactly  :-\

I do not understand wich way it is working. I attached the Logitech and started weblook /p11111 from a command line. It started, turned the green light of the cam on and in the os/2 window "Online" is shown (see attached picture weblook).

I then opened a second command prompt and started webview /a192.168.178.127 /p11111where 192.168.178.127 was the IP of my WLAN connection.

The webview started to show the Webcam picture!!! (see attached picture webview and webviewfull)

So - that looks great - but in wich way it is now possible to view the picture from "outside"? What does I have to do to let for example watch my kids the webcam? What do they have to do?

Thanks, and I posted it here and not via mail as some others may run into the same problems than me  8)

Thanks again for your tremendous work!!!

Sigurd
« Last Edit: September 26, 2013, 09:25:58 pm by Sigurd Fastenrath »

Wim Brul

  • Full Member
  • ***
  • Thank You
  • -Given: 3
  • -Receive: 31
  • Posts: 147
    • View Profile
    • Wim's home page
Re: Webcam Support for OS/2 and eCS!!
« Reply #28 on: September 26, 2013, 09:53:47 pm »
Hi Sigurd,

I don't know how to explain this. It is a typical router dependent thing. You need to open port 11111 in your router.
It is not specific to my applications. Others might explain it I hope.

Best regards, Wim.
« Last Edit: October 03, 2013, 05:04:29 pm by Wim Brul »

Wim Brul

  • Full Member
  • ***
  • Thank You
  • -Given: 3
  • -Receive: 31
  • Posts: 147
    • View Profile
    • Wim's home page
Re: Webcam Support for OS/2 and eCS!!
« Reply #29 on: September 26, 2013, 10:33:50 pm »
Here is descriptor output for Logitech C200.
Hi Yuri,

I compared the descriptor of my Logitech C250 with the descriptor of your Logitech C200 and they are the same.

So try C250WV0.ZIP since it should ;) work with your camera too.

Regards, Wim.