
---------------------------------------------------------------------
Nov 11, 2006 

English:
Added support for Sigmatel STIR4200 [www.sigmatel.com]
in SIR mode. VendorID 0x066F, ProductID 0x4200. Known me USB adapetrs is :
StLab U-245 [www.st-lab.com] (tested), Tekram IR-412, IR-410W.

Use usbcalls.dll and unofficial fix from autors USBRESMG.SYS (20060815).
Distribute via email only sad smiley
Write me ...
Official version of USBRESMG.SYS waiting in homepage of USB Tools [ecomstation.ru]

If you use this adapetrs in Windows and connect with FIR (4mbit) IrDA devieses, please - send my of session txt log, use trial of usb monitor [www.hhdsoftware.com]

Best regards, Nikolay.
Sorry of my bad English...

FAQ
----

Hello Nikolay!

Hello, Marko!

M.
I would like to try your new beta, if there anything else I can provide
you with, just say it.
Is there anything I could test for you?
I have an IBM Thinkpad R50p which has also an IBM SC-20H2987 IrDA device
build in.
N.
I any more do not support exotic internal IrDA devices. There is no time. I do not have these devices.smiling smiley
The basic emphasis widespread(distributed) USB to devices.
Whether but, please, send me report from Hardware Manager about irda_phy.sys. With IBM driver.
It works on 4mbit?
M.
The internal Thinkpad is working for me.
N.
My driver? This work with UART in IrDA mode.

M.
What do you mean, how do I do that?
I have no entry in Hardware manager.
N.
My driver not register in Resource Manager. Completely. Is to do... smiling smiley
IBM driver register in Resource Manager only if resource are free. Them can
intercept COM.SYS .
But both work correctly. smiling smiley

About incompatibility FAT32. IFS and IrDA I did not hear. FAT32 now I do not
use. I shall try.
M.
I think it is some problem with memory, because on the fresh install
(eCS 2.0 Beta 2) it is working.
N.
is good smiling smiley

030b:
With STIR 4200 use "S" key as external device.
pmirda.exe [[[[ LOG_ENABLE] TIMER_DISCOVERY ] EXTERNAL_DEVICE ] MODE ]
Sample (log disabled):
pmirda.exe N 1500 S

M.
I could not get PMIRDA running. :-(
No popup log, nothing.
N.
Not say "IRCOMM.SYS driver not loaded, cannot continue!" ?
Remove from XCenter IrDA plugin.

M.
Here is my config.sys:
DEVICE=L:\OS2\BOOT\USBCOM.SYS /V /Z
N.
For IrDA need for MA-620. For StIR4200 need USBRESMG.SYS
M.
REM Begin IBM OS/2 IrDA Driver Section
DEVICE=L:\IRDD2\IRDA_PHY.OS2 /X
N.
/X for my driver only ( version 020 or later )
M.
DEVICE=L:\IRDD2\IRDA_DD.OS2
DEVICE=L:\IRDD2\IAS_DD.OS2
Rem DEVICE=L:\IRDD2\IRCOMM.SYS /V
N.
uncomment IRCOMM.SYS
PMIRDA works over IRCOMM.SYS smiling smiley And over IRDA_PHY.OS2, if in external mode.
And communication apps connect to phone modem via comport, emulated IRCOMM.SYS.
Without IRCOMM.SYS works only IRDANDIS. (IrLAN)
M.
REM End IBM OS/2 IrDA Driver Section

Like I said in Hardware manager there is nothing about IrDA physical
driver, but all seem to load OK.
N.
In external mode IRDA_PHY.OS2 not used any resource.

M.
Now it works. :-)
The GSM Phone is detected.
The irda widget was the problem.

I have tryed to enable log in PMIRDA, but I saw no file created. ?
N.
pmirda L 1500 S ?
Case sensitivity.
This create file mmddhhmm.log. Size is large ...

M.
I have modified your readme.gne with info about STIr4200, I hope it will be usefull to you.
...
N.
Good! Thank!
I paste to my phorum. Simle FAQ smiling smiley
I write the readme there is no time and laziness smiling smiley

---------------------------------------------------------------------
Jul 22, 2006

This is next release of GNE IrDA stack software for OS/2.

Version 0.2.0 beta

  Introduction:

News:
New PMIRDA.EXE. Allow connection to foreign (external) device drivers
and transfer data between this driver and IrDA stack ( via irda_phy )
Currently work with USBCOM and enable support USB IrDA MA-620 device.
Vendor ID 0DF7,  Product ID 0620. Currently uset 57600 bps max only.

Basic:
This drivers based at source code IBM IRDA stack from DDK for OS/2.

Support IrDA devices:
1. UART in IR mode.
2. Tekram IR-Mate 210B, connected externaly via simple UART (commport).
   Use IR-Mate via COM16 (PCI comport) ... in work.
3. Toshiba oboe chip ( see note 1 )
4. USB IrDA MA-620 via USBCOM.SYS. (from this package)

  Installation:

If you not use USB IrDA:

1. Rename old your IRDA_PHY.OS2 to IRDA_PHY.OLD
2. Rename old your IRDA_DD.OS2 to IRDA_DD.OLD
3. Copy new IrDA drivers to IRDA stack directory.
4. Check your CONFIG.SYS and find there line, containts IRDA_PHY.OS2
5. Type correct information via parametrs of used your commport for
IR apps (only one).
6. Check your CONFIG.SYS and find there line, containts COM.SYS
7. Type correct information via parametrs of only not used with IRDA yours
commport (if need). (See note 2) IRDA_PHY.OS2 not use COM.SYS

If you use USB IrDA:

see step 1,2,3 above

4. Replace USBCOM.SYS. Save old as USBCOM.OLD
5. Replace PMIRDA.EXE. Save old as PMIRDA.OLD



  IRDA_PHY.OS2 parametrs:

Only following parameters can be used with this driver
     IRDA_PHY.OS2 [/Pn] [/In] [[/T]|[/O]] [/A] [/L] [/X]

     /Pn         Hexdecimal port number.

     /In         Decimal interrupt number.

     /T          Tells driver to enable Tekram mode.
                 Do not use simultaneity with /O key !

     /O          Tells driver to enable oboe mode.
                 Do not use simultaneity with /T key !

     /A          Tells driver to disable APM support ...
                 this possible prevent traps of boot on
                 some system ( OS, fixpacks, CPU, BIOS  ... )

     /L          Tells driver to use only 9600 bps ...
                 My Tekram is lost facility switching
                 to all high speed. In this mode work.

     /X          Tells driver do not use any hardware.
                 Use simultaneity with /L key only !

  PMIRDA.EXE parametrs^

pmirda.exe [[[ TIMER_DISCOVERY ]  EXTERNAL_DEVICE ] MODE ]

where:

TIMER_DISCOVERY  = xxxx in millisecs. Default 2000, IBM pmirda use 5000.

EXTERNAL_DEVICE  = COMx, only if you use irda_phy with /X key

                 = blank, if not use external device driver

MODE             = T - Tekram IR-MATE 210B via comport ( not supported currently )

                 = blank - USB IrDA MA-620


   Exsample:
You have 2 commports - COM1 with IO port 3f8 and interrupt 4 and
COM2 with IO port 2f8 and interrupt 3.
If you want to use COM2 in IR mode for IR apps.
Place following line in your CONFIG.SYS:
X:\IRDD2\IRDA_PHY.OS2 /P0x2F8 /I3
X:\OS2\BOOT\COM.SYS (1,3f8,4)
where X: - your OS/2 boot driver

If you want to use Tekram via COM2 in normal mode, add key /T.
X:\IRDD2\IRDA_PHY.OS2 /P0x2F8 /I3 /T
Do not use Tekram via UART in IR mode!


If you do not add any parametrs of IO and IRQ, then uses (if not oboe)
as /P0x3F8 /I4, this is default. In oboe mode default is /P0xFF80 /I11

If you want to use MA-620 via USBCOM, install possible latest USB stack.
Place following line in config.sys:
X:\OS2\BOOT\USBCOM.SYS /V [/Z]
...
X:\IRDD2\IRDA_PHY.OS2 /X

Check what COMx is loaded USBCOM. Start PMIRDA.EXE with correct parameters.



Note 1:
List of Toshiba notebooks with oboe chip can found of (linux page)
http://libxg.free.fr/irda/lib-irda.html.
I have and test Satellite-2590DVD (not in this list)
Better use of http://hobbes.nmsu.edu/pub/os2/util/misc/pci104vka.zip
that determination you IR chip. This driver must work with 0701h (tested)
and 0D01h DeviceID. In oboe mode use irda_dd.os2 of this archive. This
fixed disconnect if packet lost.

Note 2:
If you change COM.SYS parameters, possible need remark also serial.snp in
os2/boot/snoop.lst file.



  Troubleshooting:
Add following line in yor config.sys:
TRACEBUF=63
TRACE=ON 244
Get trace info via (in command propmt):
traceget xx.trc (01.trc, 02.trc, 03.trc ...)
after boot, after 5 sec of start pmirda, and ... more, and send all *.trc my.
*.trc file can view via tracefmt.


Contact:
Nikolay Boev
kolo113@yandex.ru
http://www.project2.mhost.ru/list.php?2
(English and Russian)

My thanks for Takayuki 'January June' Suwa of adding support PL2303 to USBCOM.

Sorry of my bad english ...(

