
Appendix B: Registry Keys
Registry Settings For Psion Device Drivers
Psion Mobile Devices Developers Guide
B-2
B.1.4 Registry Settings For Psion Device Drivers
The Workabout Pro device driver settings are located in the following registry subkey:
HKEY_LOCAL_MACHINE\Drivers\PsionTeklogix\Expansion Slot
Registry Values
FFUART (REG_DWORD)
Setting this value enables hardware RTS/STS on the FFUART of the Workabout Pro G2. If the key is absent,
the FFUART COM1: port is not enabled.
1 = enables the full-function UART (FFUART) using the standard serial driver as COM1:.
0 = the FFUART COM1: port will not be enabled. (Default)
PCMCIA (REG_DWORD)
1 = enables the PCMCIA socket on the 100-pin connector—socket 1. The PCMCIA pins become unavailable for
other uses. The pins defined for this slot have predefined meanings and must be adhered to in the hard-
ware design.
0 = the PCMCIA socket is not be enabled. (Default)
USB (REG_DWORD)
1 = enables the USB hub and the 100-pin connector USB power control.
0 = neither the USB hub nor the USB power control signal will be enabled for the100-pin connector.
(Default)
Note: If the USB value is absent or has a value of 0, the expansion module USB power control can still be
controlled by the HDK API library.
B.1.5 Registry Settings For Non-Psion Device Drivers
All non-Psion device drivers must have a registry entry. These device driver entries are formatted
as follows:
HKEY_LOCAL_MACHINE\Drivers\PsionTeklogix\Expansion Slot\EEPROM
Where: EEPROM is the name of the device driver. This is the contents of the Manufacturer/Model field in
the expansion module EEPROM. For details see the Workabout Pro HDK Developers Manual.
B.1.5.1 Loading Non-Psion Drivers
At system startup the following process is used to load non-Psion device drivers:
1. The contents of the Manufacturer/Model field in the expansion module EEPROM are appended to the
registry key
HKEY_LOCAL_MACHINE\Drivers\PsionTeklogix\Expansion Slot\
For example, if the Manufacture/Model field contains:
ACME gizmo
then the following driver is loaded:
HKEY_LOCAL_MACHINE\Drivers\PsionTeklogix\Expansion Slot\ACME gizmo
2. The DriverActivate() function uses this registry key to activate the driver.
No driver is loaded if:
•The Manufacturer/Model field is not valid, or it is empty.
• The derived registry key does not exist.
Note: If multiple device drivers are required for the same device, subkeys are defined. Only the first driver
is automatically activated. The application must load and activate all additional device drivers.
Comentarios a estos manuales