E.8.4 building a customized driver setup, E.8.4, Building a customized driver setup – Motorola USB08 User Manual

Page 237

Advertising
background image

Universal USB Device Driver (USBIO)

Installation Issues

USB08 Evaluation Board

Designer Reference Manual

MOTOROLA

Universal USB Device Driver (USBIO)

237

E.8.4 Building a Customized Driver Setup

When the USBIO driver is included and shipped with a retail product
some setup parameters should be customized. This is necessary
because the USBIO device driver might be used by several vendors and
it is possible that an user has two products and that both of them use the
USBIO driver. This can cause conflicts with respect to the file name of
the driver executable, the location of registry parameters, the device
names, and the driver interface GUIDs used.To avoid such problems a
vendor who redistributes the USBIO driver for use with a hardware
product should choose a new file name for the driver binary, generate a
private interface GUID, and select a private location in the registry to be
used to store startup parameters. In order to do that the usbio.inf file has
to be customized as well.

The following list shows the steps required to build a customized USBIO
setup:

Choose a new name for the driver binary file usbio.sys. The name
should not cause conflicts with drivers provided by Windows.
Rename the file usbio.sys to your new name.

Rename the Setup Information file usbio.inf. You can choose any
name you want. For instance, the name may be based on your
companie’s or your product’s name. Note that the file extension
should not be changed. It has to be “.inf”.

Edit the

[_CopyFiles_sys]

section in the INF file to include the

new name of the driver binary.

Edit the value

S_DriverName

in the

[Strings]

section to

match with the new name you defined for the driver binary.

Edit the

[Strings]

section in the INF file to modify text strings

that are shown at the user interface level. You may change the
following parameters:

S_Provider

S_Mfg

S_DeviceClassDisplayName

S_DeviceDesc1

S_DiskName

S_ServiceDisplayName

Advertising