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 ... 17 18 [19]
271
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.


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

273
Hardware / Re: Webcam Support for OS/2 and eCS!!
« on: September 12, 2013, 11:34:19 pm »
Thanks Doug,

A similar problem exists for the Chicony Integrated Camera. $CHICON$ has to be used instead of $X200TD$. I have corrected the documentation and the information on my website accordingly.

Wim.

274
Applications / Re: libusb-1.0 port to OS/2 - help needed
« on: May 25, 2013, 03:56:02 pm »
I copied libusb10.dll into d:\ecs\dll and I copied lsusb.exe into d:\ecs.bin and lsusb works for me.
I copied scanimage.exe into d:\sane and I could scan :) with my CanoScan Lide 210 scanner.

@echo off
setlocal
set beginlibpath=d:\sane\lib;
set SANE_CONFIG_DIR=d:\sane\etc\sane.d
d:\sane\scanimage -d genesys --mode color --resolution 300 1>xscan.pnm 2>xscan.txt
d:\programs\tame\nconvert -in -1 -out bmp xscan.pnm
d:\mmos2\mmplayer\ib xscan.bmp
endlocal

Note: In previous posts I used d:\sane23 to distinguish from d:\sane which contains the old version and it appears that I must not do that. I had to rename d:\sane into d:\sane22 and to rename d:\sane23 into d:\sane in order to get the new version to work.

275
Applications / Re: libusb-1.0 port to OS/2 - help needed
« on: May 17, 2013, 12:33:20 pm »
Quote
Any change of a debug log from 1.0.22? Might also be worth sending you a scanimage.exe with libusb logging enabled....

Hi Paul,

I have attached the relevant portion of the debugoutput.txt from 1.00.22.
Yes, please send me a scanimage.exe with libusb logging enabled.

Regards, Wim.

276
Applications / Re: libusb-1.0 port to OS/2 - help needed
« on: May 17, 2013, 10:06:05 am »
Quote
The log shows: [genesys] attach: found Canon flatbed scanner LiDE 210 at libusb:001:001
I don't seen any scan attempt. What command line was used?

I used d:\sane23\scanimage -L >output.pnm 2>debugoutput.txt

Quote
To try a scan, just try: scanimage > output.pnm

[D:\sane23]scanimage > output.pnm
scanimage: open of device genesys:libusb:001:001 failed: Invalid argument

That failed so I used:

@echo off
setlocal
set beginlibpath=d:\sane23\lib;
set SANE_CONFIG_DIR=d:\sane23\etc\sane.d
set SANE_DEBUG_GENESYS=255
set SANE_DEBUG_SANEI_USB=255
rem - d:\sane23\scanimage -L >output.pnm 2>debugoutput.txt
d:\sane23\scanimage >output.pnm 2>debugoutput.txt
endlocal
exit

This gives "sanei_usb_control_msg: libusb complained: Input/output error" always at the same spot when I try again after unplug/replug of the scanner. This is different from your earlier sane-1.0.22-os2-20120131.zip product which allows me to actual obtain a scan.

277
Applications / Re: libusb-1.0 port to OS/2 - help needed
« on: May 16, 2013, 01:31:00 pm »
I used the following to obtain debugoutput.txt from my CanoScan LiDE 210 scanner. 
And it reports that the scanner is not configured:

Can you confirm this is with:
12/05/13  10:01       5,769,032           0  scanimage.exe

Yes, that is the one I used. However, I shot myself in the foot :( since I had the scanner attached to my own usbecd.sys device driver at the same time. That driver never issues a set configuration request by itself although it always sets a flag that it has done so upon device attachment. Without that driver the scanner is configured. 

278
Applications / Re: libusb-1.0 port to OS/2 - help needed
« on: May 16, 2013, 11:08:44 am »
Hi Paul,

I used the following to obtain debugoutput.txt from my CanoScan LiDE 210 scanner. 

@echo off
setlocal
set beginlibpath=d:\sane23\lib;
set SANE_CONFIG_DIR=d:\sane23\etc\sane.d
set SANE_DEBUG_GENESYS=255
set SANE_DEBUG_SANEI_USB=255
d:\sane23\scanimage -L >output.pnm 2>debugoutput.txt
endlocal
exit

And it reports that the scanner is not configured:

[sanei_debug] Setting debug level of sanei_usb to 255.
[sanei_usb] sanei_usb_init: marking existing devices
[sanei_usb] sanei_usb_init: Looking for kernel scanner devices
[sanei_usb] sanei_usb_init: initializing libusb-1.0
[sanei_usb] sanei_usb_init: Looking for libusb-1.0 devices
[sanei_usb] sanei_usb_init: device 0x04a9/0x190a at 001:001 is not configured
[sanei_usb] sanei_usb_init: found 0 devices

Regards, Wim.

279
Applications / Re: libusb-1.0 port to OS/2 - help needed
« on: April 26, 2013, 06:24:54 pm »
Nice work. I tried lsusb on eComStation 2.0 with the following results:

1. Yes, the devices that show up in UsbDock are shown by lsusb.

2. Yes, the information presented by 'lsusb -v' matches the device reports from  UsbDock.

3. No, the file /extras/share/usb.ids was not found.

I created d:\extras\share and copied usb.ids used by usbres.exe and that worked.

Pages: 1 ... 17 18 [19]