Adding Generic Device Driver Support for Device Classes
When you add the Generic Device Driver Support component to your configuration, it allows you to add drivers for entire driver classes to your run-time image. You can select from and include over 30 classes of device drivers.
For example, you can enable your customer to use any Windows XP-supported printer with their device by adding the printer device class to the run-time image. This allows your customer to choose their own printer, and frees you from having to decide which printers to support or not support in your configuration.
With the Generic Device Driver Support component, when you select a driver class all of the drivers for that device class are added to the run-time image. Normally, when you add support for individual devices, you add a device driver component to the .SLX file for each device you want to support.
To add Generic Device Driver Support for device classes
- Run Target Designer.
- In the Search box, type Generic Device Driver Support, and then choose the Search icon.
The Generic Device Driver Support component is highlighted in the component browser.
- Drag the Generic Device Driver Support component to the configuration editor pane.
- In the configuration editor pane, choose the Generic Device Driver Support component, and then choose Settings.
- On the Generic Device Driver Support tab, select each driver class you want to include in the run-time image.
- If you select the IEEE 1394 Bus host controllers driver class, after configuring the Generic Device Driver Support component add the Class Installer - IEEE 1394 Bus host controllers component and the SBP-2 Protocol Driver component.
Some IEEE 1394 devices require the SBP-2 Protocol Driver component. This dependency is not satisfied during the check for dependencies that belong to the Generic Device Driver Support component.
- If you select the Printer device driver class, the Add Printer Wizard will not work unless the Unidrv.hlp file and all printer-specific .hlp files are present. In the Settings for your configuration, in Other Settings, clear Do not copy help files for this configuraton. Then, to reduce the run-time footprint, in the Advanced Settings for each component that you don't want help added to the configuration, select Do not copy help files for this component.
Note To reduce the footprint size, the time required to build the run-time image, and time to check dependencies, the following options are clear by default: Include registry entries and other resources for this component and Process device driver dependencies. Plug and Play detects and registers many devices after they are plugged into the computer. If some components do not work correctly, you may need to select these options to add missing registry entries, other resources, or dependencies.
© 2006 Microsoft Corporation. All rights reserved.