Building A Customized Driver Setup - Motorola USB08 Reference Manual

Universal serial bus evaluation board using the mc68hc908jb8
Table of Contents

Advertisement

E.8.4 Building a Customized Driver Setup
USB08 Evaluation Board
MOTOROLA
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
Universal USB Device Driver (USBIO)
Universal USB Device Driver (USBIO)
Installation Issues
Designer Reference Manual
237

Advertisement

Table of Contents
loading

This manual is also suitable for:

Mc68hc908jb8

Table of Contents