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 ... 13 14 [15] 16
211
Hardware / Re: ThinkPad X60 tablet pen & multi-touch support?
« on: January 04, 2014, 02:55:04 pm »
Assuming that (1,200,5,I) is the correct value, then the baudrate may be incorrect. Try e.g. COMRAW 9600 and use DECODE 9600.RAW to display the result. Do not forget to actually use your stylus while running COMRAW. I expect to see something like:

sBtn=00,xPos=03799,yPos=02328,zPos=00026,Stylus:MoveOnly
sBtn=01,xPos=01789,yPos=03436,zPos=01418,Stylus:But1Down
sBtn=00,xPos=01794,yPos=03433,zPos=00016,Stylus:MoveOnly

to be reported. May be COMRAW 38400 will do?

212
Programming / Re: REXX programming question
« on: December 15, 2013, 10:37:34 am »
I tried this:

/* use 20 digits */
say 'digits='digits()
say 65536*65536*65536*65536
numeric digits 20
say 'digits='digits()
say 65536*65536*65536*65536

Success!

213
Hardware / Re: Webcam Support for OS/2 and eCS!!
« on: October 20, 2013, 12:01:45 pm »
Hi Wim!

Therefore support for isochronous transfers need to be added to usbresmg.sys so it can be used instead. This is something I am considering to dive into when time permits. Both weblook and webview have been coded in turbo assembler.

This would be awesome, as then support could also be added to libusb for isochronous transfers :)
Quote
I think this is a must for further work on webcam issue, so we can get libusb to work too and this will give us access to a lot of existing unix applications.

Yuri

Hi Paul and Yuri,

O.K. I have made up my mind :) and I am going for it.

I have compiled both usbresmg.sys and usbcalls.dll and after some modifications I got a basic working set that is suitable for implementing support for isochronous transfers. The source code I use is the latest one available at Netlabs. Right now I am investigating which functions should be present. I will keep you informed.

Wim.


214
Hardware / Re: Webcam Support for OS/2 and eCS!!
« on: October 13, 2013, 03:23:21 pm »
Hi Wim,

which kind of work is required to add new camera models?

Yuri
Hi Yuri,

Work required to produce another set of test cases:

All those *tc.zip products are in fact test cases for the initial high speed and high bandwidth isochronous transfer support in the usbehcd.sys host controller driver. To produce one for yet another webcam requires the output from lsusb -v for that webcam to be analyzed by me first. Then I would compose a rexx procedure to try and test the uvc probe and commit phases that I want these new test cases to use. From that I would also know how to setup the required bandwidth and alternate interface settings. Finally I would change the compile time options in the turbo assembler source code plus possibly some other changes necessary to get this webcam working and build the new product. Since the initial high speed and high bandwidth isochronous transfer support in the usbehcd.sys host controller drivers works, I don't think I should spend any more time doing this.

Work required to produce generic webcam support:

Since usbecd.sys is intended for prototyping, it has some drawbacks. First of all it cannot provide enough buffering to sustain reliably a continuous video stream. Secondly each webcam would require its own unique config.sys statement. Therefore support for isochronous transfers need to be added to usbresmg.sys so it can be used instead. This is something I am considering to dive into when time permits. Both weblook and webview have been coded in turbo assembler. As a starter some other programmer could convert/rewrite these using C instead. This would make adding support for other uvc webcams easier. Then the inspection of the usb descriptors need to be added and the outcome of the probe and commit phase need to be acted upon to setup the required alternate interfaces and the isochronous buffering.

Regards, Wim.

215
Hardware / Re: Webcam Support for OS/2 and eCS!!
« on: October 07, 2013, 12:20:11 pm »
Hi Yuri,

I tested vweblook/webview, and I'm able to see a 320x240 stream for one or two minutes. I just noted that c250tc4 is supposed to show a 320x240 stream, but the PM window is only 160x120 (while webview has a 320x240 window).

The mjpg stream obtained by weblook is 640x480 and by default webview shows it as 320x240. When you maximize webview then it shows the 640x480 image in its full glory. Snapshots are always 640x480. Similarly, by default c250tc4 shows the 320x240 image as 160x120. Maximized it shows 320x240. Snapshots are always 320x240.

Quote
Also I noted that other apps are usually freezing at startup while changing the luminance of the stream, e.g. first shot is darker then it gets lighter in smaller frame apps.

The change of the luminance of the stream is done by the hardware in the Logitech C250 Webcam during streaming. If you would restart the same app then it would become lighter as well.

One important correction: I stated earlier in this thread that the programs in c250tc.zip work on my development computer with only usb 1.1 ports. This is definitely NOT true. These are high speed and high bandwidth only!

Regards, Wim.




 

216
Hardware / Re: Webcam Support for OS/2 and eCS!!
« on: October 03, 2013, 04:59:10 pm »
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.

works only for lower resolutions and for a short amount of time... seems some kind of buffer size because lower resolution works longer.

thanks,

Yuri
Hi Yuri,

The weblook and webview programs in C250WV0.ZIP obtain an MJPG stream whereas the programs in C250TC.ZIP obtain a YUYV stream. Reading your comment 8) I get the impression that you did not even try.

Wim.

217
Hardware / Re: Webcam Support for OS/2 and eCS!!
« on: October 03, 2013, 04:49:34 pm »
Hi Silvan,

According to your lsusb output, the camera in your T510 appears to be equal to the one in the X201T.
So try the yet untested http://home.hccnet.nl/w.m.brul/usbvideo/x201wv0.zip and see if it works for you.

Regards, Wim.
Wim,

i just tried it. Weblook starts and the camera light goes on. Webview also starts but i only see a black screen.
I started both apps on the T510 w/o parameters.

regards
Silvan
Hi Silvan,

Alas,  your camera needs more buffers to to work. Some other tester (the one with the X201) had the same result. He tested also http://home.hccnet.nl/w.m.brul/usbvideo/x201tc.zip and those programs did not work either. You might try these as well.

Wim.

218
Hardware / Re: Webcam Support for OS/2 and eCS!!
« on: September 29, 2013, 04:41:24 pm »
Hi Silvan,

According to your lsusb output, the camera in your T510 appears to be equal to the one in the X201T.
So try the yet untested http://home.hccnet.nl/w.m.brul/usbvideo/x201wv0.zip and see if it works for you.

Regards, Wim.

219
Hardware / Re: Webcam Support for OS/2 and eCS!!
« on: September 28, 2013, 09:01:13 am »
lsusb (from Paul Smedley - the best - highly recommended for everyone)!

220
Hardware / Re: Webcam Support for OS/2 and eCS!!
« 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.

221
Hardware / Re: Webcam Support for OS/2 and eCS!!
« 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.

222
Hardware / Re: Webcam Support for OS/2 and eCS!!
« 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.

223
Hardware / Re: Webcam Support for OS/2 and eCS!!
« 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.

224
Hardware / Re: Webcam Support for OS/2 and eCS!!
« 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.


225
Hardware / Re: Webcam Support for OS/2 and eCS!!
« on: September 13, 2013, 04:55:15 pm »
Okay, now we can display the camera image on the desktop, and we can create a *.BMP file by taking a snapshot. Huge step forward, but now what?  :D

Now we need applications that do what the user wants. And these have to support all the uvc webcams on the world. I know that we are far from that and I don't think we will ever reach that. I am working my way upwards from the usb host controller drivers in the direction of such applications. Right now all usb host controller drivers support isochronous transfers. Many thanks to Lars Erdmann. Without him this would not have been possible.

For testing these isochronous transfers I had to modify my usbecd.sys device driver. This driver was originally intended for control transfers only. So I could build some usb hardware and play with it. Later on I added support for bulk and interrupt transfers.  Bulk transfers for the CanoScan 4400F and interrupt transfers for Pen and Touch devices. So usbecd.sys is one way towards these applications. However usbecd.sys will be a bottleneck. It can only handle one isochronous endpoint and all its iso buffers must reside in one 65535 bytes memory block. I am not going to improve that. This driver is for testing purposes only.

Another way would be usbresmg.sys -> usbcalls -> libusb -> ported linux based applications. However, all these three components do NOT currently support isochronous transfers. Yet another way might be via a new usbvideo.sys driver that ties into the multimedia subsystem. What is the right way to go? Who is going to do that? I cannot do it all.

Pages: 1 ... 13 14 [15] 16