Chapter 4: Software
Software Registry Entries
32
Psion Teklogix Omnii HDK User Manual
4.4.2
Software Registry Entries
If the expansion device uses custom software, the version information for the software can be
added to the System Properties of the System Control Panel applet.
Using a registry editor, create the following registry key (where <name> is the name of the
software component as it will appear in the System Properties):
Beneath that key, set the following registry values:
•
@
(REG_SZ): Default value. Set to “Components” to make the software information appear
in the Components list of the System Properties.
•
Value
(REG_SZ): Enter the version of the software component here.
For example:
This example creates an entry in the Components list of the System Properties tab of the System
Control Panel applet, which reads “Scanner Program: 1.5.21”.
4.5
Device Detection and Driver Loading Sequence
With the exception of devices attached to the docking connector, device detection is only
performed at startup. After the peripherals driver finishes initializing, it performs the following
steps to detect connected hardware and load the appropriate drivers:
1. The EEPROM or other identifier is read to determine the hardware attached to each connector.
If an EEPROM is unprogrammed, blank, or is otherwise inaccessible, the detect operation for
that connector terminates.
2. The registry is searched for a matching device entry, by connector type and device ID
(manufacturer and model). If a matching entry is not found, the detect operation for that
connector terminates.
3. If a matching device entry is found, the registry entry for the driver (if any) is copied to
the
active
registry key.
4. If one or more
RegCopy
entries are found, the source keys are copied to the destination
key locations.
5. Power is enabled to the connector.
6. If USB or UART functionality is specified, the Peripherals driver enables and configures
the specified interface pins accordingly.
7. The device driver is loaded.
[HKLM\Software\PsionTeklogix\SystemProperties\Software\<name>]
; Registry entry for a software program named Scanner Program, version 1.5.21
;
[HKLM\Software\PsionTeklogix\SystemProperties\Software\Scanner Program]
“@”=”Components”
“Value”=”1.5.21”
Содержание OMNii HDK XT10
Страница 4: ......
Страница 10: ......
Страница 12: ......
Страница 18: ......
Страница 20: ......
Страница 24: ......
Страница 26: ......
Страница 32: ......
Страница 72: ......
Страница 90: ......
Страница 92: ......
Страница 116: ......
Страница 124: ......
Страница 126: ......
Страница 130: ......
Страница 132: ......
Страница 154: ......
Страница 168: ......
Страница 170: ......
Страница 182: ......
Страница 184: ......
Страница 188: ......