Digitizer Support for OS/2 (ArcaOS, eComStation)

Provides guidance and tools to ease the development and integration of digitizer and touch screen solutions into the system.

May be freely used and exchanged, as long as it is not modified. You may use this product solely at your own risk. I cannot be held responsible for any damages occurring due to your using this product. You may not lease, rent or sell this product to any other party. Have fun.

Obtain this product here free of charge. Click here for my home page.

Access COM Device

For COM input devices you may have to look into the ACPITREE output to see what interrupt number and port address are to be used. Knowing these you have to put either the DEVICE=?:\OS2\BOOT\COM.SYS or DEVICE=?:\OS2\BOOT\PSCOM.SYS device driver statement with the proper parameters into your config.sys file.

On the Lenovo ThinkPad X200T with Wacom Penabled the ACPITREE output contained:

+*DTR_ T:[Device] HID:[WACF004] STA:[0xd] SxD State:[0xff:ff:ff:ff]
  Current state:
  > IO:[1 0x200 - 0x200 Al:1 Len:8]
  >Trigger by Edge, Polarity High IRQ-4
  > ENDTAG

To define COM1 to access the Wacom Pen at port=200 and irq=4 and eComStation installed on boot drive O: the input device driver statement is:

DEVICE=O:\OS2\BOOT\PSCOM.SYS (1,200,4,I)

To define COM1 to access the Wacom Pen at port=200 and irq=4 and OS/2 Warp 4.0 installed on boot drive O: the input device driver statement is:

DEVICE=O:\OS2\BOOT\COM.SYS (1,200,4,I)

After reboot you may run the COMRAW.CMD script to get raw digitizer input data at 38400 baud from the Lenovo ThinkPad into the 38400.RAW file. Run the DECODE.CMD script to display digitizer input data from that 38400.RAW file. Use COMRAW 19200 to run at 19200 baud and DECODE 19200.RAW to display it.

Access USB Device

The USB 2.0 Extended Control Driver for OS/2 (ArcaOS, eComStation) is required. Obtain this product here free of charge.

For USB input devices you may have to look into the USBDock output to see what idVendor, idProduct and bcdDevice are to be used. Knowing these you have to put the DEVICE=?:\OS2\BOOT\USBECD.SYS device driver statement with the proper parameters into your config.sys file.

For my Wacom Bamboo CTH-460 tablet the USBDock extended report contained:

Vendor ID       :0x056A
Product ID      :0x00D1
Device Release# :0106

To define $BAMBOO$ to access the Wacom Bamboo CTH-460 tablet with idVendor=056A and idProduct=00D1 and bcdRelease=0106 and eComStation or OS/2 Warp 4.0 installed on drive O: the input device driver statement is:

DEVICE=O:\OS2\BOOT\USBECD.SYS /D:056A:00D1:0106 /N:$BAMBOO$

To define $E2500U$ to access the ELO Model 2500U device with idVendor=04E7 and idProduct=0105 and bcdRelease=0100 and eComStation or OS/2 Warp 4.0 installed on drive O: the input device driver statement is:

DEVICE=O:\OS2\BOOT\USBECD.SYS /D:04E7:0007:0105 /N:$E2500U$

After reboot you may run the USBWRITE.CMD script to obtain and display the device descriptor, configuration descriptors and associated interface and endpoint descriptors. Use USBWRITE $BAMBOO$ for the Wacom Bamboo CTT-460 tablet or USBWRITE $E2500U$ for the ELO Model 2500U device.

Send Mouse Events

The Emulate Mouse Driver for OS/2 (ArcaOS, eComStation) is required. Obtain this product here free of charge.

You have to look into your config.sys file to find which mouse device driver has been installed on your system. You may find AMOUSE.SYS or MOUSE.SYS and you need to add the STYPE=XSMOUSE$ parameter to that device driver statement and insert the ?:\OS2\BOOT\XSMOUSE.SYS device driver statement just above it.

To define XSMOUSE$ to connect XSMOUSE.SYS to AMOUSE.SYS with ArcaOS installed on drive O: the output device driver statements are:

DEVICE=O:\OS2\BOOT\XSMOUSE.SYS
DEVICE=O:\OS2\BOOT\AMOUSE.SYS STYPE=XSMOUSE$

To define XSMOUSE$ to connect XSMOUSE.SYS to AMOUSE.SYS with eComStation installed on drive O: the output device driver statements are:

DEVICE=O:\OS2\BOOT\XSMOUSE.SYS
DEVICE=O:\OS2\BOOT\AMOUSE.SYS SMP STYPE=XSMOUSE$

To define XSMOUSE$ to connect XSMOUSE.SYS to MOUSE.SYS with OS/2 Warp 4.0 installed on drive O: the output device driver statements are:

DEVICE=O:\OS2\BOOT\XSMOUSE.SYS
DEVICE=O:\OS2\BOOT\MOUSE.SYS STYPE=XSMOUSE$

After reboot you may run the PUTEVENT.CMD script to see if the mouse pointer moves to the center of the screen.

Test COM Device

Display from DECODE.CMD using the correct baudrate looks like:

sBtn=00,xPos=03799,yPos=02328,zPos=00026,Stylus:MoveOnly
sBtn=01,xPos=00953,yPos=00810,Finger:But1Down
sBtn=01,xPos=01789,yPos=03436,zPos=01418,Stylus:But1Down
sBtn=00,xPos=00953,yPos=00810,Finger:NoButMov
sBtn=00,xPos=01794,yPos=03433,zPos=00016,Stylus:MoveOnly
sBtn=00,xPos=00010,yPos=00027,zPos=00024,Stylus:NoButMov

The following COM input devices have been tested successfully:

Hewlett Packard (COM)

Hewlett Packard (COM) Model Scripts
modelscreencom.sysbaudscriptresulttester
TC42001024x768(1,200,6,I)19200tc4200tc.cmdstylus worksTrevor Clarke
TC42001024x768(1,200,6,I)19200tc4200rs.cmdstylus worksTrevor Clarke
Working with these scripts requires calibration:

To calibrate the digitizer using your stylus, put the tip of your stylus for 1 second to the top left and bottom right corners of the screen.

Use tc4200rs.cmd with rotated tablet (snap flipped screen).

Lenovo ThinkPad (COM)

Lenovo ThinkPad (COM) Model Scripts
modelscreencom.sysbaudscriptresulttester
X200T1280x800(1,200,4,I)38400x200efs.cmdfinger/stylus worksBoris Stefanov
X200T1280x800(1,200,4,I)38400x200snr.cmdfinger/stylus worksSean Rodriguez
X200T1280x800(1,200,4,I)19200x200tps.cmdstylus worksSigurd Fastenrath
X61T1400x1050(1,200,4,I)19200x61fsr.cmdstylus worksBoris Stefanov
X60T1024x768(1,200,5,I)38400x60efs.cmdfinger/stylus worksAlex Tailor
X41T1024x768(3,200,5,I)19200x41rhs.cmdstylus worksRalph Hannes
Working with these scripts requires calibration:

To calibrate the digitizer using your finger, put the tip of your finger for 1 second to the top left and bottom right corners of the screen.

To calibrate the digitizer using your stylus, put the tip of your stylus for 1 second to the top left and bottom right corners of the screen.

Test USB Device

The following USB input devices have been tested successfully:

eGalax TouchController (USB)

eGalax TouchController (USB) Model Script
screenusbecd.sys parametersscriptresulttester
1024x768/D:0EEF:0001:0100 /N:$EGALAX$afinger.cmdfinger worksPeter Brede
Working with this script requires calibration:

To calibrate the digitizer using your finger, put the tip of your finger for 1 second to the top left and bottom right corners of the screen.

Asus EeeSlate (USB)

Asus EeeSlate (USB) Model Scripts - Click here for separate product.
modelscreenusbecd.sys parametersscriptresulttester
EP1211280x800/D:0EEF:A001:1213 /N:$FINGER$afinger.cmdfinger worksSigurd Fastenrath
EP1211280x800/D:056A:0090:0206 /N:$STYLUS$astylus.cmdstylus worksSigurd Fastenrath

Beckhoff CP3924 (USB)

Beckhoff CP3924 (USB) Model Scripts - Click here for separate product.
modelscreenusbecd.sys parametersscriptresulttester
CP39241920x1080/D:0EEF:C000:3902 /N:$CP3924$afinger.cmdfinger worksErhard Demel

Lenovo ThinkPad (USB)

Lenovo ThinkPad (USB) Model Scripts
modelscreenusbecd.sys parametersscriptresulttester
X220T1366x768/D:056A:0090:0611 /N:$X220TD$bstylus.cmdstylus worksSven Schmidt
X230T1366x768/D:056A:00E6:0139 /N:$X230TD$afinger.cmdfinger worksSigurd Fastenrath
X230T1366x768/D:056A:00E6:0139 /N:$X230TD$astylus.cmdstylus worksSigurd Fastenrath
S230U1366x768/D:03EB:8206:2433 /N:$FINGER$bfinger.cmdfinger worksEugene Gorbunoff
Lenovo ThinkPad (USB) Model Scripts - Click here for separate product.
modelscreenusbecd.sys parametersscriptresulttester
Yoga121920x1080/D:06CB:7244:0005 /N:$FINGER$yfinger.cmdfinger worksSigurd Fastenrath
Yoga121920x1080/D:056A:00EC:0135 /N:$STYLUS$ystylus.cmdstylus worksSigurd Fastenrath

Samsung Slate7 (USB)

Samsung Slate7 (USB) Model Scripts - Click here for separate product.
modelscreenusbecd.sys parametersscriptresulttester
700T1A1366x768/D:03EB:211C:11AA /N:$FINGER$afinger.cmdfinger worksSigurd Fastenrath
700T1A1366x768/D:03EB:211C:11AB /N:$FINGER$afinger.cmdfinger worksSigurd Fastenrath
700T1A1366x768/D:03EB:211C:11FE /N:$FINGER$bfinger.cmdfinger worksSigurd Fastenrath
700T1A1366x768/D:056A:00EC:0460 /N:$STYLUS$astylus.cmdstylus worksSigurd Fastenrath

Sony Vaio Pro13 (USB)

Sony Vaio Pro13 (USB) Model Script
modelscreenusbecd.sys parametersscriptresulttester
Pro13 Touch1920x1080/D:0EEF:A108:3104 /N:$FINGER$afinger.cmdfinger worksSigurd Fastenrath

Wacom Bamboo (USB)

Wacom Bamboo (USB) Model Scripts - Click here for separate product.
modelarea (mm)usbecd.sys parametersscriptresulttester
CTH-460125.0x85.0/D:056A:00D1:0106 /N:$BAMBOO$afinger.cmdfinger worksWim Brul
CTH-460147.2x92.0/D:056A:00D1:0106 /N:$BAMBOO$astylus.cmdstylus worksWim Brul
CTH-461125.0x85.0/D:056A:00D2:0106 /N:$BAMBOO$afinger.cmdfinger worksJoop Nijenhuis
CTH-461147.2x92.0/D:056A:00D2:0106 /N:$BAMBOO$astylus.cmdstylus worksJoop Nijenhuis
CTL-460147.2x92.0/D:056A:00D4:0106 /N:$BAMBOO$astylus.cmdstylus worksJoop Nijenhuis
Working with these scripts requires calibration:

To calibrate the digitizer using your finger, put the tip of your finger for 1 second to the top left and bottom right corners of the screen.

To calibrate the digitizer using your stylus, put the tip of your stylus for 1 second to the top left and bottom right corners of the screen.

Wacom Intuos (USB)

Wacom Intuos (USB) Model Scripts - Click here for separate product.
modelarea (mm)usbecd.sys parametersscriptresulttester
CTH-480152.0x95.0/D:056A:0302:0100 /N:$INTUOS$astylus.cmdnot obtainedWho?
CTH-680216.0x135.0/D:056A:0303:0100 /N:$INTUOS$bstylus.cmdnot obtainedWho?
CTL-480152.0x95.0/D:056A:030E:0100 /N:$INTUOS$astylus.cmdstylus worksWim Brul
CTL-680216.0x135.0/D:056A:0323:0100 /N:$INTUOS$bstylus.cmdnot obtainedWho?

Conforms to XHTML 1.0 Conforms to CSS 2.1 © W.M.Brul 2010-2022, all rights reserved.