Motorola USB08 User Manual

Page 238

Advertising
background image

Designer Reference Manual

USB08 Evaluation Board

238

Universal USB Device Driver (USBIO)

MOTOROLA

Universal USB Device Driver (USBIO)

Edit the following values in the

[Strings]

section to specify a

location in the Registry that is used to store the USBIO driver’s
configuration parameters:

S_ConfigPath

S_DeviceConfigPath1

Note the

S-ConfigPath

should specify a location that is a

subkey of

HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Services

.

The name of the subkey should be the same as the name you
choosed for the driver binary.

Generate a private Globally Unique Identifier (GUID) to
unambiguously identify the device instances that will be created
by USBIO for your device. Use GUIDGEN.EXE from the Microsoft
Platform SDK or from the Visual C++ package for this purpose.
Copy the text representation of the GUID to the line in the INF file
that defines the registry value

USBIO_UserInterfaceGuid

.

Activate this line by removing the “;” at the beginning. Use the
private GUID in your application to search for available devices.
GUIDGEN.EXE allows you to export a

static const struct GUID = {...}

statement that can be

included in the source code of an application. For an example,
refer to the source code of USBIOAPP or ReaderCpp.

Edit the driver parameter settings in the sections

_Parameters1_98

and

_Parameters1_NT

. The parameters in

_Parameters1_98

define the default behaviour of the USBIO

driver on Windows 98. The parameters in

_Parameters1_NT

define the default behaviour of the USBIO driver on
Windows 2000. For a detailed description of the supported
settings, refer to

E.9 Registry Entries

.

After you finished testing your INF file remove any lines and
comments that are not needed. Especially, make sure that the
word USBIO does not occur in the files you ship with your product.
This is a requirement that is defined by the USBIO licensing
conditions. See also the License Agreement you received with the
USBIO package.

Advertising