Patent ID: 7881919

Claim:
A computer-implemented method for testing a video device driver, the method comprising: loading a descriptor set, wherein the descriptor set comprises a document that contains one or more video device descriptors, wherein the one or more video device descriptors define one or more Universal Serial Bus (USB) video devices and comprise: a first configuration descriptor, wherein the first configuration descriptor is associated with a first power scenario; a second configuration descriptor, wherein the second configuration descriptor is associated with a second power scenario; a first interface descriptor, wherein the first interface descriptor describes a particular interface within a USB video device configuration for a first device configuration; a second interface descriptor, wherein the second interface descriptor describes a particular interface within a USB video device configuration for a second device configuration; an endpoint descriptor, wherein the endpoint descriptor comprises information required by a host to determine a bandwidth requirement of each USB video device; parsing the descriptor set using a simulator application to locate the video device descriptors corresponding to a USB video device; undergoing a configuration process, wherein the configuration process comprises: assigning an identifier to a simulated USB device; and reading the one or more video device descriptors to determine a video driver and a power requirement for the simulated USB video device; populating one or more video device objects with the device descriptors; signaling a device simulation framework (DSF) to simulate the USB video device; and simulating the USB video device with the video device objects, wherein the simulation is accomplished using an enhanced host controller interface simulator.