Download Print this page

Motorola USB08 Reference Manual Page 233

Universal serial bus evaluation board using the mc68hc908jb8.
Hide thumbs


USB08 Evaluation Board
As shown in the last example a Hardware ID can also describe a device
class and subclass. This makes it possible to provide a driver that will be
used whenever the system detects a device that belongs to a specific
device class. An example for such a kind of driver is the system-provided
HID mouse driver. This driver is installed for any type of USB mouse,
regardless of the vendor, the USB Vendor ID, and the USB Product ID.
The driver selection is based on the class, subclass, and protocol
identifiers. Please refer to the Microsoft Windows 2000 DDK for detailed
information on Hardware IDs and driver selection algorithms. Another
good source of information are the INF files that ship with the operating
system. They are located in a subdirectory of the Windows system
directory, named "INF". Note that on Windows 2000 this subdirectory
has a Hidden attribute by default.
In order to prepare an installation disk that can be used to install the
USBIO driver for your device the following steps are required.
Copy the USBIO driver binary usbio.sys to a floppy disk or to a
directory location of your choice. Copy the INF file usbio.inf
provided with the USBIO package to the same location. Note that
you can choose any name for the INF file, based on your company
name or your product name for example. But the file name
extension has to be .inf. In the following discussion it is assumed
the INF file is named usbio.inf.
Open the usbio.inf file using a text editor, Notepad for example.
Edit the [_Devices] section. There are various examples of
Hardware ID strings prepared in this section. Select one of the
examples that matches your needs. Usually, the very first example
is appropriate. It associates the USBIO driver with your device by
using the USB Vendor ID and Product ID. Remove the semi-colon
at the start of the line and replace the VID_XXXX and PID_XXXX
placeholders in the Hardware ID string by your USB Vendor ID
and Product ID as shown in the examples above. Note that the IDs
are given as 4-digit hexadecimal numbers.
Edit the [Strings] section at the end of the usbio.inf file to
modify the device description string for your device, defined by the
value of S_DeviceDesc1. The device description text will be
displayed in the Device Manager next to the icon that represents
your device.
Save the INF file to accommodate your changes.
Universal USB Device Driver (USBIO)
Universal USB Device Driver (USBIO)
Installation Issues
Designer Reference Manual


This manual also for:


Comments to this Manuals

Symbols: 0
Latest comments: