Method and apparatus for modifying USB device driver matching information
AssigneeHuawei Device Co., Ltd.
InventorsWenchun Jiang, Guiying Xue
Life of this patent
Estimating the term…
Abstract
A method for modifying a USB device driver matching string includes: when a plug-and-play manager sends a request for querying device information to a physical device object, capturing, by a filter driver, the request for querying device information, and sending the request to an enumeration driver; receiving, by the filter driver, device information that is returned, according to the request for querying device information, by the enumeration driver, and forming, according to the returned device information and compatibility information of the device, a device driver matching string; and sending the device driver matching string to the plug-and-play manager.
Claims16
A method for modifying a USB device driver matching string, comprising:
- capturing, by a filter driver, a request for querying device information, when a plug-and-play manager sends the request for querying device information to a physical device object, and sending the captured request for querying device information to an enumeration driver;
- receiving, by the filter driver, device information that is returned, according to the request for querying device information, by the enumeration driver, and forming, according to the returned device information and compatibility information of the device, a device driver matching string that comprises a device vendor identification, a device subclass, and a device protocol type;
- and
- sending the formed device driver matching string to the plug-and-play manager.
An apparatus for modifying a USB device driver matching string, comprising:
- an information request capturing module, configured to capture a request for querying device information when a plug-and-play manager sends the request for querying device information to a physical device object;
- an information request sending module, configured to send the request for querying device information captured by the information request capturing module to an enumeration driver;
- an information receiving module, configured to receive device information that is returned, according to the request for querying device information, by the enumeration driver;
- a forming module, configured to form, according to the returned device information and compatibility information of the device, a device driver matching string that comprises a device vendor identification, a device subclass, and a device protocol type;
- and
- a string sending module, configured to send the device driver matching string formed by the forming module to the plug-and-play manager.
Dependencies are inferred from the claim text.