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 - wimpie

Pages: [1] 2
1
Programming / Re: Arduino UNO on eComStation
« on: 2012.09.09, 10:53:45 »
there is no word "eComstation" or "OS/2" there. or REXX examples is it correct link?
The link is correct. It gives information on what control transfers are required. Not how to do it with REXX on eComStation or OS/2 .

But may be the Arduino Uno can be accessed with

DEVICE=C:\OS2\BOOT\USBCOM.SYS /M:1 /N:COM8 /V

in CONFIG.SYS and using the following command:

MODE COM8:9600,N,8,1

2
Programming / Re: Arduino UNO on eComStation
« on: 2012.09.08, 21:54:56 »
Quote
I was wondering if this kind of board will ever be usable under eComStation...
Might be possible.
Quote
I have tried Wim Bruls USB-driver, but failed.
For the Arduino Uno see http://android.serverbox.ch/?p=427 on how to control it using my driver.

3
Applications / Re: Looking for VisPro software
« on: 2012.08.29, 09:17:38 »
Quote
If you have a older version please let me know too.

I have the VisPro REXX Bronze Edition 2.11 on original diskette.

Wim.

4
Applications / Re: LVM ... effin buggy
« on: 2012.08.02, 13:27:57 »
Quote
Attention! don't kill your main harddrive!
You could use my http://home.hccnet.nl/w.m.brul/resetmbr/index.html  Backup/Restore/Wipeout Master Boot Record utility.

5
uhm.. It seems that the easier way will be to re-create the presentation from the generated PDF.
It is possible to convert *.GX2 files to *.PCX files. You would need GX2PCX.EXE that is part of Show Partner FX v3.4 which is free software that can be downloaded from http://www.megaiq.com/showpartner/ and I have just done that. I was able to convert the slides with it. Since there were 8 pixel wide black bars on the left and right side of each slide, I used GBMSUB.EXE to remove these. The final result is in png format. See attachments.

Wim.

6
Applications / Re: Back Again/2000 - open .dat files
« on: 2012.04.30, 09:59:31 »
I found BA2PR201.ZIP on the "IBM PRESENTS OS/2 WARP SOFTWARE HITS SECOND EDITION 1995". This is Back Again/2 Professional Edition v2.01a Demo. With this version it is possible to restore the *.CAT files from the *.DAT files. However, I could not restore the actual backups. Fortunately it contains also a standalone restore utility with which I was able to restore the backups even without requiring any *.CAT files.

RESTORE /R F=G G:\OS2STUFF

is the command line to use and you are prompted "To select a Backup Set to Restore".  G:\OS2STUFF contains my *.DAT files. F=G restores to drive G rather than to drive F as may be dictated (but alas not shown) in the Backup Set that you choose.

Wim.

7
You are probably right about the language code - perhaps usbresmg.sys needs to be modified to support this.

An addition - usbres.exe shows the HP MFP has 0 # Languages, and LangIds is empty....

A device that works shows 1 as # Languages, and LangIds = 1033

So it looks like Wim is 100% correct...

Now to work out why and fix it :)

Hi Paul,

From USB 1.1 spec chapter 9.6.5:  String descriptors are optional. A device that does not support string descriptors within device, configuration and interface descriptors must have all references to string descriptors be set to zero. USB devices that omit all string descriptors shall not return an array of LANGID codes.

So to me it is valid what the HP MFP (whatever that is?) does. However it is not clear to me what you want to fix. I suppose it is in your own code (that you are porting) that you encountered this problem. I don't think that usbresmg.sys needs to be fixed. It must be done at application level. May be usbres.exe needs to fixed as well.

Wim.

8
Unfortunately it seems there are some issues with usbresmg.sys

With most of my USB devices, usbres reports a string error and in the device report, under strings, shows things like:
GetString Error -225 for Manufacturer Name, Product Name and Serial number.

An older Canon Lide scanner works ok and displays the correct information.

Unless I can get the source to usbresmg, it seems unlikely I'll be able to get hplip to work with USB devices :(
Hi Paul,

Is it possible that these strings (iManufacturer, iProduct, iSerialNumber) are not present in these devices? A lot of USB devices don't contain these strings. Or may be you used an improper language code?

It is most likely that you did not use the language code. I have done some testing obtaining these strings with my usbecd.sys device driver and some devices always return these strings even when the language code has not been specified in the setup packet. Others return an error to my device driver when the language code has not been specified. This language code must first have been obtained from the device and then subsequently be provided in the wIndex field of the setup packet when you query the device for the length of the string and when you obtain the string.

Can you see these with usbres.exe  "View device Report" (use right mouse button followed by left mouse button)? Or did you do just that? I get "Manufacturer Name : Not implemented" when that string is not there.

Wim.

9
So, I will follow the path with a customized Warp 4 CD, I tried one of mine from 2001 created with UPDCD and NOT using "No emulation boot" (not using the memdisk method of Veith Kaennegie├čer), that went very quick through (without all this hangs and timeouts I described before)  till "can not operate hard disk" - what is no suprise at all because of the missing AHCI driver.

Hi Sigurd,

FWIW, I have created for myself a cd that boots eComStation without using the memdisk method of Veith  Kaennegie├čer into TShell (text only shell). I use this for maintenance purposes. This one boots from a normal atapi cd-rom (not a usb cd-rom) drive.

 Another thought, if everything else fails. The HP Slate 2 has an SD card reader. May be you could try to boot from there?

Regards,
Wim.

10
Quote
Are there suggestions, ideas??!

Hi Sigurd,

A shot in the dark. Your boot drive got the wrong drive letter? Or no drive letter at all? May be you have a usb stick or usb external drive attached ? Try without usb drivers.

Wim.

11
So it seems to me, that I have to add a line like: vga=0x315 to the graphics driver.

Hi Sigurd,

See https://wiki.archlinux.org/index.php/GRUB#Graphical_boot for more information.

But are you sure that this is the problem that prevents you from booting eComStation successfully? There is a known problem in the USBEHCI.SYS device driver in USBHCD179.ZIP from Lars Erdmann that results in the host controllers not being initialized correctly that leads to hangs on boot and horrible data transfer rates. Try the IBM:10.162 drivers instead.

Wim.

12
General Discussion / Re: Etiquette and politeness in posting
« on: 2012.01.28, 15:25:33 »
Greggory's website is http://www.os2notes.com/ and he's not allowed to take it off line otherwise I have to remove a link on my website !

Thanks Ian,

It is now on my website http://home.hccnet.nl/w.m.brul  under my [References] linked as well.

Wim.

13
General Discussion / Re: Edicate and politness in posting
« on: 2012.01.28, 10:36:53 »
Quote
My site is ranked #6 on google (search OS2), however I've been wondering if I should keep it running (I think you made up my mind).

Greggory,

What is the url of your site?

Wimpie.

14
Rexx / Re: RFI: Make a screenshot (a "capture") from REXX
« on: 2011.07.05, 12:58:32 »
Hi,

can someone point me to a DLL (-function) or even commandline tool which enables me to make a screenshot of the desktop from code? Even if there is something which can do screenshots of "any window" (via specifying the windows HWND), that would be fine.
I just need a way to do this from REXX. (Oh, yes: For OS/2 and eComStation I mean. :-P )

TIA,
Thomas

There is the APM Automation Tool in the  IBM OS/2 Employee Written Software Catalog. It is APMTST.ZIP and it does just what you want and more. From the inf file:

APMT is a program package that provides a set of REXX functions. These functions can be used to write REXX programs which can drive any PMapplication running in the same PC or in a different PC. Some of the functions query the state of the  PM window controls, while others change them. This allows the REXX program (hereinafter called APMT client) to act in place of a human operator.

There is a.o. a SAVE_IMAGE function in there to save as selected window into a bmp file.

Wimpie.

15
Applications / Re: Alt+F2, F3, F4 Internal error on eCS 2.1
« on: 2011.06.19, 16:23:12 »
With  ECS 2.0 on my ASUS P4B533 motherboard it works quite well.

Alt+F1 gives me the menu with recovery choices.
Alt+F2 displays each device driver while it is loaded.
Alt+F3 gives me both.

I have a PS/2 keyboard attached. Do you have a USB keyboard attached?

Wim.

Pages: [1] 2