Chapter 4: Software
Registry Keys
26
Psion Teklogix Omnii HDK User Manual
4.4
Registry Keys
4.4.1
Registry Settings for Expansion Devices
For an expansion device to be properly detected by the peripherals driver, and to have the correct
drivers loaded to support the device, registry keys must be added to the Omnii registry.
Creating Registry Entries for a Device
The basic steps for creating registry entries for a device are outlined below. The individual features
of each step are explained in more detail in the sections that follow.
1. Using a registry editor, locate the following key in the Omnii registry:
2. Create a subkey for the type of connector to which the device connects.
(0=Expansion Port, 1=WWAN (not on Omnii XT10), 2=GPS, 4=Docking)
For example:
3. Create the DeviceId subkey as a concatenation of the device manufacturer and model
names, separated by a space.
For example, for a device made by Psion Teklogix with the model name “Exp1_UART”
the subkey should be:
4. Program the expansion device EEPROM Manufacturer and Model fields to match the
DeviceID subkey (case sensitive).
For example:
See Section 8.4: “EEPROM Reading/Writing” for more details.
5. Add the following registry values under the DeviceID subkey (see “Device Registry
Values” on page 28 for more details on these values):
a.
Name
: a descriptive name for the device.
b.
ConnectorId
: optional field restricting devices to a specific expansion port.
c.
PinFunctions
: specify the GPIO/Serial/SPI pin functions.
d.
PowerMode
: set power management for the device.
e.
Notifications
: set user notification behaviour for device.
f.
LoadFlags
: specifies default device driver(s).
[HKLM\Drivers\BuiltIn\Peripherals\devices]
[HKLM\Drivers\BuiltIn\Peripherals\devices\0]
[HKLM\Drivers\BuiltIn\Peripherals\devices\0\Psion Teklogix Exp1_UART]
Manufacturer: Psion Teklogix
Model: Exp1_UART
Summary of Contents for OMNii HDK XT10
Page 4: ......
Page 10: ......
Page 12: ......
Page 18: ......
Page 20: ......
Page 24: ......
Page 26: ......
Page 32: ......
Page 72: ......
Page 90: ......
Page 92: ......
Page 116: ......
Page 124: ......
Page 126: ......
Page 130: ......
Page 132: ......
Page 154: ......
Page 168: ......
Page 170: ......
Page 182: ......
Page 184: ......
Page 188: ......