Chapter 10: HDK Demo Application
Connecting the Hardware
Psion Teklogix Omnii HDK User Manual
147
GPIO Device Registry Keys
As there is no default GPIO driver on Omnii, additional subkeys and values must be created to
load the TestDriver.dll driver. This driver can only be loaded for one expansion port at a time.
4. After the registry entries have been completed, reset your Omnii by holding down the
[
FN
] and [
Power/ENTER
] keys for at least three seconds.
10.5
Connecting the Hardware
Connect the breakout board to one of the expansion ports on your Omnii, as described in
Section 9.4: “Connecting to Omnii”.
Connecting to the Omnii expansion ports requires removing the back cover of the unit. A T10 and
a T6 Torx screwdriver are required to do this.
10.5.1 Remove the Omnii Back Cover
1. Power Omnii off.
2. If a pod is installed on the expansion back cover, it should be removed first:
i.
Remove the four T10 Torx screws securing the pod to the back cover.
ii. Lift the pod from the unit.
iii. Disconnect the flex cable from the pod expansion module.
3. Remove the eight T10 Torx screws holding the back cover to the main housing.
4. Remove the two T6 Torx screws at the top of the display on the front of the unit.
5. Gently lift the back cover from the main housing to allow access to the cables that are
still attached.
6. Disconnect any cables attaching the back cover to the main unit (trigger switch,
scanner/imager, speaker, camera, GPS antenna are all possibilities).
7. Remove the back cover module.
; Registry entry for a GPIO device
;
[HKLM\Drivers\BuiltIn\Peripherals\devices\0\Psion Teklogix Exp1_GPIO]
; EEPROM Manufacturer field = “Psion Teklogix”, EEPROM Model field = “Exp1_GPIO”
“Name”=sz:”GPIO Device”
“ConnectorId”=dword:0 ;0 = Expansion Port 1 (End-Cap Expansion)
“PinFunctions”=dword:0 ;0x00 = Set pins 0-7 for GPIO function
“PowerMode”=dword:1 ;Power off in suspend, power on on resume
; Create the following subkeys and values to load the GPIO driver
[HKLM\Drivers\BuiltIn\Peripherals\devices\0\Psion Teklogix\Exp1_GPIO\Driver]
“Prefix”=sz:“TST”
“Dll”=sz:”TestDriver.dll” ;Driver filename
“Index”=dword:1 ;Index = Expansion port #
[HKLM\Drivers\BuiltIn\Peripherals\devices\0\Psion Teklogix Exp1_GPIO\RegCopy]
“Drivers\\BuiltIn\\Peripherals\\devices\\0\\Psion Teklogix Exp1_GPIO\\Driver”
=sz:“Drivers\\BuiltIn\\Peripherals\\devices\\active\\0\\Psion Teklogix Exp1_GPIO”
Warning: Exercise extreme caution if operating Omnii with the back cover removed. The unit
may be damaged if anything makes contact with the exposed circuitry while it is
powered on.
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: ......